Home
last modified time | relevance | path

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

123

/linux-6.1.9/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-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/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.h47 u32 vmvir = vid | (qos << VLAN_PRIO_SHIFT) | IXGBE_VMVIR_VLANA_DEFAULT; in ixgbe_set_vmvir()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_vsi_vlan_lib.c257 port_vlan_info = vlan->vid | (vlan->prio << VLAN_PRIO_SHIFT); in ice_vsi_set_inner_port_vlan()
701 if (vlan->prio > (VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT)) in ice_vsi_set_outer_port_vlan()
704 port_vlan_info = vlan->vid | (vlan->prio << 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()
/linux-6.1.9/net/dsa/
Dtag_ocelot_8021q.c72 ((pcp << VLAN_PRIO_SHIFT) | tx_vid)); in ocelot_xmit()
Dtag_sja1105.c260 return vlan_insert_tag(skb, xmit_tpid, (pcp << VLAN_PRIO_SHIFT) | in sja1105_pvid_tag_control_pkt()
288 ((pcp << VLAN_PRIO_SHIFT) | tx_vid)); in sja1105_xmit()
312 ((pcp << VLAN_PRIO_SHIFT) | tx_vid)); in sja1110_xmit()
Dtag_8021q.c505 skb->priority = (tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in dsa_8021q_rcv()
/linux-6.1.9/include/linux/
Dif_vlan.h66 #define VLAN_PRIO_SHIFT 13 macro
83 #define skb_vlan_tag_get_prio(__skb) (((__skb)->vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT)
/linux-6.1.9/net/sched/
Dact_vlan.c51 (p->tcfv_push_prio << VLAN_PRIO_SHIFT)); in tcf_vlan_act()
74 tci |= p->tcfv_push_prio << VLAN_PRIO_SHIFT; in tcf_vlan_act()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_xdp_vlan.c39 #define VLAN_PRIO_SHIFT 13 macro
/linux-6.1.9/net/8021q/
Dvlan.h151 return vip->ingress_priority_map[(vlan_tci >> VLAN_PRIO_SHIFT) & 0x7]; in vlan_get_ingress_priority()
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/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-6.1.9/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-6.1.9/net/batman-adv/
Dmain.c382 prio = prio >> VLAN_PRIO_SHIFT; in batadv_skb_set_priority()
/linux-6.1.9/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()
2149 ah_info.vlan_tag |= cm_node->user_pri << VLAN_PRIO_SHIFT; in irdma_cm_create_ah()
3104 VLAN_PRIO_SHIFT; in irdma_receive_ilq()
3115 VLAN_PRIO_SHIFT; in irdma_receive_ilq()
3302 tcp_info->vlan_tag |= cm_node->user_pri << VLAN_PRIO_SHIFT; in irdma_init_tcp_ctx()
/linux-6.1.9/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1060 VLAN_PRIO_SHIFT; in vlan_tci_prio()
1066 VLAN_PRIO_SHIFT; in vlan_tci_priom()
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c257 tci |= dsa.vlan.vpt << VLAN_PRIO_SHIFT; in prestera_rxtx_process_skb()
/linux-6.1.9/drivers/net/ethernet/aquantia/atlantic/
Daq_filters.c327 & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in aq_set_data_fl2()
/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/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c469 vlan_tag >> VLAN_PRIO_SHIFT); in hinic_tx_offload()

123