Home
last modified time | relevance | path

Searched refs:VLAN_PRIO_SHIFT (Results 1 – 25 of 58) sorted by relevance

123

/Linux-v6.6/drivers/net/ethernet/sfc/
Dsriov.c28 (qos & ~(VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT))) in efx_sriov_set_vf_vlan()
/Linux-v6.6/drivers/net/ethernet/sfc/siena/
Dsriov.h33 (qos & ~(VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT))) in efx_sriov_set_vf_vlan()
Dsiena_sriov.c1624 tci = (vlan & VLAN_VID_MASK) | ((qos & 0x7) << VLAN_PRIO_SHIFT); in efx_siena_sriov_set_vf_vlan()
1673 ivi->qos = (tci >> VLAN_PRIO_SHIFT) & 0x7; in efx_siena_sriov_get_vf_config()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.h47 u32 vmvir = vid | (qos << VLAN_PRIO_SHIFT) | IXGBE_VMVIR_VLANA_DEFAULT; in ixgbe_set_vmvir()
/Linux-v6.6/net/dsa/
Dtag_ocelot_8021q.c76 ((pcp << VLAN_PRIO_SHIFT) | tx_vid)); in ocelot_xmit()
Dtag_sja1105.c262 return vlan_insert_tag(skb, xmit_tpid, (pcp << VLAN_PRIO_SHIFT) | in sja1105_pvid_tag_control_pkt()
290 ((pcp << VLAN_PRIO_SHIFT) | tx_vid)); in sja1105_xmit()
314 ((pcp << VLAN_PRIO_SHIFT) | tx_vid)); in sja1110_xmit()
Dtag_8021q.c522 skb->priority = (tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in dsa_8021q_rcv()
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_vsi_vlan_lib.c276 port_vlan_info = vlan->vid | (vlan->prio << VLAN_PRIO_SHIFT); in ice_vsi_set_inner_port_vlan()
745 if (vlan->prio > (VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT)) in ice_vsi_set_outer_port_vlan()
748 port_vlan_info = vlan->vid | (vlan->prio << VLAN_PRIO_SHIFT); in ice_vsi_set_outer_port_vlan()
Dice_dcb_lib.c937 first->vid |= (skb->priority << VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK; in ice_tx_prepare_vlan_flags_dcb()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_xdp_vlan.c39 #define VLAN_PRIO_SHIFT 13 macro
/Linux-v6.6/net/sched/
Dact_vlan.c53 (p->tcfv_push_prio << VLAN_PRIO_SHIFT)); in tcf_vlan_act()
76 tci |= p->tcfv_push_prio << VLAN_PRIO_SHIFT; in tcf_vlan_act()
/Linux-v6.6/include/linux/
Dif_vlan.h74 #define VLAN_PRIO_SHIFT 13 macro
91 #define skb_vlan_tag_get_prio(__skb) (((__skb)->vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT)
/Linux-v6.6/net/8021q/
Dvlan.h151 return vip->ingress_priority_map[(vlan_tci >> VLAN_PRIO_SHIFT) & 0x7]; in vlan_get_ingress_priority()
Dvlan_dev.c176 u32 vlan_qos = (vlan_prio << VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK; in vlan_dev_set_egress_priority()
/Linux-v6.6/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_internal.h63 (((vlan_tci) & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT)
Dopa_vnic_encap.c394 u8 pcp = skb_vlan_tag_get(skb) >> VLAN_PRIO_SHIFT; in opa_vnic_get_vl()
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c277 VLAN_PRIO_SHIFT); in cxgb4_process_flow_match()
279 VLAN_PRIO_SHIFT); in cxgb4_process_flow_match()
521 u16 vlan_tci = (prio << VLAN_PRIO_SHIFT) | vid; in cxgb4_process_flow_actions()
Dl2t.c67 return e->vlan >> VLAN_PRIO_SHIFT; in vlan_prio()
/Linux-v6.6/net/batman-adv/
Dmain.c382 prio = prio >> VLAN_PRIO_SHIFT; in batadv_skb_set_priority()
/Linux-v6.6/drivers/infiniband/hw/irdma/
Dcm.c482 vtag = (cm_node->user_pri << VLAN_PRIO_SHIFT) | in irdma_form_uda_cm_frame()
515 vtag = (cm_node->user_pri << VLAN_PRIO_SHIFT) | in irdma_form_uda_cm_frame()
1583 >> VLAN_PRIO_SHIFT; in irdma_iw_get_vlan_prio()
2197 ah_info.vlan_tag |= cm_node->user_pri << VLAN_PRIO_SHIFT; in irdma_cm_create_ah()
3157 VLAN_PRIO_SHIFT; in irdma_receive_ilq()
3168 VLAN_PRIO_SHIFT; in irdma_receive_ilq()
3356 tcp_info->vlan_tag |= cm_node->user_pri << VLAN_PRIO_SHIFT; in irdma_init_tcp_ctx()
/Linux-v6.6/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1062 VLAN_PRIO_SHIFT; in vlan_tci_prio()
1068 VLAN_PRIO_SHIFT; in vlan_tci_priom()
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c254 tci |= dsa.vlan.vpt << VLAN_PRIO_SHIFT; in prestera_rxtx_process_skb()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c327 & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in aq_set_data_fl2()
/Linux-v6.6/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c702 VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in qedr_gsi_poll_cq()
/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c469 vlan_tag >> VLAN_PRIO_SHIFT); in hinic_tx_offload()

123