Home
last modified time | relevance | path

Searched refs:vlan_priority (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.3-rc2/drivers/net/ethernet/microchip/vcap/
A Dvcap_tc.c196 if (mt.mask->vlan_priority) { in vcap_tc_flower_handler_cvlan_usage()
198 mt.key->vlan_priority, in vcap_tc_flower_handler_cvlan_usage()
199 mt.mask->vlan_priority); in vcap_tc_flower_handler_cvlan_usage()
230 if (mt.mask->vlan_priority) { in vcap_tc_flower_handler_vlan_usage()
232 mt.key->vlan_priority, in vcap_tc_flower_handler_vlan_usage()
233 mt.mask->vlan_priority); in vcap_tc_flower_handler_vlan_usage()
/linux-6.3-rc2/drivers/net/dsa/sja1105/
A Dsja1105_flower.c264 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-6.3-rc2/drivers/net/ethernet/sfc/
A Dtc.c223 if (fm.mask->vlan_id || fm.mask->vlan_priority || fm.mask->vlan_tpid) { in efx_tc_flower_parse_match()
226 match->value.vlan_tci[0] = cpu_to_be16(fm.key->vlan_priority << 13 | in efx_tc_flower_parse_match()
228 match->mask.vlan_tci[0] = cpu_to_be16(fm.mask->vlan_priority << 13 | in efx_tc_flower_parse_match()
237 if (fm.mask->vlan_id || fm.mask->vlan_priority || fm.mask->vlan_tpid) { in efx_tc_flower_parse_match()
240 match->value.vlan_tci[1] = cpu_to_be16(fm.key->vlan_priority << 13 | in efx_tc_flower_parse_match()
242 match->mask.vlan_tci[1] = cpu_to_be16(fm.mask->vlan_priority << 13 | in efx_tc_flower_parse_match()
/linux-6.3-rc2/arch/mips/include/asm/octeon/
A Dcvmx-pip.h337 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-6.3-rc2/drivers/net/ethernet/netronome/nfp/flower/
A Dmatch.c36 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()
A Dconntrack.c502 if ((match.key->vlan_priority & match.mask->vlan_priority) ^ in nfp_ct_check_vlan_merge()
503 (a_in->vlan.prio & match.mask->vlan_priority)) in nfp_ct_check_vlan_merge()
/linux-6.3-rc2/drivers/scsi/be2iscsi/
A Dbe_iscsi.c543 (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 Dbe_cmds.h507 u32 vlan_priority; member
565 u32 vlan_priority; member
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_flower.c572 if (match.mask->vlan_priority != 0) in mlxsw_sp_flower_parse()
575 match.key->vlan_priority, in mlxsw_sp_flower_parse()
576 match.mask->vlan_priority); in mlxsw_sp_flower_parse()
/linux-6.3-rc2/include/net/
A Dflow_dissector.h57 vlan_priority:3; member
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-switch-flower.c62 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()
555 if (match.mask->vlan_priority != 0 || in dpaa2_switch_flower_parse_mirror_key()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_tc_lib.c1435 match.key->vlan_priority = 0; in ice_parse_cls_flower()
1438 match.mask->vlan_priority = 0; in ice_parse_cls_flower()
1455 if (match.mask->vlan_priority) { in ice_parse_cls_flower()
1458 be16_encode_bits(match.key->vlan_priority, in ice_parse_cls_flower()
1489 if (match.mask->vlan_priority) { in ice_parse_cls_flower()
1492 be16_encode_bits(match.key->vlan_priority, in ice_parse_cls_flower()
/linux-6.3-rc2/drivers/net/ethernet/intel/igb/
A Digb_ethtool.c2728 u8 vlan_priority; in igb_rxnfc_write_vlan_prio_filter() local
2733 vlan_priority = (ntohs(input->filter.vlan_tci) & VLAN_PRIO_MASK) in igb_rxnfc_write_vlan_prio_filter()
2735 queue_index = (vlapqf >> (vlan_priority * 4)) & E1000_VLAPQF_QUEUE_MASK; in igb_rxnfc_write_vlan_prio_filter()
2738 if ((vlapqf & E1000_VLAPQF_P_VALID(vlan_priority)) && in igb_rxnfc_write_vlan_prio_filter()
2744 vlapqf |= E1000_VLAPQF_P_VALID(vlan_priority); in igb_rxnfc_write_vlan_prio_filter()
2745 vlapqf |= E1000_VLAPQF_QUEUE_SEL(vlan_priority, input->action); in igb_rxnfc_write_vlan_prio_filter()
2814 u8 vlan_priority; in igb_clear_vlan_prio_filter() local
2817 vlan_priority = (vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in igb_clear_vlan_prio_filter()
2820 vlapqf &= ~E1000_VLAPQF_P_VALID(vlan_priority); in igb_clear_vlan_prio_filter()
2821 vlapqf &= ~E1000_VLAPQF_QUEUE_SEL(vlan_priority, in igb_clear_vlan_prio_filter()
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_tc.c691 if (match.mask->vlan_priority) { in tc_add_vlan_flow()
694 if (match.mask->vlan_priority != VLAN_PRIO_FULL_MASK) { in tc_add_vlan_flow()
699 prio = BIT(match.key->vlan_priority); in tc_add_vlan_flow()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_tc.c609 match.mask->vlan_priority) { in otx2_tc_prepare_flow()
612 match.key->vlan_priority << 13; in otx2_tc_prepare_flow()
616 match.mask->vlan_priority << 13; in otx2_tc_prepare_flow()
/linux-6.3-rc2/drivers/net/ethernet/mscc/
A Docelot_flower.c615 filter->vlan.pcp.value[0] = match.key->vlan_priority; in ocelot_flower_parse_key()
616 filter->vlan.pcp.mask[0] = match.mask->vlan_priority; in ocelot_flower_parse_key()
/linux-6.3-rc2/net/wireless/
A Dutil.c909 unsigned char vlan_priority; in cfg80211_classify8021d() local
923 vlan_priority = (skb_vlan_tag_get(skb) & VLAN_PRIO_MASK) in cfg80211_classify8021d()
925 if (vlan_priority > 0) { in cfg80211_classify8021d()
926 ret = vlan_priority; in cfg80211_classify8021d()
/linux-6.3-rc2/drivers/net/ethernet/marvell/mvpp2/
A Dmvpp2_cls.c1258 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-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_flower.c276 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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.c2783 match.key->vlan_priority = 0; in __parse_cls_flower()
2786 match.mask->vlan_priority = 0; in __parse_cls_flower()
2791 match.mask->vlan_priority || in __parse_cls_flower()
2811 match.mask->vlan_priority); in __parse_cls_flower()
2813 match.key->vlan_priority); in __parse_cls_flower()
2842 match.mask->vlan_priority || in __parse_cls_flower()
2868 match.mask->vlan_priority); in __parse_cls_flower()
2870 match.key->vlan_priority); in __parse_cls_flower()
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/
A Denetc_qos.c1141 if (match.mask->vlan_priority) { in enetc_psfp_parse_clsflower()
1142 if (match.mask->vlan_priority != in enetc_psfp_parse_clsflower()
/linux-6.3-rc2/net/core/
A Dflow_dissector.c1232 key_vlan->vlan_priority = skb_vlan_tag_get_prio(skb); in __skb_flow_dissect()
1236 key_vlan->vlan_priority = in __skb_flow_dissect()
/linux-6.3-rc2/net/sched/
A Dcls_flower.c1034 key_val->vlan_priority = in fl_set_key_vlan()
1037 key_mask->vlan_priority = VLAN_PRIORITY_MASK; in fl_set_key_vlan()
2808 if (vlan_mask->vlan_priority) { in fl_dump_key_vlan()
2810 vlan_key->vlan_priority); in fl_dump_key_vlan()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_tc.c414 match.key->vlan_priority)); in bnxt_tc_parse_flow()
417 match.mask->vlan_priority))); in bnxt_tc_parse_flow()
/linux-6.3-rc2/drivers/net/dsa/ocelot/
A Dfelix_vsc9959.c1736 if (match.mask->vlan_priority) in vsc9959_stream_identify()
1737 stream->prio = match.key->vlan_priority; in vsc9959_stream_identify()

Completed in 84 milliseconds

12