Home
last modified time | relevance | path

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

12

/linux/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/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/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()
283 key->vlan_priority) | in nfp_flower_fill_vlan()
288 mask->vlan_priority) | in nfp_flower_fill_vlan()
A Doffload.c284 vlan.key->vlan_priority) { in nfp_flower_calculate_key_layers()
/linux/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
A Dbe_cmds.c1250 req->vlan_priority = vlan_tag; in be_cmd_set_vlan()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_flower.c526 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 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()
550 if (match.mask->vlan_priority != 0 || in dpaa2_switch_flower_parse_mirror_key()
/linux/drivers/net/ethernet/intel/ice/
A Dice_tc_lib.c926 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 Digb_ethtool.c2726 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 Digb_main.c2645 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 Dflow_dissector.h57 vlan_priority:3; member
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_tc.c686 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 Dotx2_tc.c507 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 Dutil.c838 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 Docelot_flower.c653 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 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/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/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.c2228 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 Denetc_qos.c1158 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 Dflow_dissector.c1175 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 Dcls_flower.c1019 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 Dbnxt_tc.c414 match.key->vlan_priority)); in bnxt_tc_parse_flow()
417 match.mask->vlan_priority))); in bnxt_tc_parse_flow()
/linux/net/ethtool/
A Dioctl.c3285 match->key.vlan.vlan_priority = in ethtool_rx_flow_rule_create()
3287 match->mask.vlan.vlan_priority = in ethtool_rx_flow_rule_create()

Completed in 93 milliseconds

12