| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | sriov.h | 33 (qos & ~(VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT))) in efx_sriov_set_vf_vlan()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | sriov.c | 28 (qos & ~(VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT))) in efx_sriov_set_vf_vlan()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_filters.c | 141 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/tools/testing/selftests/bpf/progs/ |
| H A D | test_xdp_vlan.c | 38 #define VLAN_PRIO_MASK 0xe000 /* Priority Code Point */ macro
|
| /linux/drivers/infiniband/ulp/opa_vnic/ |
| H A D | opa_vnic_internal.h | 63 (((vlan_tci) & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT)
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | xdp_hw_metadata.c | 210 #define VLAN_PRIO_MASK GENMASK(15, 13) /* Priority Code Point */ macro 216 __u8 pcp = FIELD_GET(VLAN_PRIO_MASK, tag); in print_vlan_tci()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dcb_lib.c | 940 first->vid &= ~VLAN_PRIO_MASK; in ice_tx_prepare_vlan_flags_dcb() 942 first->vid |= FIELD_PREP(VLAN_PRIO_MASK, skb->priority); in ice_tx_prepare_vlan_flags_dcb()
|
| H A D | ice_vsi_vlan_lib.c | 749 if (vlan->prio > (VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT)) in ice_vsi_set_outer_port_vlan()
|
| /linux/net/dsa/ |
| H A D | tag_8021q.c | 585 skb->priority = (tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in dsa_8021q_rcv()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_tc.c | 34 ((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/drivers/net/ethernet/intel/igb/ |
| H A D | igb_ethtool.c | 2454 fsp->m_ext.vlan_tci = htons(VLAN_PRIO_MASK); in igb_get_ethtool_nfc_entry() 2728 vlan_priority = FIELD_GET(VLAN_PRIO_MASK, in igb_rxnfc_write_vlan_prio_filter() 2812 vlan_priority = FIELD_GET(VLAN_PRIO_MASK, vlan_tci); in igb_clear_vlan_prio_filter() 2946 if (fsp->m_ext.vlan_tci != htons(VLAN_PRIO_MASK)) { in igb_add_ethtool_nfc_entry()
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | qedr_roce_cm.c | 702 VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in qedr_gsi_poll_cq()
|
| /linux/net/8021q/ |
| H A D | vlan_dev.c | 177 u32 vlan_qos = (vlan_prio << VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK; in vlan_dev_set_egress_priority()
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.h | 377 #define RX_DMA_TCI(x) ((x) & (VLAN_PRIO_MASK | VLAN_VID_MASK))
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_roce.c | 211 pri = (qp->vlan_id & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in qed_roce_get_qp_tc()
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | cm.c | 1583 prio = (vlan_dev_get_egress_qos_mask(ndev, prio) & VLAN_PRIO_MASK) in irdma_iw_get_vlan_prio() 3158 cm_info.user_pri = (vtag & VLAN_PRIO_MASK) >> in irdma_receive_ilq() 3169 cm_info.user_pri = (vtag & VLAN_PRIO_MASK) >> in irdma_receive_ilq()
|
| H A D | verbs.c | 1245 prio = (vlan_qos & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in irdma_roce_get_vlan_prio()
|
| /linux/net/core/ |
| H A D | flow_dissector.c | 1350 VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in __skb_flow_dissect()
|
| /linux/drivers/target/iscsi/cxgbit/ |
| H A D | cxgbit_cm.c | 1476 (vlan & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT); in cxgbit_send_tx_flowc_wr()
|
| /linux/drivers/net/ethernet/via/ |
| H A D | via-rhine.c | 1835 ((vid_pcp & VLAN_PRIO_MASK) >> 1); in rhine_start_tx()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_ethtool.c | 1379 fsp->m_ext.vlan_tci != htons(VLAN_PRIO_MASK) && in igc_ethtool_add_nfc_rule()
|
| /linux/drivers/scsi/cxgbi/cxgb4i/ |
| H A D | cxgb4i.c | 660 flowc->mnemval[9].val = cpu_to_be32((vlan & VLAN_PRIO_MASK) >> in send_tx_flowc_wr()
|
| /linux/drivers/infiniband/hw/cxgb4/ |
| H A D | cm.c | 637 pri = (vlan & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in send_flowc()
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-eth.c | 3751 *(__be16 *)mask = cpu_to_be16(VLAN_PRIO_MASK); in dpaa2_eth_set_vlan_qos()
|
| /linux/drivers/net/ethernet/emulex/benet/ |
| H A D | be_main.c | 796 vlan_tag = (vlan_tag & ~VLAN_PRIO_MASK) | in be_get_tx_vlan_tag()
|