/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_flower.c | 267 if (match.mask->vlan_priority && in sja1105_flower_parse_key() 268 match.mask->vlan_priority != 0x7) { in sja1105_flower_parse_key() 276 if (match.mask->vlan_priority) in sja1105_flower_parse_key() 277 pcp = match.key->vlan_priority; in sja1105_flower_parse_key()
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pip.h | 333 * @vlan_priority: 337 static inline void cvmx_pip_config_vlan_qos(uint64_t vlan_priority, in cvmx_pip_config_vlan_qos() argument 343 cvmx_write_csr(CVMX_PIP_QOS_VLANX(vlan_priority), pip_qos_vlanx.u64); in cvmx_pip_config_vlan_qos()
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | match.c | 36 match.key->vlan_priority) | in nfp_flower_compile_tci() 42 match.mask->vlan_priority) | in nfp_flower_compile_tci() 295 key->vlan_priority) | in nfp_flower_fill_vlan() 300 mask->vlan_priority) | in nfp_flower_fill_vlan()
|
H A D | conntrack.c | 514 if ((match.key->vlan_priority & match.mask->vlan_priority) ^ in nfp_ct_check_vlan_merge() 515 (a_in->vlan.prio & match.mask->vlan_priority)) in nfp_ct_check_vlan_merge()
|
H A D | offload.c | 284 vlan.key->vlan_priority) { in nfp_flower_calculate_key_layers()
|
/linux/drivers/scsi/be2iscsi/ |
H A D | be_iscsi.c | 547 (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) ? in __beiscsi_iface_get_param() 551 if (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) in __beiscsi_iface_get_param() 555 (if_info->vlan_priority & in __beiscsi_iface_get_param() 559 if (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) in __beiscsi_iface_get_param() 563 ((if_info->vlan_priority >> 13) & in __beiscsi_iface_get_param()
|
H A D | be_cmds.h | 507 u32 vlan_priority; member 565 u32 vlan_priority; member
|
H A D | be_cmds.c | 1248 req->vlan_priority = vlan_tag; in be_cmd_set_vlan()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_flower.c | 678 if (match.mask->vlan_priority != 0) in mlxsw_sp_flower_parse() 681 match.key->vlan_priority, in mlxsw_sp_flower_parse() 682 match.mask->vlan_priority); in mlxsw_sp_flower_parse()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch-flower.c | 65 acl_h->l2_pcp_dei = match.key->vlan_priority << 1 | in dpaa2_switch_flower_parse_key() 70 acl_m->l2_pcp_dei = match.mask->vlan_priority << 1 | in dpaa2_switch_flower_parse_key() 562 if (match.mask->vlan_priority != 0 || in dpaa2_switch_flower_parse_mirror_key()
|
/linux/include/net/ |
H A D | flow_dissector.h | 73 vlan_priority:3; member
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 1773 match.key->vlan_priority = 0; in ice_parse_cls_flower() 1776 match.mask->vlan_priority = 0; in ice_parse_cls_flower() 1793 if (match.mask->vlan_priority) { in ice_parse_cls_flower() 1796 be16_encode_bits(match.key->vlan_priority, in ice_parse_cls_flower() 1829 if (match.mask->vlan_priority) { in ice_parse_cls_flower() 1832 be16_encode_bits(match.key->vlan_priority, in ice_parse_cls_flower()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_tc.c | 683 if (match.mask->vlan_priority) { in tc_add_vlan_flow() 686 if (match.mask->vlan_priority != VLAN_PRIO_FULL_MASK) { in tc_add_vlan_flow() 691 prio = BIT(match.key->vlan_priority); in tc_add_vlan_flow()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | tc.c | 325 if (fm.mask->vlan_id || fm.mask->vlan_priority || fm.mask->vlan_tpid) { in efx_tc_flower_parse_match() 328 match->value.vlan_tci[0] = cpu_to_be16(fm.key->vlan_priority << 13 | in efx_tc_flower_parse_match() 330 match->mask.vlan_tci[0] = cpu_to_be16(fm.mask->vlan_priority << 13 | in efx_tc_flower_parse_match() 339 if (fm.mask->vlan_id || fm.mask->vlan_priority || fm.mask->vlan_tpid) { in efx_tc_flower_parse_match() 342 match->value.vlan_tci[1] = cpu_to_be16(fm.key->vlan_priority << 13 | in efx_tc_flower_parse_match() 344 match->mask.vlan_tci[1] = cpu_to_be16(fm.mask->vlan_priority << 13 | in efx_tc_flower_parse_match()
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_cls.c | 1264 if (match.mask->vlan_priority) { in mvpp2_cls_c2_build_match() 1270 rule->c2_tcam |= ((u64)match.key->vlan_priority) << in mvpp2_cls_c2_build_match() 1272 rule->c2_tcam_mask |= ((u64)match.mask->vlan_priority) << in mvpp2_cls_c2_build_match()
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 652 filter->vlan.pcp.value[0] = match.key->vlan_priority; in ocelot_flower_parse_key() 653 filter->vlan.pcp.mask[0] = match.mask->vlan_priority; in ocelot_flower_parse_key()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 607 match.mask->vlan_priority) { in otx2_tc_process_vlan() 610 match.key->vlan_priority << 13; in otx2_tc_process_vlan() 614 match.mask->vlan_priority << 13; in otx2_tc_process_vlan()
|
/linux/net/wireless/ |
H A D | util.c | 969 unsigned char vlan_priority; in cfg80211_classify8021d() local 983 vlan_priority = (skb_vlan_tag_get(skb) & VLAN_PRIO_MASK) in cfg80211_classify8021d() 985 if (vlan_priority > 0) { in cfg80211_classify8021d() 986 ret = vlan_priority; in cfg80211_classify8021d()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 2798 match.key->vlan_priority = 0; in __parse_cls_flower() 2801 match.mask->vlan_priority = 0; in __parse_cls_flower() 2806 match.mask->vlan_priority || in __parse_cls_flower() 2826 match.mask->vlan_priority); in __parse_cls_flower() 2828 match.key->vlan_priority); in __parse_cls_flower() 2857 match.mask->vlan_priority || in __parse_cls_flower() 2883 match.mask->vlan_priority); in __parse_cls_flower() 2885 match.key->vlan_priority); in __parse_cls_flower()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_qos.c | 1206 if (match.mask->vlan_priority) { in enetc_psfp_parse_clsflower() 1207 if (match.mask->vlan_priority != in enetc_psfp_parse_clsflower()
|
/linux/net/core/ |
H A D | flow_dissector.c | 1344 key_vlan->vlan_priority = skb_vlan_tag_get_prio(skb); in __skb_flow_dissect() 1348 key_vlan->vlan_priority = in __skb_flow_dissect()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 418 match.key->vlan_priority)); in bnxt_tc_parse_flow() 421 match.mask->vlan_priority))); in bnxt_tc_parse_flow()
|
/linux/drivers/net/dsa/ocelot/ |
H A D | felix_vsc9959.c | 1787 if (match.mask->vlan_priority) in vsc9959_stream_identify() 1788 stream->prio = match.key->vlan_priority; in vsc9959_stream_identify()
|
/linux/net/ethtool/ |
H A D | ioctl.c | 3745 match->key.vlan.vlan_priority = in ethtool_rx_flow_rule_create() 3747 match->mask.vlan.vlan_priority = in ethtool_rx_flow_rule_create()
|
/linux/drivers/scsi/ |
H A D | scsi_transport_iscsi.c | 402 iscsi_iface_net_attr(iface, vlan_priority, ISCSI_NET_PARAM_VLAN_PRIORITY);
|