Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dsriov.h33 (qos & ~(VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT))) in efx_sriov_set_vf_vlan()
/linux-6.1.9/drivers/net/ethernet/sfc/
Dsriov.c28 (qos & ~(VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT))) in efx_sriov_set_vf_vlan()
/linux-6.1.9/include/linux/
Dif_vlan.h65 #define VLAN_PRIO_MASK 0xe000 /* Priority Code Point */ macro
83 #define skb_vlan_tag_get_prio(__skb) (((__skb)->vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT)
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_xdp_vlan.c38 #define VLAN_PRIO_MASK 0xe000 /* Priority Code Point */ macro
/linux-6.1.9/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_internal.h63 (((vlan_tci) & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT)
/linux-6.1.9/net/dsa/
Dtag_8021q.c505 skb->priority = (tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in dsa_8021q_rcv()
/linux-6.1.9/net/sched/
Dact_vlan.c73 tci &= ~VLAN_PRIO_MASK; in tcf_vlan_act()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c34 ((ntohs(vlan_tci_mask) & VLAN_PRIO_MASK) == 0x0000)
36 ((ntohs(vlan_tci_mask) & VLAN_PRIO_MASK) == VLAN_PRIO_MASK)
38 ((ntohs(vlan_tci) & VLAN_PRIO_MASK) == 0x0000)
/linux-6.1.9/net/batman-adv/
Dmain.c381 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; in batadv_skb_set_priority()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_vsi_vlan_lib.c701 if (vlan->prio > (VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT)) in ice_vsi_set_outer_port_vlan()
Dice_tc_lib.c1326 VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK); in ice_parse_cls_flower()
1360 VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK); in ice_parse_cls_flower()
Dice_virtchnl.c2769 if (((outer->tci & VLAN_PRIO_MASK) && in ice_vc_validate_vlan_filter_list()
2771 ((inner->tci & VLAN_PRIO_MASK) && in ice_vc_validate_vlan_filter_list()
2795 vlan.prio = (vc_vlan->tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in ice_vc_to_vlan()
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c470 else if (vid & VLAN_PRIO_MASK) in fm10k_process_skb_fields()
472 vid & VLAN_PRIO_MASK); in fm10k_process_skb_fields()
/linux-6.1.9/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1059 return (be16_to_cpu(rule->h_ext.vlan_tci) & VLAN_PRIO_MASK) >> in vlan_tci_prio()
1065 return (be16_to_cpu(rule->m_ext.vlan_tci) & VLAN_PRIO_MASK) >> in vlan_tci_priom()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2462 fsp->m_ext.vlan_tci = htons(VLAN_PRIO_MASK); in igb_get_ethtool_nfc_entry()
2733 vlan_priority = (ntohs(input->filter.vlan_tci) & VLAN_PRIO_MASK) in igb_rxnfc_write_vlan_prio_filter()
2817 vlan_priority = (vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in igb_clear_vlan_prio_filter()
2951 if (fsp->m_ext.vlan_tci != htons(VLAN_PRIO_MASK)) { in igb_add_ethtool_nfc_entry()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c703 VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in qedr_gsi_poll_cq()
/linux-6.1.9/net/8021q/
Dvlan_dev.c175 u32 vlan_qos = (vlan_prio << VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK; in vlan_dev_set_egress_priority()
/linux-6.1.9/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.h300 #define RX_DMA_TCI(x) ((x) & (VLAN_PRIO_MASK | VLAN_VID_MASK))
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_roce.c211 pri = (qp->vlan_id & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in qed_roce_get_qp_tc()
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1151 (VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT)) { in enetc_psfp_parse_clsflower()
/linux-6.1.9/net/core/
Dflow_dissector.c1236 VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in __skb_flow_dissect()
/linux-6.1.9/net/wireless/
Dutil.c856 vlan_priority = (skb_vlan_tag_get(skb) & VLAN_PRIO_MASK) in cfg80211_classify8021d()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c1537 & VLAN_PRIO_MASK); in hns3_handle_vtags()
1591 VLAN_PRIO_MASK; in hns3_handle_vlan_info()
1596 VLAN_PRIO_MASK; in hns3_handle_vlan_info()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dcm.c3103 cm_info.user_pri = (vtag & VLAN_PRIO_MASK) >> in irdma_receive_ilq()
3114 cm_info.user_pri = (vtag & VLAN_PRIO_MASK) >> in irdma_receive_ilq()

12