Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/net/dsa/
Dtag_dsa.c28 if (skb->protocol == htons(ETH_P_8021Q)) { in dsa_xmit()
129 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in dsa_rcv()
130 new_header[1] = ETH_P_8021Q & 0xff; in dsa_rcv()
Dtag_edsa.c30 if (skb->protocol == htons(ETH_P_8021Q)) { in edsa_xmit()
142 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in edsa_rcv()
143 new_header[1] = ETH_P_8021Q & 0xff; in edsa_rcv()
/linux-4.4.14/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()
690 .type = cpu_to_be16(ETH_P_8021Q),
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.c164 if (vid_info->proto == htons(ETH_P_8021Q) && in vlan_hw_filter_capable()
/linux-4.4.14/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.4.14/samples/bpf/
Dsockex2_kern.c112 if (proto == ETH_P_8021Q) { in flow_dissector()
149 if (proto == ETH_P_8021Q) { in flow_dissector()
Dsockex3_kern.c42 case ETH_P_8021Q: in parse_eth_proto()
/linux-4.4.14/include/uapi/linux/
Dif_ether.h65 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
/linux-4.4.14/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.4.14/net/batman-adv/
Dsoft-interface.c215 case ETH_P_8021Q: in batadv_interface_tx()
417 case ETH_P_8021Q: in batadv_interface_rx()
618 if (proto != htons(ETH_P_8021Q)) in batadv_interface_add_vid()
675 if (proto != htons(ETH_P_8021Q)) in batadv_interface_kill_vid()
Ddistributed-arp-table.c995 skb_new = vlan_insert_tag(skb_new, htons(ETH_P_8021Q), in batadv_dat_snoop_outgoing_arp_request()
1075 skb_new = vlan_insert_tag(skb_new, htons(ETH_P_8021Q), in batadv_dat_snoop_incoming_arp_request()
Dmain.c346 case htons(ETH_P_8021Q): in batadv_skb_set_priority()
1207 if (ethhdr->h_proto != htons(ETH_P_8021Q)) in batadv_get_vid()
Dbridge_loop_avoidance.c356 skb = vlan_insert_tag(skb, htons(ETH_P_8021Q), in batadv_bla_send_claim()
909 } while (proto == htons(ETH_P_8021Q)); in batadv_bla_process_claim()
Dgateway_client.c689 if (proto == htons(ETH_P_8021Q)) { in batadv_gw_dhcp_recipient_get()
/linux-4.4.14/net/bridge/
Dbr_vlan.c605 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) { in recalculate_group_addr()
618 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) in br_recalculate_fwd_mask()
702 if (val != ETH_P_8021Q && val != ETH_P_8021AD) in br_vlan_set_proto()
872 br->vlan_proto = htons(ETH_P_8021Q); in br_vlan_init()
Dbr_netfilter_hooks.c77 else if (skb->protocol == htons(ETH_P_8021Q)) in vlan_proto()
160 case __cpu_to_be16(ETH_P_8021Q): in nf_bridge_encap_header_len()
241 skb->protocol = htons(ETH_P_8021Q); in nf_bridge_update_protocol()
448 if (skb->protocol == htons(ETH_P_8021Q)) in setup_pre_routing()
Dbr_forward.c50 (skb->protocol == htons(ETH_P_8021Q) || in br_dev_queue_push_xmit()
Dbr_netlink.c764 case htons(ETH_P_8021Q): in br_validate()
/linux-4.4.14/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.4.14/drivers/net/ethernet/stmicro/stmmac/
Ddwmac100_core.c43 writel(ETH_P_8021Q, ioaddr + MAC_VLAN1); in dwmac100_core_init()
Dstmmac_main.c2109 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlanid); in stmmac_rx_vlan()
/linux-4.4.14/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.c1459 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in rtl_rx_vlan_tag()
/linux-4.4.14/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.c4196 dev = __vlan_find_dev_deep_rcu(netdev, htons(ETH_P_8021Q), vid); in qlcnic_restore_indev_addr()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c214 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in mlx5e_build_rx_skb()
/linux-4.4.14/drivers/infiniband/core/
Dud_header.c253 header->eth.type = cpu_to_be16(ETH_P_8021Q); in ib_ud_header_init()
/linux-4.4.14/net/hsr/
Dhsr_forward.c318 if (ethhdr->h_proto == htons(ETH_P_8021Q)) { in hsr_fill_frame_info()
/linux-4.4.14/net/openvswitch/
Dvport.c487 if (skb->protocol == htons(ETH_P_8021Q)) in packet_length()
Dflow_netlink.c1197 (nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE]) == htons(ETH_P_8021Q))) { in ovs_nla_get_match()
1466 if (swkey->eth.tci || swkey->eth.type == htons(ETH_P_8021Q)) { in __ovs_nla_put_key()
1468 eth_type = !is_mask ? htons(ETH_P_8021Q) : htons(0xffff); in __ovs_nla_put_key()
2273 if (vlan->vlan_tpid != htons(ETH_P_8021Q)) in __ovs_nla_copy_actions()
Dflow.c486 else if (eth->h_proto == htons(ETH_P_8021Q)) in key_extract()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c777 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in i40e_receive_skb()
863 skb->transport_header += (skb->protocol == htons(ETH_P_8021Q) || in i40e_rx_checksum()
1400 if (protocol == htons(ETH_P_8021Q) && in i40evf_tx_prepare_vlan_flags()
1418 } else if (protocol == htons(ETH_P_8021Q)) { in i40evf_tx_prepare_vlan_flags()
/linux-4.4.14/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.c1877 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(pkt->vlan)); in do_gro()
1971 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(pkt->vlan)); in t4_ethrx_handler()
/linux-4.4.14/net/ipv4/
Dinet_lro.c315 if ((skb->protocol == htons(ETH_P_8021Q)) && in __lro_proc_skb()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_fcs.c638 if (eh->h_proto == htons(ETH_P_8021Q)) { in fnic_import_rq_eth_pkt()
1003 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_eth_send()
1069 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_send_frame()
/linux-4.4.14/drivers/s390/net/
Dqeth_l3_main.c1572 netdev = __vlan_find_dev_deep_rcu(card->dev, htons(ETH_P_8021Q), in qeth_l3_add_vlan_mc()
1634 netdev = __vlan_find_dev_deep_rcu(card->dev, htons(ETH_P_8021Q), in qeth_l3_add_vlan_mc6()
1679 netdev = __vlan_find_dev_deep_rcu(card->dev, htons(ETH_P_8021Q), vid); in qeth_l3_free_vlan_addresses4()
1709 netdev = __vlan_find_dev_deep_rcu(card->dev, htons(ETH_P_8021Q), vid); in qeth_l3_free_vlan_addresses6()
1892 htons(ETH_P_8021Q), vlan_tag); in qeth_l3_process_inbound_buffer()
2001 netdev = __vlan_find_dev_deep_rcu(card->dev, htons(ETH_P_8021Q), in qeth_l3_verify_vlan_dev()
2908 *tag = __constant_htons(ETH_P_8021Q); in qeth_l3_hard_start_xmit()
Dqeth_core.h856 if (*p == ETH_P_8021Q) in qeth_get_ip_version()
Dqeth_l2_main.c289 if (veth->h_vlan_proto == __constant_htons(ETH_P_8021Q)) { in qeth_l2_fill_header()
Dqeth_core_main.c3805 if (*tci == ETH_P_8021Q) in qeth_get_priority_queue()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c611 if ((skb->protocol == htons(ETH_P_8021Q)) && in fm10k_xmit_frame()
640 htons(ETH_P_8021Q), in fm10k_xmit_frame()
Dfm10k_main.c503 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in fm10k_process_skb_fields()
505 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in fm10k_process_skb_fields()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1303 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in i40e_receive_skb()
1390 skb->transport_header += (skb->protocol == htons(ETH_P_8021Q) || in i40e_rx_checksum()
2126 if (protocol == htons(ETH_P_8021Q) && in i40e_tx_prepare_vlan_flags()
2144 } else if (protocol == htons(ETH_P_8021Q)) { in i40e_tx_prepare_vlan_flags()
Di40e_fcoe.c237 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.c2558 i40e_vlan_rx_add_vid(vsi->netdev, htons(ETH_P_8021Q), in i40e_restore_vlan()
/linux-4.4.14/net/bluetooth/bnep/
Dcore.c358 if (ntohs(s->eh.h_proto) == ETH_P_8021Q) { in bnep_rx_frame()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c913 __vlan_hwaccel_put_tag(gro_skb, htons(ETH_P_8021Q), vid); in mlx4_en_process_rx_cq()
980 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), be16_to_cpu(cqe->sl_vid)); in mlx4_en_process_rx_cq()
Den_tx.c967 else if (vlan_proto == ETH_P_8021Q) in mlx4_en_xmit()
/linux-4.4.14/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()
4005 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in e1000_receive_skb()
4285 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in e1000_clean_jumbo_rx_irq()
4999 e1000_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in e1000_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c107 return (eth->h_proto == htons(ETH_P_8021Q)) ? VLAN_ETH_HLEN : ETH_HLEN; in xgene_enet_hdr_len()
203 unlikely(skb->protocol != htons(ETH_P_8021Q))) in xgene_enet_work_msg()
/linux-4.4.14/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.4.14/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()
1734 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_id); in ql_process_mac_rx_skb()
2049 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_id); in ql_process_mac_split_rx_intr()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dnetdev.c579 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tag); in e1000_receive_skb()
2779 e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q), in e1000e_vlan_filter_disable()
2841 e1000_vlan_rx_add_vid(netdev, htons(ETH_P_8021Q), vid); in e1000_update_mng_vlan()
2846 e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q), old_vid); in e1000_update_mng_vlan()
2853 e1000_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), 0); in e1000_restore_vlan()
2856 e1000_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in e1000_restore_vlan()
4075 ew32(VET, ETH_P_8021Q); in e1000e_reset()
4656 e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q), in e1000_close()
/linux-4.4.14/net/core/
Dpktgen.c2817 protocol = htons(ETH_P_8021Q); in fill_packet_ipv4()
2849 *svlan_encapsulated_proto = htons(ETH_P_8021Q); in fill_packet_ipv4()
2946 protocol = htons(ETH_P_8021Q); in fill_packet_ipv6()
2976 *svlan_encapsulated_proto = htons(ETH_P_8021Q); in fill_packet_ipv6()
Dfilter.c1519 if (unlikely(vlan_proto != htons(ETH_P_8021Q) && in bpf_skb_vlan_push()
1521 vlan_proto = htons(ETH_P_8021Q); in bpf_skb_vlan_push()
Dflow_dissector.c255 case htons(ETH_P_8021Q): { in __skb_flow_dissect()
Dskbuff.c4392 if (unlikely((skb->protocol != htons(ETH_P_8021Q) && in skb_vlan_pop()
4402 if (likely((skb->protocol != htons(ETH_P_8021Q) && in skb_vlan_pop()
Ddev.c3787 case htons(ETH_P_8021Q): in skb_pfmemalloc_protocol()
3838 if (skb->protocol == cpu_to_be16(ETH_P_8021Q) || in __netif_receive_skb_core()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c1001 skb = vlan_insert_tag_set_proto(skb, htons(ETH_P_8021Q), in be_insert_vlan_in_pkt()
1011 skb = vlan_insert_tag_set_proto(skb, htons(ETH_P_8021Q), in be_insert_vlan_in_pkt()
1066 eth_hdr_len = ntohs(skb->protocol) == ETH_P_8021Q ? in be_lancer_xmit_workarounds()
1079 veh->h_vlan_proto == htons(ETH_P_8021Q)) in be_lancer_xmit_workarounds()
2132 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rxcp->vlan_tag); in be_rx_compl_process()
2190 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rxcp->vlan_tag); in be_rx_compl_process_gro()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c810 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tpa_info->vlan_tag); in bnx2x_tpa_stop()
1094 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in bnx2x_rx_int()
1939 if (ether_type == ETH_P_8021Q) { in bnx2x_select_queue()
3650 ((skb->protocol == cpu_to_be16(ETH_P_8021Q)) << in bnx2x_set_pbd_csum()
3752 ((skb->protocol == cpu_to_be16(ETH_P_8021Q)) << in bnx2x_update_pbds_gso_enc()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c426 if (eth_hdr(skb)->h_proto == htons(ETH_P_8021Q)) in ixgbe_fcoe_ddp()
Dixgbe_main.c1651 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in ixgbe_process_skb_fields()
3999 ixgbe_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), 0); in ixgbe_restore_vlan()
4002 ixgbe_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in ixgbe_restore_vlan()
7417 common.port.src ^= th->dest ^ htons(ETH_P_8021Q); in ixgbe_atr()
7529 } else if (protocol == htons(ETH_P_8021Q)) { in ixgbe_xmit_frame_ring()
/linux-4.4.14/drivers/net/ethernet/sfc/
Drx.c856 if (skb->protocol == htons(ETH_P_8021Q)) { in efx_filter_rfs()
Dtx.c858 if (protocol == htons(ETH_P_8021Q)) { in efx_tso_check_protocol()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c1986 (skb->protocol == htons(ETH_P_8021Q))) in xgbe_rx_poll()
2006 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in xgbe_rx_poll()
/linux-4.4.14/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.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1591 __vlan_hwaccel_put_tag(skb, cpu_to_be16(ETH_P_8021Q), in do_gro()
1664 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), be16_to_cpu(pkt->vlan)); in t4vf_ethrx_handler()
/linux-4.4.14/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.4.14/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.4.14/drivers/net/hyperv/
Dnetvsc_drv.c732 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in netvsc_recv_callback()
/linux-4.4.14/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.4.14/drivers/net/ethernet/cavium/thunder/
Dnic_main.c347 (2 << 19) | (ETYPE_ALG_VLAN_STRIP << 16) | ETH_P_8021Q); in nic_init_hw()
Dnicvf_main.c625 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in nicvf_rcv_pkt_handler()
/linux-4.4.14/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.4.14/drivers/net/ethernet/intel/igbvf/
Dnetdev.c119 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in igbvf_receive_skb()
1275 igbvf_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in igbvf_restore_vlan()
/linux-4.4.14/drivers/net/
Dmacvtap.c812 if ((skb->protocol == htons(ETH_P_8021Q) || in macvtap_get_user()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dmvpp2.c2516 err = mvpp2_prs_double_vlan_add(priv, ETH_P_8021Q, ETH_P_8021AD, in mvpp2_prs_vlan_init()
2522 err = mvpp2_prs_double_vlan_add(priv, ETH_P_8021Q, ETH_P_8021Q, in mvpp2_prs_vlan_init()
2534 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.4.14/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.4.14/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.4.14/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.4.14/drivers/net/ethernet/altera/
Daltera_tse_main.c363 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in tse_rx_vlan()
/linux-4.4.14/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.4.14/drivers/net/bonding/
Dbond_alb.c478 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in rlb_update_client()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c543 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in ixgbevf_process_skb_fields()
1853 htons(ETH_P_8021Q), vid); in ixgbevf_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c70 if (protocol == htons(ETH_P_8021Q)) { in fill_desc()
/linux-4.4.14/drivers/net/ethernet/smsc/
Dsmsc9420.c1303 smsc9420_reg_write(pd, VLAN1, ETH_P_8021Q); in smsc9420_alloc_rx_ring()
Dsmsc911x.c1542 smsc911x_mac_write(pdata, VLAN1, ETH_P_8021Q); in smsc911x_open()
/linux-4.4.14/drivers/net/ethernet/amd/
Damd8111e.c780 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in amd8111e_rx_poll()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c217 if (skb->vlan_proto == htons(ETH_P_8021Q)) in bnxt_start_xmit()
1015 vlan_proto == ETH_P_8021Q) || in bnxt_tpa_end()
1175 vlan_proto == ETH_P_8021Q) || in bnxt_rx_pkt()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c1672 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in fcoe_xmit()
/linux-4.4.14/drivers/net/ethernet/realtek/
D8139cp.c429 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff)); in cp_rx_skb()
Dr8169.c2097 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff)); in rtl8169_rx_vlan_tag()
7000 if (skb->protocol == htons(ETH_P_8021Q)) in get_protocol()
/linux-4.4.14/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.4.14/drivers/net/ethernet/via/
Dvia-rhine.c2042 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci); in rhine_rx_vlan_tag()
Dvia-velocity.c2083 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in velocity_receive_frame()
/linux-4.4.14/drivers/net/ethernet/qlogic/qede/
Dqede_main.c806 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in qede_skb_receive()
/linux-4.4.14/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.4.14/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1865 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan); in atl1c_clean_rx_irq()
/linux-4.4.14/drivers/net/ethernet/alteon/
Dacenic.c2008 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), retdesc->vlan); in ace_rx_int()
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Denic_main.c1187 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci); in enic_rq_indicate_buf()
/linux-4.4.14/drivers/net/ethernet/
Djme.c1064 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in jme_alloc_and_feed_skb()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c2607 return skb->protocol == htons(ETH_P_8021Q); in is_vlan()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c6904 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in igb_process_skb_fields()
7245 igb_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in igb_restore_vlan()
/linux-4.4.14/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.4.14/drivers/net/ethernet/freescale/
Dfec_main.c1509 htons(ETH_P_8021Q), in fec_enet_rx_queue()
Dgianfar.c3063 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in gfar_process_frame()
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
Dehea_main.c740 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), in ehea_proc_rwqes()
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_drv.c1449 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rcd->tci); in vmxnet3_rq_rx_complete()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad.c727 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(cmpl->vlan_tag)); in bnad_cq_process()
/linux-4.4.14/net/packet/
Daf_packet.c1755 return likely(eth_hdr(skb)->h_proto == htons(ETH_P_8021Q)); in packet_extra_vlan_len_allowed()
/linux-4.4.14/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.c1755 ETH_P_8021Q; in cnic_setup_bnx2x_ctx()
Dbnx2.c3253 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rx_hdr->l2_fhdr_vlan_tag); in bnx2_rx_int()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/net/ethernet/micrel/
Dksz884x.c4980 if (protocol == htons(ETH_P_8021Q)) { in csum_verified()
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.c8532 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in queue_rx_frame()