Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dsriov.c28 (qos & ~(VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT))) in efx_sriov_set_vf_vlan()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c141 if (be16_to_cpu(fsp->m_ext.vlan_tci) == VLAN_PRIO_MASK && in aq_check_approve_fl2()
194 } else if (be16_to_cpu(fsp->m_ext.vlan_tci) == VLAN_PRIO_MASK) { in aq_check_filter()
325 == VLAN_PRIO_MASK; in aq_set_data_fl2()
327 & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in aq_set_data_fl2()
599 == VLAN_PRIO_MASK) { in aq_add_del_rule()
/kernel/linux/linux-5.10/include/linux/
Dif_vlan.h63 #define VLAN_PRIO_MASK 0xe000 /* Priority Code Point */ macro
81 #define skb_vlan_tag_get_prio(__skb) (((__skb)->vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT)
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_xdp_vlan.c38 #define VLAN_PRIO_MASK 0xe000 /* Priority Code Point */ macro
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_internal.h63 (((vlan_tci) & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT)
/kernel/linux/linux-5.10/net/dsa/
Dtag_sja1105.c316 skb->priority = (tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in sja1105_rcv()
/kernel/linux/linux-5.10/net/sched/
Dact_vlan.c74 tci &= ~VLAN_PRIO_MASK; in tcf_vlan_act()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c33 ((ntohs(vlan_tci_mask) & VLAN_PRIO_MASK) == 0x0000)
35 ((ntohs(vlan_tci_mask) & VLAN_PRIO_MASK) == VLAN_PRIO_MASK)
37 ((ntohs(vlan_tci) & VLAN_PRIO_MASK) == 0x0000)
/kernel/linux/linux-5.10/net/batman-adv/
Dmain.c425 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; in batadv_skb_set_priority()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1051 return (be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_PRIO_MASK) >> in vlan_tci_prio()
1057 return (be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_PRIO_MASK) >> in vlan_tci_priom()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c475 else if (vid & VLAN_PRIO_MASK) in fm10k_process_skb_fields()
477 vid & VLAN_PRIO_MASK); in fm10k_process_skb_fields()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2471 fsp->m_ext.vlan_tci = htons(VLAN_PRIO_MASK); in igb_get_ethtool_nfc_entry()
2742 vlan_priority = (ntohs(input->filter.vlan_tci) & VLAN_PRIO_MASK) in igb_rxnfc_write_vlan_prio_filter()
2826 vlan_priority = (vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in igb_clear_vlan_prio_filter()
2960 if (fsp->m_ext.vlan_tci != htons(VLAN_PRIO_MASK)) { in igb_add_ethtool_nfc_entry()
/kernel/linux/linux-5.10/net/8021q/
Dvlan_dev.c175 u32 vlan_qos = (vlan_prio << VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK; in vlan_dev_set_egress_priority()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c704 VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in qedr_gsi_poll_cq()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
Digc_ethtool.c962 fsp->m_ext.vlan_tci = htons(VLAN_PRIO_MASK); in igc_ethtool_get_nfc_rule()
1279 fsp->m_ext.vlan_tci != htons(VLAN_PRIO_MASK)) { in igc_ethtool_add_nfc_rule()
Digc_main.c2557 int prio = (rule->filter.vlan_tci & VLAN_PRIO_MASK) >> in igc_enable_nfc_rule()
2575 int prio = (rule->filter.vlan_tci & VLAN_PRIO_MASK) >> in igc_disable_nfc_rule()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_roce.c211 pri = (qp->vlan_id & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in qed_roce_get_qp_tc()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c1007 & VLAN_PRIO_MASK); in hns3_handle_vtags()
1033 VLAN_PRIO_MASK; in hns3_fill_skb_desc()
1038 VLAN_PRIO_MASK; in hns3_fill_skb_desc()
/kernel/linux/linux-5.10/net/core/
Dflow_dissector.c1171 VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in __skb_flow_dissect()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1166 (VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT)) { in enetc_psfp_parse_clsflower()
/kernel/linux/linux-5.10/net/wireless/
Dutil.c850 vlan_priority = (skb_vlan_tag_get(skb) & VLAN_PRIO_MASK) in cfg80211_classify8021d()
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1475 (vlan & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT); in cxgbit_send_tx_flowc_wr()
/kernel/linux/linux-5.10/drivers/net/ethernet/via/
Dvia-rhine.c1832 ((vid_pcp & VLAN_PRIO_MASK) >> 1); in rhine_start_tx()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c659 flowc->mnemval[9].val = cpu_to_be32((vlan & VLAN_PRIO_MASK) >> in send_tx_flowc_wr()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c3842 ivi->qos = (vf->port_vlan_info & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in ice_get_vf_cfg()

12