Searched refs:VLAN_PRIO_SHIFT (Results 1 – 25 of 58) sorted by relevance
123
28 (qos & ~(VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT))) in efx_sriov_set_vf_vlan()
33 (qos & ~(VLAN_PRIO_MASK >> VLAN_PRIO_SHIFT))) in efx_sriov_set_vf_vlan()
1624 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()
47 u32 vmvir = vid | (qos << VLAN_PRIO_SHIFT) | IXGBE_VMVIR_VLANA_DEFAULT; in ixgbe_set_vmvir()
76 ((pcp << VLAN_PRIO_SHIFT) | tx_vid)); in ocelot_xmit()
262 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()
522 skb->priority = (tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in dsa_8021q_rcv()
276 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()
937 first->vid |= (skb->priority << VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK; in ice_tx_prepare_vlan_flags_dcb()
39 #define VLAN_PRIO_SHIFT 13 macro
53 (p->tcfv_push_prio << VLAN_PRIO_SHIFT)); in tcf_vlan_act()76 tci |= p->tcfv_push_prio << VLAN_PRIO_SHIFT; in tcf_vlan_act()
74 #define VLAN_PRIO_SHIFT 13 macro91 #define skb_vlan_tag_get_prio(__skb) (((__skb)->vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT)
151 return vip->ingress_priority_map[(vlan_tci >> VLAN_PRIO_SHIFT) & 0x7]; in vlan_get_ingress_priority()
176 u32 vlan_qos = (vlan_prio << VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK; in vlan_dev_set_egress_priority()
63 (((vlan_tci) & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT)
394 u8 pcp = skb_vlan_tag_get(skb) >> VLAN_PRIO_SHIFT; in opa_vnic_get_vl()
277 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()
67 return e->vlan >> VLAN_PRIO_SHIFT; in vlan_prio()
382 prio = prio >> VLAN_PRIO_SHIFT; in batadv_skb_set_priority()
482 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()
1062 VLAN_PRIO_SHIFT; in vlan_tci_prio()1068 VLAN_PRIO_SHIFT; in vlan_tci_priom()
254 tci |= dsa.vlan.vpt << VLAN_PRIO_SHIFT; in prestera_rxtx_process_skb()
327 & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in aq_set_data_fl2()
702 VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in qedr_gsi_poll_cq()
469 vlan_tag >> VLAN_PRIO_SHIFT); in hinic_tx_offload()