/drivers/net/hyperv/ |
D | netvsc_drv.c | 161 packet->vlan_tci = skb->vlan_tci; in netvsc_start_xmit() 288 if (packet->vlan_tci & VLAN_TAG_PRESENT) in netvsc_recv_callback() 290 packet->vlan_tci); in netvsc_recv_callback()
|
D | rndis_filter.c | 389 pkt->vlan_tci = VLAN_TAG_PRESENT | vlan->vlanid | in rndis_filter_receive_data() 392 pkt->vlan_tci = 0; in rndis_filter_receive_data() 907 bool isvlan = pkt->vlan_tci & VLAN_TAG_PRESENT; in rndis_filter_send() 942 vlan->vlanid = pkt->vlan_tci & VLAN_VID_MASK; in rndis_filter_send() 943 vlan->pri = (pkt->vlan_tci & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in rndis_filter_send()
|
D | hyperv_net.h | 55 u16 vlan_tci; member
|
/drivers/net/ethernet/cisco/enic/ |
D | cq_enet_desc.h | 108 u8 *vlan_stripped, u16 *vlan_tci, u16 *checksum, u8 *fcoe_sof, in cq_enet_rq_desc_dec() argument 151 *vlan_tci = le16_to_cpu(desc->vlan); in cq_enet_rq_desc_dec()
|
D | enic_main.c | 1254 u16 q_number, completed_index, bytes_written, vlan_tci, checksum; in enic_rq_indicate_buf() local 1269 &packet_error, &vlan_stripped, &vlan_tci, &checksum, in enic_rq_indicate_buf() 1303 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci); in enic_rq_indicate_buf()
|
/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1084 if ((rule->flow_type & FLOW_EXT) && (rule->m_ext.vlan_tci != 0xFFFF)) { in gfar_convert_to_filer() 1085 if (!rule->m_ext.vlan_tci) in gfar_convert_to_filer() 1086 rule->m_ext.vlan_tci = 0xFFFF; in gfar_convert_to_filer() 1092 id = rule->h_ext.vlan_tci & VLAN_VID_MASK; in gfar_convert_to_filer() 1093 id_mask = rule->m_ext.vlan_tci & VLAN_VID_MASK; in gfar_convert_to_filer() 1094 cfi = rule->h_ext.vlan_tci & VLAN_CFI_MASK; in gfar_convert_to_filer() 1095 cfi_mask = rule->m_ext.vlan_tci & VLAN_CFI_MASK; in gfar_convert_to_filer() 1096 prio = (rule->h_ext.vlan_tci & VLAN_PRIO_MASK) >> in gfar_convert_to_filer() 1098 prio_mask = (rule->m_ext.vlan_tci & VLAN_PRIO_MASK) >> in gfar_convert_to_filer() 1598 flow->m_ext.vlan_tci ^= 0xFFFF; in gfar_invert_masks()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 669 !((cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow() 671 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK)) == in mlx4_en_validate_flow() 675 if (cmd->fs.m_ext.vlan_tci) { in mlx4_en_validate_flow() 676 if (be16_to_cpu(cmd->fs.h_ext.vlan_tci) >= VLAN_N_VID) in mlx4_en_validate_flow() 698 (cmd->fs.m_ext.vlan_tci & cpu_to_be16(VLAN_VID_MASK))) { in mlx4_en_ethtool_add_mac_rule() 699 spec_l2->eth.vlan_id = cmd->fs.h_ext.vlan_tci; in mlx4_en_ethtool_add_mac_rule()
|
/drivers/net/ethernet/sfc/ |
D | ethtool.c | 859 rule->h_ext.vlan_tci = htons(vid); in efx_ethtool_get_class_rule() 860 rule->m_ext.vlan_tci = htons(0xfff); in efx_ethtool_get_class_rule() 1003 if (ip_mask->tos || rule->m_ext.vlan_tci) in efx_ethtool_set_class_rule() 1024 ntohs(rule->m_ext.vlan_tci) : 0); in efx_ethtool_set_class_rule() 1047 ntohs(rule->h_ext.vlan_tci) : EFX_FILTER_VID_UNSPEC, in efx_ethtool_set_class_rule()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 330 u16 flags = 0, vlan_tci = 0; in qlcnic_tx_pkt() local 341 vlan_tci = ntohs(vh->h_vlan_TCI); in qlcnic_tx_pkt() 345 vlan_tci = vlan_tx_tag_get(skb); in qlcnic_tx_pkt() 348 if (vlan_tci && !(adapter->flags & QLCNIC_TAGGING_ENABLED)) in qlcnic_tx_pkt() 350 if (vlan_tci && (adapter->flags & QLCNIC_TAGGING_ENABLED)) in qlcnic_tx_pkt() 354 vlan_tci = adapter->tx_pvid; in qlcnic_tx_pkt() 357 qlcnic_set_tx_vlan_tci(first_desc, vlan_tci); in qlcnic_tx_pkt() 394 vh->h_vlan_TCI = htons(vlan_tci); in qlcnic_tx_pkt()
|
/drivers/net/ethernet/xscale/ |
D | ixp4xx_eth.c | 210 u16 vlan_tci; member 218 u16 vlan_tci; member 603 desc->qos, desc->padlen, desc->vlan_tci, in debug_desc()
|
/drivers/net/ethernet/via/ |
D | via-rhine.c | 1899 u16 vlan_tci = 0; in rhine_rx() local 1934 vlan_tci = rhine_get_vlan_tci(skb, data_size); in rhine_rx() 1939 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci); in rhine_rx()
|
/drivers/net/ethernet/qlogic/qlge/ |
D | qlge.h | 1095 __le16 vlan_tci; member 1140 __le16 vlan_tci; member
|
D | qlge_dbg.c | 1908 pr_err("vlan_tci = %x\n", ob_mac_tso_iocb->vlan_tci); in ql_dump_ob_mac_iocb()
|
D | qlge_main.c | 2608 mac_iocb_ptr->vlan_tci = cpu_to_le16(vlan_tx_tag_get(skb)); in qlge_send()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2247 fsp->h_ext.vlan_tci = rule->filter.formatted.vlan_id; in ixgbe_get_ethtool_fdir_entry() 2248 fsp->m_ext.vlan_tci = mask->formatted.vlan_id; in ixgbe_get_ethtool_fdir_entry() 2518 input->filter.formatted.vlan_id = fsp->h_ext.vlan_tci; in ixgbe_add_ethtool_fdir_entry() 2519 mask.formatted.vlan_id = fsp->m_ext.vlan_tci; in ixgbe_add_ethtool_fdir_entry()
|
/drivers/net/ethernet/marvell/ |
D | sky2.c | 2500 skb->vlan_tci = re->skb->vlan_tci; in receive_copy() 2505 re->skb->vlan_tci = 0; in receive_copy()
|
/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 3067 skb->vlan_tci = ntohs(cpl->vlan); in rx_pkt()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 792 skb->vlan_tci = 0; in be_insert_vlan_in_pkt()
|