Home
last modified time | relevance | path

Searched refs:ETH_P_8021Q (Results 1 – 117 of 117) sorted by relevance

/linux-4.1.27/include/linux/
Dif_vlan.h277 if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX) in vlan_hw_offload_capable()
427 if (veth->h_vlan_proto != htons(ETH_P_8021Q) && in __vlan_get_tag()
490 if (type == htons(ETH_P_8021Q) || type == htons(ETH_P_8021AD)) { in __vlan_get_protocol()
508 } while (type == htons(ETH_P_8021Q) || in __vlan_get_protocol()
574 likely(skb->protocol != htons(ETH_P_8021Q) && in skb_vlan_tagged()
595 if (likely(protocol != htons(ETH_P_8021Q) && in skb_vlan_tagged_multi()
603 if (protocol != htons(ETH_P_8021Q) && protocol != htons(ETH_P_8021AD)) in skb_vlan_tagged_multi()
/linux-4.1.27/net/dsa/
Dtag_dsa.c31 if (skb->protocol == htons(ETH_P_8021Q)) { in dsa_xmit()
135 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in dsa_rcv()
136 new_header[1] = ETH_P_8021Q & 0xff; in dsa_rcv()
Dtag_edsa.c33 if (skb->protocol == htons(ETH_P_8021Q)) { in edsa_xmit()
148 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in edsa_rcv()
149 new_header[1] = ETH_P_8021Q & 0xff; in edsa_rcv()
/linux-4.1.27/net/8021q/
Dvlan_gvrp.c35 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_join()
46 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_leave()
Dvlan_mvrp.c41 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_join()
52 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_leave()
Dvlan.c223 err = vlan_check_real_dev(real_dev, htons(ETH_P_8021Q), vlan_id); in register_vlan_device()
267 vlan->vlan_proto = htons(ETH_P_8021Q); in register_vlan_device()
371 vlan_vid_add(dev, htons(ETH_P_8021Q), 0); in vlan_device_event()
421 vlan_vid_del(dev, htons(ETH_P_8021Q), 0); in vlan_device_event()
Dvlan_netlink.c59 case htons(ETH_P_8021Q): in vlan_validate()
136 proto = htons(ETH_P_8021Q); in vlan_newlink()
Dvlan.h41 case htons(ETH_P_8021Q): in vlan_proto_idx()
Dvlan_core.c162 if (vid_info->proto == htons(ETH_P_8021Q) && in vlan_hw_filter_capable()
/linux-4.1.27/net/sched/
Dact_vlan.c103 case htons(ETH_P_8021Q): in tcf_vlan_init()
110 push_proto = htons(ETH_P_8021Q); in tcf_vlan_init()
/linux-4.1.27/samples/bpf/
Dsockex2_kern.c112 if (proto == ETH_P_8021Q) { in flow_dissector()
149 if (proto == ETH_P_8021Q) { in flow_dissector()
/linux-4.1.27/include/uapi/linux/
Dif_ether.h64 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
/linux-4.1.27/net/bridge/
Dbr_vlan.c396 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) { in recalculate_group_addr()
409 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) in br_recalculate_fwd_mask()
442 if (val != ETH_P_8021Q && val != ETH_P_8021AD) in br_vlan_set_proto()
633 br->vlan_proto = htons(ETH_P_8021Q); in br_vlan_init()
Dbr_netfilter.c76 else if (skb->protocol == htons(ETH_P_8021Q)) in vlan_proto()
173 case __cpu_to_be16(ETH_P_8021Q): in nf_bridge_encap_header_len()
263 skb->protocol = htons(ETH_P_8021Q); in nf_bridge_update_protocol()
502 if (skb->protocol == htons(ETH_P_8021Q)) in setup_pre_routing()
/linux-4.1.27/net/bridge/netfilter/
Debt_vlan.c94 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
Debtables.c137 ethproto = htons(ETH_P_8021Q); in ebt_basic_match()
/linux-4.1.27/net/batman-adv/
Dsoft-interface.c185 case ETH_P_8021Q: in batadv_interface_tx()
384 case ETH_P_8021Q: in batadv_interface_rx()
584 if (proto != htons(ETH_P_8021Q)) in batadv_interface_add_vid()
641 if (proto != htons(ETH_P_8021Q)) in batadv_interface_kill_vid()
Dgateway_client.c694 if (proto == htons(ETH_P_8021Q)) { in batadv_gw_dhcp_recipient_get()
738 if (ntohs(ethhdr->h_proto) == ETH_P_8021Q) in batadv_gw_dhcp_recipient_get()
Dmain.c320 case htons(ETH_P_8021Q): in batadv_skb_set_priority()
1188 if (ethhdr->h_proto != htons(ETH_P_8021Q)) in batadv_get_vid()
Ddistributed-arp-table.c958 skb_new = vlan_insert_tag(skb_new, htons(ETH_P_8021Q), in batadv_dat_snoop_outgoing_arp_request()
1038 skb_new = vlan_insert_tag(skb_new, htons(ETH_P_8021Q), in batadv_dat_snoop_incoming_arp_request()
Dbridge_loop_avoidance.c341 skb = vlan_insert_tag(skb, htons(ETH_P_8021Q), in batadv_bla_send_claim()
895 } while (proto == htons(ETH_P_8021Q)); in batadv_bla_process_claim()
/linux-4.1.27/drivers/staging/gdm724x/
Dgdm_lte.c122 if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) { in gdm_lte_emulate_arp()
247 if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) { in gdm_lte_emulate_ndp()
363 if (ntohs(eth->h_proto) == ETH_P_8021Q) { in gdm_lte_tx_nic_type()
647 vlan_eth.h_vlan_proto = htons(ETH_P_8021Q); in gdm_lte_netif_rx()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Ddwmac100_core.c43 writel(ETH_P_8021Q, ioaddr + MAC_VLAN1); in dwmac100_core_init()
Dstmmac_main.c2101 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlanid); in stmmac_rx_vlan()
/linux-4.1.27/net/openvswitch/
Dvport-netdev.c190 if (skb->protocol == htons(ETH_P_8021Q)) in packet_length()
Dflow_netlink.c1061 (nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE]) == htons(ETH_P_8021Q))) { in ovs_nla_get_match()
1325 if (swkey->eth.tci || swkey->eth.type == htons(ETH_P_8021Q)) { in __ovs_nla_put_key()
1327 eth_type = !is_mask ? htons(ETH_P_8021Q) : htons(0xffff); in __ovs_nla_put_key()
2081 if (vlan->vlan_tpid != htons(ETH_P_8021Q)) in __ovs_nla_copy_actions()
Dflow.c479 else if (eth->h_proto == htons(ETH_P_8021Q)) in key_extract()
/linux-4.1.27/drivers/net/usb/
Dcdc_mbim.c326 netdev = __vlan_find_dev_deep_rcu(dev->net, htons(ETH_P_8021Q), in do_neigh_solicit()
405 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tci); in cdc_mbim_process_dgram()
Dsmsc95xx.c1043 ret = smsc95xx_write_reg(dev, VLAN1, (u32)ETH_P_8021Q); in smsc95xx_reset()
Dr8152.c1445 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in rtl_rx_vlan_tag()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c321 if (protocol == ETH_P_8021Q) { in qlcnic_send_filter()
471 if (protocol == ETH_P_8021Q) { in qlcnic_tx_pkt()
527 vh->h_vlan_proto = htons(ETH_P_8021Q); in qlcnic_tx_pkt()
1244 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in qlcnic_process_rcv()
1345 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in qlcnic_process_lro()
1770 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in qlcnic_83xx_process_rcv()
1868 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in qlcnic_83xx_process_lro()
Dqlcnic_main.c4186 dev = __vlan_find_dev_deep_rcu(netdev, htons(ETH_P_8021Q), vid); in qlcnic_restore_indev_addr()
/linux-4.1.27/drivers/infiniband/core/
Dud_header.c253 header->eth.type = cpu_to_be16(ETH_P_8021Q); in ib_ud_header_init()
/linux-4.1.27/net/hsr/
Dhsr_forward.c318 if (ethhdr->h_proto == htons(ETH_P_8021Q)) { in hsr_fill_frame_info()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c835 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in i40e_receive_skb()
924 skb->transport_header += (skb->protocol == htons(ETH_P_8021Q) || in i40e_rx_checksum()
1373 if (protocol == htons(ETH_P_8021Q) && in i40e_tx_prepare_vlan_flags()
1391 } else if (protocol == htons(ETH_P_8021Q)) { in i40e_tx_prepare_vlan_flags()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c229 root_dev = __vlan_find_dev_deep_rcu(dev, htons(ETH_P_8021Q), i); in cxgb4_update_root_dev_clip()
Dsge.c1823 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(pkt->vlan)); in do_gro()
1916 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(pkt->vlan)); in t4_ethrx_handler()
/linux-4.1.27/net/ipv4/
Dinet_lro.c315 if ((skb->protocol == htons(ETH_P_8021Q)) && in __lro_proc_skb()
/linux-4.1.27/drivers/scsi/fnic/
Dfnic_fcs.c638 if (eh->h_proto == htons(ETH_P_8021Q)) { in fnic_import_rq_eth_pkt()
990 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_eth_send()
1047 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_send_frame()
/linux-4.1.27/net/core/
Dflow_dissector.c150 case htons(ETH_P_8021Q): { in __skb_flow_dissect()
Dpktgen.c2766 protocol = htons(ETH_P_8021Q); in fill_packet_ipv4()
2798 *svlan_encapsulated_proto = htons(ETH_P_8021Q); in fill_packet_ipv4()
2895 protocol = htons(ETH_P_8021Q); in fill_packet_ipv6()
2925 *svlan_encapsulated_proto = htons(ETH_P_8021Q); in fill_packet_ipv6()
Dskbuff.c4306 if (unlikely((skb->protocol != htons(ETH_P_8021Q) && in skb_vlan_pop()
4316 if (likely((skb->protocol != htons(ETH_P_8021Q) && in skb_vlan_pop()
Ddev.c3644 case htons(ETH_P_8021Q): in skb_pfmemalloc_protocol()
3679 if (skb->protocol == cpu_to_be16(ETH_P_8021Q) || in __netif_receive_skb_core()
/linux-4.1.27/drivers/s390/net/
Dqeth_l3_main.c1678 netdev = __vlan_find_dev_deep_rcu(card->dev, htons(ETH_P_8021Q), in qeth_l3_add_vlan_mc()
1740 netdev = __vlan_find_dev_deep_rcu(card->dev, htons(ETH_P_8021Q), in qeth_l3_add_vlan_mc6()
1785 netdev = __vlan_find_dev_deep_rcu(card->dev, htons(ETH_P_8021Q), vid); in qeth_l3_free_vlan_addresses4()
1815 netdev = __vlan_find_dev_deep_rcu(card->dev, htons(ETH_P_8021Q), vid); in qeth_l3_free_vlan_addresses6()
1999 htons(ETH_P_8021Q), vlan_tag); in qeth_l3_process_inbound_buffer()
2108 netdev = __vlan_find_dev_deep_rcu(card->dev, htons(ETH_P_8021Q), in qeth_l3_verify_vlan_dev()
3018 *tag = __constant_htons(ETH_P_8021Q); in qeth_l3_hard_start_xmit()
Dqeth_core.h849 if (*p == ETH_P_8021Q) in qeth_get_ip_version()
Dqeth_l2_main.c275 if (veth->h_vlan_proto == __constant_htons(ETH_P_8021Q)) { in qeth_l2_fill_header()
Dqeth_core_main.c3853 if (*tci == ETH_P_8021Q) in qeth_get_priority_queue()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1352 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in i40e_receive_skb()
1441 skb->transport_header += (skb->protocol == htons(ETH_P_8021Q) || in i40e_rx_checksum()
2060 if (protocol == htons(ETH_P_8021Q) && in i40e_tx_prepare_vlan_flags()
2078 } else if (protocol == htons(ETH_P_8021Q)) { in i40e_tx_prepare_vlan_flags()
Di40e_fcoe.c234 if (eth_hdr(skb)->h_proto == htons(ETH_P_8021Q)) in i40e_fcoe_fc_frame_header()
1325 if (protocol == htons(ETH_P_8021Q)) { in i40e_fcoe_set_skb_header()
Di40e_main.c2280 i40e_vlan_rx_add_vid(vsi->netdev, htons(ETH_P_8021Q), in i40e_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c611 if ((skb->protocol == htons(ETH_P_8021Q)) && in fm10k_xmit_frame()
638 htons(ETH_P_8021Q), in fm10k_xmit_frame()
Dfm10k_main.c485 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in fm10k_process_skb_fields()
/linux-4.1.27/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c102 return (eth->h_proto == htons(ETH_P_8021Q)) ? VLAN_ETH_HLEN : ETH_HLEN; in xgene_enet_hdr_len()
195 unlikely(skb->protocol != htons(ETH_P_8021Q))) in xgene_enet_work_msg()
/linux-4.1.27/net/bluetooth/bnep/
Dcore.c358 if (ntohs(s->eh.h_proto) == ETH_P_8021Q) { in bnep_rx_frame()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c919 __vlan_hwaccel_put_tag(gro_skb, htons(ETH_P_8021Q), vid); in mlx4_en_process_rx_cq()
976 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), be16_to_cpu(cqe->sl_vid)); in mlx4_en_process_rx_cq()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dnetdev.c579 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tag); in e1000_receive_skb()
2791 e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q), in e1000e_vlan_filter_disable()
2853 e1000_vlan_rx_add_vid(netdev, htons(ETH_P_8021Q), vid); in e1000_update_mng_vlan()
2858 e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q), old_vid); in e1000_update_mng_vlan()
2865 e1000_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), 0); in e1000_restore_vlan()
2868 e1000_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in e1000_restore_vlan()
3963 ew32(VET, ETH_P_8021Q); in e1000e_reset()
4507 e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q), in e1000_close()
/linux-4.1.27/drivers/net/ethernet/intel/e1000/
De1000_main.c343 e1000_vlan_rx_add_vid(netdev, htons(ETH_P_8021Q), vid); in e1000_update_mng_vlan()
351 e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q), in e1000_update_mng_vlan()
1463 e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q), in e1000_close()
4010 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in e1000_receive_skb()
4290 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in e1000_clean_jumbo_rx_irq()
5004 e1000_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in e1000_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/adi/
Dbfin_mac.c1690 lp->vlan1_mask = ETH_P_8021Q | mii_bus_data->vlan1_mask; in bfin_mac_probe()
1691 lp->vlan2_mask = ETH_P_8021Q | mii_bus_data->vlan2_mask; in bfin_mac_probe()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/
Dqlge_main.c1483 if (tags[6] == ETH_P_8021Q && in ql_update_mac_hdr_len()
1484 tags[8] == ETH_P_8021Q) in ql_update_mac_hdr_len()
1534 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_id); in ql_process_mac_rx_gro_page()
1620 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_id); in ql_process_mac_rx_page()
1723 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_id); in ql_process_mac_rx_skb()
2038 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_id); in ql_process_mac_split_rx_intr()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c790 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tpa_info->vlan_tag); in bnx2x_tpa_stop()
1074 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in bnx2x_rx_int()
1919 if (ether_type == ETH_P_8021Q) { in bnx2x_select_queue()
3585 ((skb->protocol == cpu_to_be16(ETH_P_8021Q)) << in bnx2x_set_pbd_csum()
3687 ((skb->protocol == cpu_to_be16(ETH_P_8021Q)) << in bnx2x_update_pbds_gso_enc()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c982 skb = vlan_insert_tag_set_proto(skb, htons(ETH_P_8021Q), in be_insert_vlan_in_pkt()
992 skb = vlan_insert_tag_set_proto(skb, htons(ETH_P_8021Q), in be_insert_vlan_in_pkt()
1047 eth_hdr_len = ntohs(skb->protocol) == ETH_P_8021Q ? in be_lancer_xmit_workarounds()
1060 veh->h_vlan_proto == htons(ETH_P_8021Q)) in be_lancer_xmit_workarounds()
1890 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rxcp->vlan_tag); in be_rx_compl_process()
1948 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rxcp->vlan_tag); in be_rx_compl_process_gro()
/linux-4.1.27/drivers/net/hyperv/
Dnetvsc_drv.c683 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in netvsc_recv_callback()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c426 if (eth_hdr(skb)->h_proto == htons(ETH_P_8021Q)) in ixgbe_fcoe_ddp()
Dixgbe_main.c1611 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in ixgbe_process_skb_fields()
3904 ixgbe_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), 0); in ixgbe_restore_vlan()
3907 ixgbe_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in ixgbe_restore_vlan()
7212 common.port.src ^= th->dest ^ htons(ETH_P_8021Q); in ixgbe_atr()
7319 } else if (protocol == htons(ETH_P_8021Q)) { in ixgbe_xmit_frame_ring()
/linux-4.1.27/drivers/net/ethernet/sfc/
Drx.c856 if (skb->protocol == htons(ETH_P_8021Q)) { in efx_filter_rfs()
Dtx.c857 if (protocol == htons(ETH_P_8021Q)) { in efx_tso_check_protocol()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dsge.c1388 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(p->vlan)); in sge_rx()
1766 return e->h_proto == htons(ETH_P_8021Q) ? VLAN_ETH_HLEN : ETH_HLEN; in eth_hdr_len()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1574 __vlan_hwaccel_put_tag(skb, cpu_to_be16(ETH_P_8021Q), in do_gro()
1647 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), be16_to_cpu(pkt->vlan)); in t4vf_ethrx_handler()
/linux-4.1.27/drivers/net/ethernet/adaptec/
Dstarfire.c1015 writel(ETH_P_8021Q, ioaddr + VlanType); in netdev_open()
1500 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlid); in __netdev_rx()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c2032 (skb->protocol == htons(ETH_P_8021Q))) in xgbe_rx_poll()
2052 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in xgbe_rx_poll()
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c2078 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in ixgb_clean_rx_irq()
2246 ixgb_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in ixgb_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/3com/
Dtyphoon.c1693 __vlan_hwaccel_put_tag(new_skb, htons(ETH_P_8021Q), in typhoon_rx()
1910 xp_cmd.parm1 = cpu_to_le16(ETH_P_8021Q); in typhoon_start_runtime()
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
Dnetdev.c119 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in igbvf_receive_skb()
1274 igbvf_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in igbvf_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1480 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in atl1e_clean_rx_irq()
1905 if (skb->protocol == htons(ETH_P_8021Q)) in atl1e_xmit_frame()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvpp2.c2497 err = mvpp2_prs_double_vlan_add(priv, ETH_P_8021Q, ETH_P_8021AD, in mvpp2_prs_vlan_init()
2503 err = mvpp2_prs_double_vlan_add(priv, ETH_P_8021Q, ETH_P_8021Q, in mvpp2_prs_vlan_init()
2515 err = mvpp2_prs_vlan_add(priv, ETH_P_8021Q, MVPP2_PRS_SINGLE_VLAN_AI, in mvpp2_prs_vlan_init()
Dmv643xx_eth.c701 skb->protocol != htons(ETH_P_8021Q)); in skb_tx_csum()
Dsky2.c2717 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), be16_to_cpu(length)); in sky2_rx_tag()
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1283 if ((skb->protocol == htons(ETH_P_8021Q)) && in myri10ge_vlan_ip_csum()
1399 veh->h_vlan_proto == htons(ETH_P_8021Q)) { in myri10ge_vlan_rx()
1406 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(veh->h_vlan_TCI)); in myri10ge_vlan_rx()
/linux-4.1.27/drivers/net/ethernet/altera/
Daltera_tse_main.c363 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in tse_rx_vlan()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.c188 dev = __vlan_find_dev_deep_rcu(dev, htons(ETH_P_8021Q), vlan); in get_iff_from_mac()
Dsge.c2033 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(p->vlan)); in rx_eth()
2135 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(cpl->vlan)); in lro_add_page()
/linux-4.1.27/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c762 veth->h_vlan_proto = cpu_to_be16(ETH_P_8021Q); in gelic_put_vlan_tag()
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1888 if (protocol == cpu_to_be16(ETH_P_8021Q)) { in netxen_tso_check()
1965 vh->h_vlan_proto = htons(ETH_P_8021Q); in netxen_tso_check()
Dnetxen_nic_init.c1639 if (skb->protocol == htons(ETH_P_8021Q)) in netxen_process_lro()
/linux-4.1.27/drivers/net/bonding/
Dbond_alb.c478 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in rlb_update_client()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c516 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in ixgbevf_process_skb_fields()
1849 htons(ETH_P_8021Q), vid); in ixgbevf_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/amd/
Damd8111e.c780 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in amd8111e_rx_poll()
/linux-4.1.27/drivers/net/ethernet/smsc/
Dsmsc9420.c1303 smsc9420_reg_write(pd, VLAN1, ETH_P_8021Q); in smsc9420_alloc_rx_ring()
Dsmsc911x.c1544 smsc911x_mac_write(pdata, VLAN1, ETH_P_8021Q); in smsc911x_open()
/linux-4.1.27/drivers/net/ethernet/realtek/
D8139cp.c427 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff)); in cp_rx_skb()
Dr8169.c2085 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff)); in rtl8169_rx_vlan_tag()
6930 if (skb->protocol == htons(ETH_P_8021Q)) in get_protocol()
/linux-4.1.27/drivers/scsi/fcoe/
Dfcoe.c1673 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in fcoe_xmit()
/linux-4.1.27/drivers/net/ethernet/tehuti/
Dtehuti.c1151 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), GET_RXD_VLAN_TCI(rxd_vlan)); in NETIF_RX_MUX()
/linux-4.1.27/drivers/net/ethernet/via/
Dvia-rhine.c2046 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci); in rhine_rx()
Dvia-velocity.c2101 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in velocity_receive_frame()
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
Denic_main.c1117 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci); in enic_rq_indicate_buf()
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/
Datl2.c454 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in atl2_intr_rx()
Datl1.c2033 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in atl1_intr_rx()
/linux-4.1.27/drivers/net/ethernet/alteon/
Dacenic.c2008 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), retdesc->vlan); in ace_rx_int()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1856 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan); in atl1c_clean_rx_irq()
/linux-4.1.27/drivers/net/ethernet/
Djme.c1062 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in jme_alloc_and_feed_skb()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
Digb_main.c6951 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in igb_process_skb_fields()
7292 igb_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in igb_restore_vlan()
/linux-4.1.27/drivers/net/ethernet/nvidia/
Dforcedeth.c2765 if (((struct vlan_ethhdr *)packet)->h_vlan_proto == htons(ETH_P_8021Q)) { in nv_getlen()
2970 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in nv_rx_process_optimized()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dfec_main.c1498 htons(ETH_P_8021Q), in fec_enet_rx_queue()
Dgianfar.c2881 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in gfar_process_frame()
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/
Dehea_main.c740 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in ehea_proc_rwqes()
/linux-4.1.27/drivers/net/vmxnet3/
Dvmxnet3_drv.c1318 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rcd->tci); in vmxnet3_rq_rx_complete()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbnad.c713 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(cmpl->vlan_tag)); in bnad_cq_process()
/linux-4.1.27/net/packet/
Daf_packet.c1538 return likely(eth_hdr(skb)->h_proto == htons(ETH_P_8021Q)); in packet_extra_vlan_len_allowed()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dtg3.c6919 skb->protocol != htons(ETH_P_8021Q) && in tg3_rx()
6927 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in tg3_rx()
7946 if (skb->protocol == htons(ETH_P_8021Q) || in tg3_start_xmit()
8009 if (skb->protocol == htons(ETH_P_8021Q) || in tg3_start_xmit()
Dcnic.c1744 ETH_P_8021Q; in cnic_setup_bnx2x_ctx()
Dbnx2.c3235 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rx_hdr->l2_fhdr_vlan_tag); in bnx2_rx_int()
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c316 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ext_info->vlan); in vxge_rx_complete()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes_hw.c2951 __vlan_hwaccel_put_tag(rx_skb, htons(ETH_P_8021Q), vlan_tag); in nes_nic_ce_handler()
/linux-4.1.27/drivers/net/ethernet/sun/
Dniu.c6574 if (eth_proto == ETH_P_8021Q) { in niu_compute_tx_flags()
6622 ((eth_proto == ETH_P_8021Q) ? TXHDR_VLAN : 0) | in niu_compute_tx_flags()
/linux-4.1.27/drivers/net/ethernet/micrel/
Dksz884x.c4980 if (protocol == htons(ETH_P_8021Q)) { in csum_verified()
/linux-4.1.27/drivers/net/ethernet/neterion/
Ds2io.c8556 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in queue_rx_frame()