/linux/drivers/net/dsa/sja1105/ |
A D | sja1105_flower.c | 264 if (match.mask->vlan_priority && in sja1105_flower_parse_key() 265 match.mask->vlan_priority != 0x7) { in sja1105_flower_parse_key() 273 if (match.mask->vlan_priority) in sja1105_flower_parse_key() 274 pcp = match.key->vlan_priority; in sja1105_flower_parse_key()
|
/linux/arch/mips/include/asm/octeon/ |
A D | cvmx-pip.h | 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/ |
A D | match.c | 36 match.key->vlan_priority) | in nfp_flower_compile_tci() 42 match.mask->vlan_priority) | in nfp_flower_compile_tci() 283 key->vlan_priority) | in nfp_flower_fill_vlan() 288 mask->vlan_priority) | in nfp_flower_fill_vlan()
|
A D | offload.c | 284 vlan.key->vlan_priority) { in nfp_flower_calculate_key_layers()
|
/linux/drivers/scsi/be2iscsi/ |
A D | be_iscsi.c | 543 (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) ? in __beiscsi_iface_get_param() 547 if (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) in __beiscsi_iface_get_param() 551 (if_info->vlan_priority & in __beiscsi_iface_get_param() 555 if (if_info->vlan_priority == BEISCSI_VLAN_DISABLE) in __beiscsi_iface_get_param() 559 ((if_info->vlan_priority >> 13) & in __beiscsi_iface_get_param()
|
A D | be_cmds.h | 507 u32 vlan_priority; member 565 u32 vlan_priority; member
|
A D | be_cmds.c | 1250 req->vlan_priority = vlan_tag; in be_cmd_set_vlan()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_flower.c | 526 if (match.mask->vlan_priority != 0) in mlxsw_sp_flower_parse() 529 match.key->vlan_priority, in mlxsw_sp_flower_parse() 530 match.mask->vlan_priority); in mlxsw_sp_flower_parse()
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-switch-flower.c | 62 acl_h->l2_pcp_dei = match.key->vlan_priority << 1 | in dpaa2_switch_flower_parse_key() 67 acl_m->l2_pcp_dei = match.mask->vlan_priority << 1 | in dpaa2_switch_flower_parse_key() 550 if (match.mask->vlan_priority != 0 || in dpaa2_switch_flower_parse_mirror_key()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_tc_lib.c | 926 match.key->vlan_priority = 0; in ice_parse_cls_flower() 929 match.mask->vlan_priority = 0; in ice_parse_cls_flower() 945 if (match.mask->vlan_priority) in ice_parse_cls_flower() 946 headers->vlan_hdr.vlan_prio = match.key->vlan_priority; in ice_parse_cls_flower()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_ethtool.c | 2726 u8 vlan_priority; in igb_rxnfc_write_vlan_prio_filter() local 2731 vlan_priority = (ntohs(input->filter.vlan_tci) & VLAN_PRIO_MASK) in igb_rxnfc_write_vlan_prio_filter() 2733 queue_index = (vlapqf >> (vlan_priority * 4)) & E1000_VLAPQF_QUEUE_MASK; in igb_rxnfc_write_vlan_prio_filter() 2736 if ((vlapqf & E1000_VLAPQF_P_VALID(vlan_priority)) && in igb_rxnfc_write_vlan_prio_filter() 2742 vlapqf |= E1000_VLAPQF_P_VALID(vlan_priority); in igb_rxnfc_write_vlan_prio_filter() 2743 vlapqf |= E1000_VLAPQF_QUEUE_SEL(vlan_priority, input->action); in igb_rxnfc_write_vlan_prio_filter() 2812 u8 vlan_priority; in igb_clear_vlan_prio_filter() local 2815 vlan_priority = (vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in igb_clear_vlan_prio_filter() 2818 vlapqf &= ~E1000_VLAPQF_P_VALID(vlan_priority); in igb_clear_vlan_prio_filter() 2819 vlapqf &= ~E1000_VLAPQF_QUEUE_SEL(vlan_priority, in igb_clear_vlan_prio_filter()
|
A D | igb_main.c | 2645 if (match.mask->vlan_priority) { in igb_parse_cls_flower() 2646 if (match.mask->vlan_priority != VLAN_PRIO_FULL_MASK) { in igb_parse_cls_flower() 2653 (__force __be16)match.key->vlan_priority; in igb_parse_cls_flower()
|
/linux/include/net/ |
A D | flow_dissector.h | 57 vlan_priority:3; member
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_tc.c | 686 if (match.mask->vlan_priority) { in tc_add_vlan_flow() 689 if (match.mask->vlan_priority != VLAN_PRIO_FULL_MASK) { in tc_add_vlan_flow() 694 prio = BIT(match.key->vlan_priority); in tc_add_vlan_flow()
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
A D | otx2_tc.c | 507 match.mask->vlan_priority) { in otx2_tc_prepare_flow() 510 match.key->vlan_priority << 13; in otx2_tc_prepare_flow() 514 match.mask->vlan_priority << 13; in otx2_tc_prepare_flow()
|
/linux/net/wireless/ |
A D | util.c | 838 unsigned char vlan_priority; in cfg80211_classify8021d() local 852 vlan_priority = (skb_vlan_tag_get(skb) & VLAN_PRIO_MASK) in cfg80211_classify8021d() 854 if (vlan_priority > 0) { in cfg80211_classify8021d() 855 ret = vlan_priority; in cfg80211_classify8021d()
|
/linux/drivers/net/ethernet/mscc/ |
A D | ocelot_flower.c | 653 filter->vlan.pcp.value[0] = match.key->vlan_priority; in ocelot_flower_parse_key() 654 filter->vlan.pcp.mask[0] = match.mask->vlan_priority; in ocelot_flower_parse_key()
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
A D | mvpp2_cls.c | 1258 if (match.mask->vlan_priority) { in mvpp2_cls_c2_build_match() 1264 rule->c2_tcam |= ((u64)match.key->vlan_priority) << in mvpp2_cls_c2_build_match() 1266 rule->c2_tcam_mask |= ((u64)match.mask->vlan_priority) << in mvpp2_cls_c2_build_match()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_tc_flower.c | 276 vlan_tci = match.key->vlan_id | (match.key->vlan_priority << in cxgb4_process_flow_match() 278 vlan_tci_mask = match.mask->vlan_id | (match.mask->vlan_priority << in cxgb4_process_flow_match()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | en_tc.c | 2228 match.key->vlan_priority = 0; in __parse_cls_flower() 2231 match.mask->vlan_priority = 0; in __parse_cls_flower() 2236 match.mask->vlan_priority || in __parse_cls_flower() 2256 match.mask->vlan_priority); in __parse_cls_flower() 2258 match.key->vlan_priority); in __parse_cls_flower() 2276 match.mask->vlan_priority || in __parse_cls_flower() 2302 match.mask->vlan_priority); in __parse_cls_flower() 2304 match.key->vlan_priority); in __parse_cls_flower()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_qos.c | 1158 if (match.mask->vlan_priority) { in enetc_psfp_parse_clsflower() 1159 if (match.mask->vlan_priority != in enetc_psfp_parse_clsflower()
|
/linux/net/core/ |
A D | flow_dissector.c | 1175 key_vlan->vlan_priority = skb_vlan_tag_get_prio(skb); in __skb_flow_dissect() 1179 key_vlan->vlan_priority = in __skb_flow_dissect()
|
/linux/net/sched/ |
A D | cls_flower.c | 1019 key_val->vlan_priority = in fl_set_key_vlan() 1022 key_mask->vlan_priority = VLAN_PRIORITY_MASK; in fl_set_key_vlan() 2624 if (vlan_mask->vlan_priority) { in fl_dump_key_vlan() 2626 vlan_key->vlan_priority); in fl_dump_key_vlan()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_tc.c | 414 match.key->vlan_priority)); in bnxt_tc_parse_flow() 417 match.mask->vlan_priority))); in bnxt_tc_parse_flow()
|
/linux/net/ethtool/ |
A D | ioctl.c | 3285 match->key.vlan.vlan_priority = in ethtool_rx_flow_rule_create() 3287 match->mask.vlan.vlan_priority = in ethtool_rx_flow_rule_create()
|