Home
last modified time | relevance | path

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

/linux-3.4.99/net/8021q/
Dvlan.h155 return vip->ingress_priority_map[(vlan_tci >> VLAN_PRIO_SHIFT) & 0x7]; in vlan_get_ingress_priority()
Dvlan_dev.c215 u32 vlan_qos = (vlan_prio << VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK; in vlan_dev_set_egress_priority()
/linux-3.4.99/include/linux/
Dif_vlan.h68 #define VLAN_PRIO_SHIFT 13 macro
/linux-3.4.99/drivers/net/hyperv/
Drndis_filter.c378 (vlan->pri << VLAN_PRIO_SHIFT); in rndis_filter_receive_data()
834 vlan->pri = (pkt->vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in rndis_filter_send()
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c361 VLAN_PRIO_SHIFT)), vf); in ixgbe_vf_reset_event()
759 ixgbe_set_vmvir(adapter, vlan | (qos << VLAN_PRIO_SHIFT), vf); in ixgbe_ndo_set_vf_vlan()
/linux-3.4.99/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1078 prio = (rule->h_ext.vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in gfar_convert_to_filer()
1079 prio_mask = (rule->m_ext.vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in gfar_convert_to_filer()
/linux-3.4.99/drivers/net/ethernet/sfc/
Dsiena_sriov.c1595 tci = (vlan & VLAN_VID_MASK) | ((qos & 0x7) << VLAN_PRIO_SHIFT); in efx_sriov_set_vf_vlan()
1643 ivi->qos = (tci >> VLAN_PRIO_SHIFT) & 0x7; in efx_sriov_get_vf_config()
/linux-3.4.99/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c146 evt->reco_default_priority << VLAN_PRIO_SHIFT; in be_async_grp5_cos_priority_process()
Dbe_main.c565 vlan_prio = (vlan_tag & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in be_get_tx_vlan_tag()
/linux-3.4.99/drivers/net/ethernet/intel/igb/
Digb_main.c5345 igb_set_vmvir(adapter, vlan | (qos << VLAN_PRIO_SHIFT), vf); in igb_ndo_set_vf_vlan()