arch/powerpc/platforms/ps3/gelic_udbg.c
157
h_eth->h_proto= ETH_P_8021Q;
drivers/infiniband/core/ud_header.c
353
header->eth.type = cpu_to_be16(ETH_P_8021Q);
drivers/infiniband/hw/bnxt_re/ib_verbs.c
3702
htons(ETH_P_8021Q), vlan_id))
drivers/infiniband/hw/bnxt_re/ib_verbs.c
3720
if (tpid == ETH_P_8021Q) {
drivers/infiniband/hw/cxgb4/cm.c
4126
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(cpl->vlan));
drivers/infiniband/hw/ionic/ionic_controlpath.c
575
hdr->eth.type = cpu_to_be16(ETH_P_8021Q);
drivers/infiniband/hw/ionic/ionic_controlpath.c
654
if (ah->hdr.eth.type == cpu_to_be16(ETH_P_8021Q)) {
drivers/infiniband/hw/irdma/cm.c
3170
if (ethh->h_vlan_proto == htons(ETH_P_8021Q)) {
drivers/infiniband/hw/irdma/cm.c
481
htons(ETH_P_8021Q);
drivers/infiniband/hw/irdma/cm.c
514
htons(ETH_P_8021Q);
drivers/infiniband/hw/qedr/qedr_roce_cm.c
436
udh->eth.type = htons(ETH_P_8021Q);
drivers/net/bonding/bond_alb.c
451
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/dsa/lan9303-core.c
1115
vlan_vid_add(dsa_port_to_conduit(dp), htons(ETH_P_8021Q), port);
drivers/net/dsa/lan9303-core.c
1128
vlan_vid_del(dsa_port_to_conduit(dp), htons(ETH_P_8021Q), port);
drivers/net/dsa/sja1105/sja1105_main.c
2388
tpid = ETH_P_8021Q;
drivers/net/dsa/sja1105/sja1105_main.c
3079
rc = dsa_tag_8021q_register(ds, htons(ETH_P_8021Q));
drivers/net/dsa/vitesse-vsc73xx-core.c
945
ret = dsa_tag_8021q_register(ds, htons(ETH_P_8021Q));
drivers/net/ethernet/3com/typhoon.c
1691
__vlan_hwaccel_put_tag(new_skb, htons(ETH_P_8021Q),
drivers/net/ethernet/3com/typhoon.c
1916
xp_cmd.parm1 = cpu_to_le16(ETH_P_8021Q);
drivers/net/ethernet/adaptec/starfire.c
1518
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlid);
drivers/net/ethernet/adaptec/starfire.c
995
writel(ETH_P_8021Q, ioaddr + VlanType);
drivers/net/ethernet/airoha/airoha_eth.c
1880
ehdr->h_proto = cpu_to_be16(ETH_P_8021Q);
drivers/net/ethernet/airoha/airoha_ppe.c
1084
act->vlan.proto != htons(ETH_P_8021Q))
drivers/net/ethernet/alteon/acenic.c
1997
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), retdesc->vlan);
drivers/net/ethernet/altera/altera_tse_main.c
345
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/amd/amd8111e.c
759
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag);
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2343
(skb->protocol == htons(ETH_P_8021Q)))
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
2372
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
171
return (eth->h_proto == htons(ETH_P_8021Q)) ? VLAN_ETH_HLEN : ETH_HLEN;
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
320
unlikely(skb->protocol != htons(ETH_P_8021Q)))
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
651
skb->protocol == htons(ETH_P_8021Q))
drivers/net/ethernet/aquantia/atlantic/aq_ring.c
675
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/aquantia/atlantic/aq_ring.c
820
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c
511
hw_atl_rpf_vlan_inner_etht_set(self, ETH_P_8021Q);
drivers/net/ethernet/atheros/atl1c/atl1c_main.c
1942
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan);
drivers/net/ethernet/atheros/atl1e/atl1e_main.c
1468
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag);
drivers/net/ethernet/atheros/atl1e/atl1e_main.c
1897
if (skb->protocol == htons(ETH_P_8021Q))
drivers/net/ethernet/atheros/atlx/atl1.c
2019
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag);
drivers/net/ethernet/atheros/atlx/atl2.c
434
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag);
drivers/net/ethernet/broadcom/bcmsysport.c
160
tdma_writel(priv, ETH_P_8021Q, TDMA_TPID);
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
1482
if (skb->vlan_proto == htons(ETH_P_8021Q))
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
329
u32 vlan_proto = ETH_P_8021Q;
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
752
vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/broadcom/bnx2.c
3246
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rx_hdr->l2_fhdr_vlan_tag);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
1102
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
1938
if (ether_type == ETH_P_8021Q) {
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
3621
((skb->protocol == cpu_to_be16(ETH_P_8021Q)) <<
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
3721
((skb->protocol == cpu_to_be16(ETH_P_8021Q)) <<
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
818
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tpa_info->vlan_tag);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
2541
htons(ETH_P_8021Q));
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
2818
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/broadcom/bnxt/bnxt.c
1528
u32 vlan_proto = ETH_P_8021Q;
drivers/net/ethernet/broadcom/bnxt/bnxt.c
2064
vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
538
if (skb->vlan_proto == htons(ETH_P_8021Q))
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
257
if (vlan_proto != htons(ETH_P_8021Q) &&
drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c
422
flow->l2_key.inner_vlan_tpid = htons(ETH_P_8021Q);
drivers/net/ethernet/broadcom/cnic.c
1760
ETH_P_8021Q;
drivers/net/ethernet/broadcom/tg3.c
6962
skb->protocol != htons(ETH_P_8021Q) &&
drivers/net/ethernet/broadcom/tg3.c
6970
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/broadcom/tg3.c
8019
if (skb->protocol == htons(ETH_P_8021Q) ||
drivers/net/ethernet/broadcom/tg3.c
8082
if (skb->protocol == htons(ETH_P_8021Q) ||
drivers/net/ethernet/brocade/bna/bnad.c
713
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(cmpl->vlan_tag));
drivers/net/ethernet/cavium/liquidio/lio_core.c
697
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vtag);
drivers/net/ethernet/cavium/liquidio/lio_main.c
2921
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/cavium/thunder/nic_main.c
463
(2 << 19) | (ETYPE_ALG_VLAN_STRIP << 16) | ETH_P_8021Q);
drivers/net/ethernet/cavium/thunder/nic_main.c
917
(ETYPE_ALG_SKIP << 16) | ETH_P_8021Q);
drivers/net/ethernet/cavium/thunder/nicvf_main.c
836
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/chelsio/cxgb/sge.c
1390
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(p->vlan));
drivers/net/ethernet/chelsio/cxgb/sge.c
1802
return e->h_proto == htons(ETH_P_8021Q) ? VLAN_ETH_HLEN : ETH_HLEN;
drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c
188
dev = __vlan_find_dev_deep_rcu(dev, htons(ETH_P_8021Q), vlan);
drivers/net/ethernet/chelsio/cxgb3/sge.c
2104
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(p->vlan));
drivers/net/ethernet/chelsio/cxgb3/sge.c
2202
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(cpl->vlan));
drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c
237
root_dev = __vlan_find_dev_deep_rcu(dev, htons(ETH_P_8021Q), i);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
3389
if (vlan_proto != htons(ETH_P_8021Q) || qos != 0)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
284
if (fs->val.ethtype == ETH_P_8021Q) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c
733
if (proto != ETH_P_8021Q) {
drivers/net/ethernet/chelsio/cxgb4/sge.c
3463
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(pkt->vlan));
drivers/net/ethernet/chelsio/cxgb4/sge.c
3793
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(pkt->vlan));
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
1198
__vlan_hwaccel_put_tag(skb, cpu_to_be16(ETH_P_8021Q),
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
1589
__vlan_hwaccel_put_tag(skb, cpu_to_be16(ETH_P_8021Q),
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
1665
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/cisco/enic/enic_rq.c
163
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci);
drivers/net/ethernet/emulex/benet/be_main.c
1070
skb = vlan_insert_tag_set_proto(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/emulex/benet/be_main.c
1080
skb = vlan_insert_tag_set_proto(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/emulex/benet/be_main.c
1135
eth_hdr_len = ntohs(skb->protocol) == ETH_P_8021Q ?
drivers/net/ethernet/emulex/benet/be_main.c
1149
veh->h_vlan_proto == htons(ETH_P_8021Q))
drivers/net/ethernet/emulex/benet/be_main.c
1989
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/emulex/benet/be_main.c
2426
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rxcp->vlan_tag);
drivers/net/ethernet/emulex/benet/be_main.c
2485
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rxcp->vlan_tag);
drivers/net/ethernet/faraday/ftgmac100.c
583
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
1498
if (ethertype == ETH_P_8021Q)
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
2064
__be16 vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
2074
__be16 vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/freescale/enetc/enetc.c
1430
tpid = htons(ETH_P_8021Q);
drivers/net/ethernet/freescale/enetc/enetc_pf.c
272
if (proto != htons(ETH_P_8021Q))
drivers/net/ethernet/freescale/fec_main.c
1796
htons(ETH_P_8021Q),
drivers/net/ethernet/freescale/gianfar.c
2449
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/fungible/funeth/funeth_main.c
1240
if (vlan_proto && vlan_proto != htons(ETH_P_8021Q) &&
drivers/net/ethernet/hisilicon/hns/hns_enet.c
177
if (protocol == htons(ETH_P_8021Q)) {
drivers/net/ethernet/hisilicon/hns/hns_enet.c
77
if (protocol == htons(ETH_P_8021Q)) {
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1511
if (!(skb->protocol == htons(ETH_P_8021Q) ||
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1526
if (skb->protocol == htons(ETH_P_8021Q) &&
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
1540
if (skb->protocol == htons(ETH_P_8021Q) &&
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
3028
if (protocol == htons(ETH_P_8021Q))
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
4298
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10031
hdev->vlan_type_cfg.rx_in_fst_vlan_type = ETH_P_8021Q;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10032
hdev->vlan_type_cfg.rx_in_sec_vlan_type = ETH_P_8021Q;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10033
hdev->vlan_type_cfg.rx_ot_fst_vlan_type = ETH_P_8021Q;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10034
hdev->vlan_type_cfg.rx_ot_sec_vlan_type = ETH_P_8021Q;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10035
hdev->vlan_type_cfg.tx_ot_vlan_type = ETH_P_8021Q;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10036
hdev->vlan_type_cfg.tx_in_vlan_type = ETH_P_8021Q;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10078
return hclge_set_vlan_filter(handle, htons(ETH_P_8021Q), 0, false);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10119
ret = hclge_set_vlan_filter_hw(hdev, htons(ETH_P_8021Q),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10149
htons(ETH_P_8021Q),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10171
htons(ETH_P_8021Q),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10246
ret = hclge_set_vlan_filter_hw(hdev, htons(ETH_P_8021Q),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10400
ret = hclge_set_vlan_filter_hw(hdev, htons(ETH_P_8021Q),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10493
if (proto != htons(ETH_P_8021Q))
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10545
ret = hclge_set_vlan_filter_hw(hdev, htons(ETH_P_8021Q),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10660
ret = hclge_set_vlan_filter_hw(hdev, htons(ETH_P_8021Q),
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12750
vlan_info.vlan_proto = ETH_P_8021Q;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1234
if (proto != htons(ETH_P_8021Q))
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1280
ret = hclgevf_set_vlan_filter(handle, htons(ETH_P_8021Q),
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2232
return hclgevf_set_vlan_filter(&hdev->nic, htons(ETH_P_8021Q), 0,
drivers/net/ethernet/huawei/hinic/hinic_rx.c
415
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/huawei/hinic/hinic_sriov.c
798
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/ibm/ehea/ehea_main.c
729
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/ibm/ibmvnic.c
3586
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/intel/e1000/e1000_main.c
1460
e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q),
drivers/net/ethernet/intel/e1000/e1000_main.c
311
e1000_vlan_rx_add_vid(netdev, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/e1000/e1000_main.c
318
e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q),
drivers/net/ethernet/intel/e1000/e1000_main.c
4007
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/e1000/e1000_main.c
4294
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/e1000/e1000_main.c
5014
e1000_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/e1000e/netdev.c
2763
e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q),
drivers/net/ethernet/intel/e1000e/netdev.c
2825
e1000_vlan_rx_add_vid(netdev, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/e1000e/netdev.c
2830
e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q), old_vid);
drivers/net/ethernet/intel/e1000e/netdev.c
2837
e1000_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), 0);
drivers/net/ethernet/intel/e1000e/netdev.c
2840
e1000_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/e1000e/netdev.c
4141
ew32(VET, ETH_P_8021Q);
drivers/net/ethernet/intel/e1000e/netdev.c
4772
e1000_vlan_rx_kill_vid(netdev, htons(ETH_P_8021Q),
drivers/net/ethernet/intel/e1000e/netdev.c
564
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tag);
drivers/net/ethernet/intel/fm10k/fm10k_iov.c
607
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/intel/fm10k/fm10k_main.c
468
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/fm10k/fm10k_main.c
470
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c
520
if ((skb->protocol == htons(ETH_P_8021Q)) &&
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c
549
htons(ETH_P_8021Q),
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
4535
if (fsp->h_ext.vlan_etype != htons(ETH_P_8021Q) &&
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
4886
input->vlan_etype = cpu_to_be16(ETH_P_8021Q);
drivers/net/ethernet/intel/i40e/i40e_main.c
15623
hw->second_tag = ETH_P_8021Q;
drivers/net/ethernet/intel/i40e/i40e_main.c
3259
i40e_vlan_rx_add_vid_up(vsi->netdev, htons(ETH_P_8021Q),
drivers/net/ethernet/intel/i40e/i40e_txrx.c
1866
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/intel/i40e/i40e_txrx.c
3008
if (protocol == htons(ETH_P_8021Q) &&
drivers/net/ethernet/intel/i40e/i40e_txrx.c
3026
} else if (protocol == htons(ETH_P_8021Q)) {
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
4556
if (vlan_proto != htons(ETH_P_8021Q)) {
drivers/net/ethernet/intel/iavf/iavf_main.c
2195
iavf_disable_vlan_stripping_v2(adapter, ETH_P_8021Q);
drivers/net/ethernet/intel/iavf/iavf_main.c
2203
iavf_enable_vlan_stripping_v2(adapter, ETH_P_8021Q);
drivers/net/ethernet/intel/iavf/iavf_main.c
2211
iavf_disable_vlan_insertion_v2(adapter, ETH_P_8021Q);
drivers/net/ethernet/intel/iavf/iavf_main.c
2219
iavf_enable_vlan_insertion_v2(adapter, ETH_P_8021Q);
drivers/net/ethernet/intel/iavf/iavf_main.c
2267
vlan_ethertype = ETH_P_8021Q;
drivers/net/ethernet/intel/iavf/iavf_main.c
2271
vlan_ethertype = ETH_P_8021Q;
drivers/net/ethernet/intel/iavf/iavf_main.c
2273
vlan_ethertype = ETH_P_8021Q;
drivers/net/ethernet/intel/iavf/iavf_main.c
2292
case ETH_P_8021Q:
drivers/net/ethernet/intel/iavf/iavf_txrx.c
844
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag);
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
1327
case ETH_P_8021Q:
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
1397
if (tpid == ETH_P_8021Q)
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
1405
if (tpid == ETH_P_8021Q)
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
1413
if (tpid == ETH_P_8021Q)
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
1421
if (tpid == ETH_P_8021Q)
drivers/net/ethernet/intel/ice/ice_eswitch_br.c
612
struct ice_vlan port_vlan = ICE_VLAN(ETH_P_8021Q, port->pvid, 0);
drivers/net/ethernet/intel/ice/ice_eswitch_br.c
658
struct ice_vlan port_vlan = ICE_VLAN(ETH_P_8021Q, vlan->vid, 0);
drivers/net/ethernet/intel/ice/ice_lib.c
3826
vlan = ICE_VLAN(ETH_P_8021Q, 0, 0);
drivers/net/ethernet/intel/ice/ice_lib.c
3864
vlan = ICE_VLAN(ETH_P_8021Q, 0, 0);
drivers/net/ethernet/intel/ice/ice_main.c
6368
vlan_ethertype = ETH_P_8021Q;
drivers/net/ethernet/intel/ice/ice_sriov.c
1656
case ETH_P_8021Q:
drivers/net/ethernet/intel/ice/ice_switch.c
2613
u16 vlan_tpid = ETH_P_8021Q;
drivers/net/ethernet/intel/ice/ice_tc_lib.c
174
case ETH_P_8021Q:
drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c
184
if (tpid != ETH_P_8021Q) {
drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c
199
if (tpid != ETH_P_8021Q) {
drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c
26
if (vlan->tpid != ETH_P_8021Q && vlan->tpid != ETH_P_8021AD &&
drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c
277
if (vlan->tpid != ETH_P_8021Q)
drivers/net/ethernet/intel/ice/ice_vsi_vlan_lib.c
429
case ETH_P_8021Q:
drivers/net/ethernet/intel/ice/virt/virtchnl.c
1220
vlan = ICE_VLAN(ETH_P_8021Q, vid, 0);
drivers/net/ethernet/intel/ice/virt/virtchnl.c
1275
vlan = ICE_VLAN(ETH_P_8021Q, vid, 0);
drivers/net/ethernet/intel/ice/virt/virtchnl.c
1369
if (vsi->inner_vlan_ops.ena_stripping(vsi, ETH_P_8021Q))
drivers/net/ethernet/intel/ice/virt/virtchnl.c
1471
err = vsi->inner_vlan_ops.ena_stripping(vsi, ETH_P_8021Q);
drivers/net/ethernet/intel/ice/virt/virtchnl.c
1696
case ETH_P_8021Q:
drivers/net/ethernet/intel/ice/virt/virtchnl.c
2131
*tpid = ETH_P_8021Q;
drivers/net/ethernet/intel/igb/igb_main.c
7616
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/intel/igb/igb_main.c
8924
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/igb/igb_main.c
9420
igb_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), 0);
drivers/net/ethernet/intel/igb/igb_main.c
9423
igb_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/igbvf/netdev.c
1274
igbvf_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/igbvf/netdev.c
97
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/igc/igc_main.c
117
wr32(IGC_VET, ETH_P_8021Q);
drivers/net/ethernet/intel/igc/igc_main.c
1833
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
403
if (eth_hdr(skb)->h_proto == htons(ETH_P_8021Q))
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
1908
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
5126
ixgbe_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), 0);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
5129
ixgbe_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
9212
common.port.src ^= th->dest ^ htons(ETH_P_8021Q);
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
9414
} else if (protocol == htons(ETH_P_8021Q)) {
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
1661
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
2092
htons(ETH_P_8021Q), vid);
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
522
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/jme.c
1029
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/marvell/mv643xx_eth.c
681
skb->protocol != htons(ETH_P_8021Q));
drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c
1564
err = mvpp2_prs_double_vlan_add(priv, ETH_P_8021AD, ETH_P_8021Q,
drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c
1570
err = mvpp2_prs_double_vlan_add(priv, ETH_P_8021Q, ETH_P_8021Q,
drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c
1582
err = mvpp2_prs_vlan_add(priv, ETH_P_8021Q, MVPP2_PRS_SINGLE_VLAN_AI,
drivers/net/ethernet/marvell/octeontx2/af/rvu_rep.c
199
u64 etype = ETH_P_8021Q;
drivers/net/ethernet/marvell/octeontx2/af/rvu_rep.c
263
req.packet.vlan_etype = cpu_to_be16(ETH_P_8021Q);
drivers/net/ethernet/marvell/octeontx2/af/rvu_rep.c
264
req.mask.vlan_etype = cpu_to_be16(ETH_P_8021Q);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
889
if (vlan_etype == ETH_P_8021Q && !fsp->m_ext.vlan_tci &&
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
894
if (vlan_etype != ETH_P_8021Q &&
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
903
if (vlan_etype == ETH_P_8021Q)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
2731
if (proto != htons(ETH_P_8021Q))
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1089
} else if (skb->vlan_proto == htons(ETH_P_8021Q)) {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
761
if (skb->vlan_proto == htons(ETH_P_8021Q)) {
drivers/net/ethernet/marvell/prestera/prestera_rxtx.c
258
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tci);
drivers/net/ethernet/marvell/sky2.c
2690
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), be16_to_cpu(length));
drivers/net/ethernet/mediatek/mtk_ppe.c
795
if (get_unaligned_be16(tag) != ETH_P_8021Q)
drivers/net/ethernet/mediatek/mtk_ppe.c
800
case htons(ETH_P_8021Q):
drivers/net/ethernet/mediatek/mtk_ppe_offload.c
345
if (match.key->vlan_tpid != cpu_to_be16(ETH_P_8021Q))
drivers/net/ethernet/mediatek/mtk_ppe_offload.c
376
act->vlan.proto != htons(ETH_P_8021Q))
drivers/net/ethernet/mellanox/mlx4/cmd.c
2030
vp_oper->state.vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlx4/cmd.c
2421
admin_vport->vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlx4/cmd.c
2422
oper_vport->vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlx4/cmd.c
3021
if (proto != htons(ETH_P_8021Q) &&
drivers/net/ethernet/mellanox/mlx4/en_rx.c
913
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/mellanox/mlx4/en_tx.c
912
else if (vlan_proto == ETH_P_8021Q)
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/vlan.c
64
attr->vlan_proto[vlan_idx] = htons(ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c
268
*vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c
503
if (be16_to_cpu(proto) == ETH_P_8021Q)
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c
520
if (be16_to_cpu(proto) == ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
4864
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
1446
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ingress_lgcy.c
225
flow_act.vlan[0].ethtype = ETH_P_8021Q;
drivers/net/ethernet/mellanox/mlx5/core/esw/acl/ingress_ofld.c
42
flow_act.vlan[0].ethtype = ETH_P_8021Q;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
109
if (vlan_proto == ETH_P_8021Q)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
138
return mlx5_esw_bridge_ingress_vlan_proto_fg_create(from, to, ETH_P_8021Q, esw, ingress_ft);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
1502
if (proto != ETH_P_8021Q && proto != ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
171
if (vlan_proto == ETH_P_8021Q)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
197
return mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create(from, to, ETH_P_8021Q, esw,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
266
if (vlan_proto == ETH_P_8021Q)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
290
return mlx5_esw_bridge_egress_vlan_proto_fg_create(from, to, ETH_P_8021Q, esw, egress_ft);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
613
if (bridge->vlan_proto == ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
721
if (bridge->vlan_proto == ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
779
if (bridge->vlan_proto == ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
868
bridge->vlan_proto = ETH_P_8021Q;
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
382
if (vlan_proto == ETH_P_8021Q)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
407
return mlx5_esw_bridge_mcast_vlan_proto_fg_create(from, to, ETH_P_8021Q, esw, mcast_ft);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
597
if (vlan_proto == ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
94
if (bridge->vlan_proto == ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c
883
MLX5_SET(fpga_qpc, conn->fpga_qpc, ether_type, ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
1653
ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
203
return vlan_insert_tag_set_proto(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
371
case ETH_P_8021Q:
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
4446
ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
4781
proto != ETH_P_8021Q && proto != ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
4804
ntohs(vlan_dev_vlan_proto(upper_dev)) != ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
5137
ntohs(vlan_dev_vlan_proto(upper_dev)) != ETH_P_8021Q) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c
481
case ETH_P_8021Q:
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
8750
upper_dev = __vlan_find_dev_deep_rcu(br_dev, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
8831
upper_dev = __vlan_find_dev_deep_rcu(br_dev, htons(ETH_P_8021Q),
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
2497
ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
2565
vid, ETH_P_8021Q, extack);
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
2711
.ethertype = ETH_P_8021Q,
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
2853
mlxsw_sp_port_egress_ethtype_set(mlxsw_sp_port, ETH_P_8021Q);
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
2864
mlxsw_sp_port_egress_ethtype_set(mlxsw_sp_port, ETH_P_8021Q);
drivers/net/ethernet/micrel/ksz884x.c
4596
if (protocol == htons(ETH_P_8021Q)) {
drivers/net/ethernet/microchip/lan966x/lan966x_vlan.c
227
lan_rmw(REW_PORT_VLAN_CFG_PORT_TPID_SET(ETH_P_8021Q) |
drivers/net/ethernet/microchip/sparx5/lan969x/lan969x_rgmii.c
115
ETH_P_8021Q : ETH_P_8021AD);
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
1011
case ETH_P_8021Q:
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
66
case ETH_P_8021Q:
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
898
case ETH_P_8021Q:
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
935
case ETH_P_8021Q:
drivers/net/ethernet/microchip/vcap/vcap_tc.c
183
if (tpid == ETH_P_8021Q) {
drivers/net/ethernet/microsoft/mana/mana_en.c
1984
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci);
drivers/net/ethernet/mscc/ocelot.c
3053
ocelot_rmw_gix(ocelot, REW_PORT_VLAN_CFG_PORT_TPID(ETH_P_8021Q),
drivers/net/ethernet/mscc/ocelot_flower.c
208
case ETH_P_8021Q:
drivers/net/ethernet/mscc/ocelot_flower.c
499
case ETH_P_8021Q:
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
1297
veh->h_vlan_proto == htons(ETH_P_8021Q)) {
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
1304
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(veh->h_vlan_TCI));
drivers/net/ethernet/netronome/nfp/flower/offload.c
449
case cpu_to_be16(ETH_P_8021Q):
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
1738
ETH_P_8021Q);
drivers/net/ethernet/netronome/nfp/nfp_net_common.c
1762
ETH_P_8021Q);
drivers/net/ethernet/netronome/nfp/nfp_net_dp.c
448
tpid = ETH_P_8021Q;
drivers/net/ethernet/netronome/nfp/nfp_net_dp.c
452
tpid = ETH_P_8021Q;
drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c
124
if (vlan_proto != htons(ETH_P_8021Q)) {
drivers/net/ethernet/nvidia/forcedeth.c
2835
if (((struct vlan_ethhdr *)packet)->h_vlan_proto == htons(ETH_P_8021Q)) {
drivers/net/ethernet/nvidia/forcedeth.c
3045
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/pensando/ionic/ionic_lif.c
2457
if (proto != htons(ETH_P_8021Q))
drivers/net/ethernet/pensando/ionic/ionic_txrx.c
695
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c
1615
if (skb->protocol == htons(ETH_P_8021Q))
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
1853
if (protocol == cpu_to_be16(ETH_P_8021Q)) {
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
1930
vh->h_vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/qlogic/qed/qed_dev.c
3090
ether_type = ETH_P_8021Q;
drivers/net/ethernet/qlogic/qed/qed_iwarp.c
1688
if (eth_type == ETH_P_8021Q) {
drivers/net/ethernet/qlogic/qed/qed_ll2.c
227
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
346
outer_tag_config->outer_tag.tpid = cpu_to_le16(ETH_P_8021Q);
drivers/net/ethernet/qlogic/qede/qede_fp.c
644
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag);
drivers/net/ethernet/qlogic/qede/qede_main.c
128
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
1246
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
1347
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
1771
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
1869
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
320
if (protocol == ETH_P_8021Q) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
469
if (protocol == ETH_P_8021Q) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
527
vh->h_vlan_proto = htons(ETH_P_8021Q);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
4092
dev = __vlan_find_dev_deep_rcu(netdev, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
1926
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/qualcomm/emac/emac-mac.c
1080
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan);
drivers/net/ethernet/realtek/8139cp.c
429
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff));
drivers/net/ethernet/realtek/r8169_main.c
1870
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), swab16(opts2 & 0xffff));
drivers/net/ethernet/realtek/rtase/rtase_main.c
474
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/renesas/ravb_main.c
2085
if (net_protocol == ETH_P_8021Q) {
drivers/net/ethernet/sfc/ef10.c
3770
if (proto != htons(ETH_P_8021Q))
drivers/net/ethernet/sfc/ef10.c
3778
if (proto != htons(ETH_P_8021Q))
drivers/net/ethernet/sfc/siena/sriov.h
36
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/sfc/sriov.c
31
if (vlan_proto != htons(ETH_P_8021Q))
drivers/net/ethernet/sfc/tx_tso.c
149
if (protocol == htons(ETH_P_8021Q)) {
drivers/net/ethernet/smsc/smsc911x.c
1623
smsc911x_mac_write(pdata, VLAN1, ETH_P_8021Q);
drivers/net/ethernet/smsc/smsc9420.c
1239
smsc9420_reg_write(pd, VLAN1, ETH_P_8021Q);
drivers/net/ethernet/stmicro/stmmac/dwmac100_core.c
33
writel(ETH_P_8021Q, ioaddr + MAC_VLAN1);
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
4918
if ((vlan_proto == htons(ETH_P_8021Q) &&
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
1002
tpriv->pt.type = htons(ETH_P_8021Q);
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
1273
proto = svlan ? ETH_P_8021AD : ETH_P_8021Q;
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
1279
tpriv->pt.type = svlan ? htons(ETH_P_8021Q) : htons(ETH_P_IP);
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
138
proto[0] = htons(ETH_P_8021Q);
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
143
tag[1] = htons(ETH_P_8021Q);
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
847
proto = tpriv->double_vlan ? ETH_P_8021AD : ETH_P_8021Q;
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
922
ret = vlan_vid_add(priv->dev, htons(ETH_P_8021Q), tpriv->vlan_id);
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
958
vlan_vid_del(priv->dev, htons(ETH_P_8021Q), tpriv->vlan_id);
drivers/net/ethernet/stmicro/stmmac/stmmac_vlan.c
230
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/sun/niu.c
6569
if (eth_proto == ETH_P_8021Q) {
drivers/net/ethernet/sun/niu.c
6617
((eth_proto == ETH_P_8021Q) ? TXHDR_VLAN : 0) |
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
1223
(skb->protocol == htons(ETH_P_8021Q)))
drivers/net/ethernet/synopsys/dwc-xlgmac-net.c
1245
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/tehuti/tehuti.c
1136
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), GET_RXD_VLAN_TCI(rxd_vlan));
drivers/net/ethernet/tehuti/tn40.c
393
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/ethernet/ti/am65-cpsw-nuss.c
1850
ts_vlan_ltype = ETH_P_8021Q;
drivers/net/ethernet/ti/cpsw_priv.c
262
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vtag);
drivers/net/ethernet/ti/cpsw_priv.c
614
writel_relaxed(ETH_P_8021Q, &cpsw->regs->vlan_ltype);
drivers/net/ethernet/ti/icssg/icssg_config.c
831
pvid = (u32 __force)cpu_to_be32((ETH_P_8021Q << 16) | (vid & 0xff));
drivers/net/ethernet/toshiba/ps3_gelic_net.c
765
veth->h_vlan_proto = cpu_to_be16(ETH_P_8021Q);
drivers/net/ethernet/via/via-rhine.c
2030
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci);
drivers/net/ethernet/via/via-velocity.c
2087
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/wangxun/libwx/wx_hw.c
1555
ETH_P_8021Q | ETH_P_8021AD << 16);
drivers/net/ethernet/wangxun/libwx/wx_hw.c
1556
wx->tpid[0] = ETH_P_8021Q;
drivers/net/ethernet/wangxun/libwx/wx_hw.c
1560
ETH_P_8021Q | ETH_P_8021Q << 16);
drivers/net/ethernet/wangxun/libwx/wx_hw.c
1562
wx->tpid[i] = ETH_P_8021Q;
drivers/net/ethernet/wangxun/libwx/wx_hw.c
2040
wx_vlan_rx_add_vid(wx->netdev, htons(ETH_P_8021Q), 0);
drivers/net/ethernet/wangxun/libwx/wx_hw.c
2043
wx_vlan_rx_add_vid(wx->netdev, htons(ETH_P_8021Q), vid);
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1235
== htons(ETH_P_8021Q))
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1248
== htons(ETH_P_8021Q))
drivers/net/hyperv/netvsc_drv.c
533
if (skb->protocol == htons(ETH_P_8021Q)) {
drivers/net/hyperv/netvsc_drv.c
543
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci);
drivers/net/hyperv/netvsc_drv.c
830
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/thunderbolt/main.c
1020
if (protocol == htons(ETH_P_8021Q)) {
drivers/net/usb/aqc111.c
1159
__vlan_hwaccel_put_tag(new_skb, htons(ETH_P_8021Q),
drivers/net/usb/cdc_mbim.c
327
netdev = __vlan_find_dev_deep_rcu(dev->net, htons(ETH_P_8021Q),
drivers/net/usb/cdc_mbim.c
406
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tci);
drivers/net/usb/lan78xx.c
3852
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/usb/r8152.c
2263
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/net/usb/smsc95xx.c
1084
ret = smsc95xx_write_reg(dev, VLAN1, (u32)ETH_P_8021Q);
drivers/net/vmxnet3/vmxnet3_drv.c
1539
if (skb->protocol == cpu_to_be16(ETH_P_8021Q) ||
drivers/net/vmxnet3/vmxnet3_drv.c
1937
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rcd->tci);
drivers/net/wireless/ath/wil6210/txrx.c
1526
if (ethertype == htons(ETH_P_8021Q) && skb->len >= VLAN_ETH_HLEN)
drivers/net/wireless/intel/iwlwifi/mld/rx.c
1611
shdr->type != htons(ETH_P_8021Q) &&
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
170
shdr->type != htons(ETH_P_8021Q) &&
drivers/net/wireless/mediatek/mt76/mt7615/mac.c
612
if (get_unaligned_be16(skb->data + pad_start) == ETH_P_8021Q)
drivers/net/wireless/mediatek/mt76/mt7915/mac.c
512
if (get_unaligned_be16(skb->data + pad_start) == ETH_P_8021Q)
drivers/net/wireless/mediatek/mt76/mt7925/mac.c
564
if (get_unaligned_be16(skb->data + pad_start) == ETH_P_8021Q)
drivers/net/wireless/mediatek/mt76/mt7996/mac.c
680
if (get_unaligned_be16(skb->data + pad_start) == ETH_P_8021Q)
drivers/s390/net/qeth_core_main.c
3876
if (veth->h_vlan_proto == htons(ETH_P_8021Q))
drivers/s390/net/qeth_core_main.c
5520
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tag);
drivers/s390/net/qeth_l2_main.c
187
if (veth->h_vlan_proto == htons(ETH_P_8021Q)) {
drivers/s390/net/qeth_l3_main.c
1657
} else if (veth->h_vlan_proto == htons(ETH_P_8021Q)) {
drivers/scsi/fcoe/fcoe.c
1534
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
drivers/scsi/qedf/qedf_fip.c
145
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), qedf->vlan_id);
drivers/scsi/qedf/qedf_main.c
1209
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), qedf->vlan_id);
drivers/scsi/qedf/qedf_main.c
2636
if (eh->h_proto == htons(ETH_P_8021Q)) {
drivers/scsi/qedi/qedi_iscsi.c
1254
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlanid);
drivers/scsi/qedi/qedi_main.c
687
if (eh->h_proto == htons(ETH_P_8021Q)) {
drivers/scsi/qedi/qedi_main.c
723
__vlan_insert_tag(work->skb, htons(ETH_P_8021Q), work->vlan_id);
include/linux/dsa/ocelot.h
321
*tag_type = (proto != ETH_P_8021Q) ? IFH_TAG_TYPE_S : IFH_TAG_TYPE_C;
include/linux/if_vlan.h
324
case htons(ETH_P_8021Q):
include/linux/if_vlan.h
335
if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX)
include/net/erspan.h
197
if (eth->h_proto == htons(ETH_P_8021Q)) {
include/net/erspan.h
291
if (eth->h_proto == htons(ETH_P_8021Q)) {
net/8021q/vlan.c
228
err = vlan_check_real_dev(real_dev, htons(ETH_P_8021Q), vlan_id,
net/8021q/vlan.c
272
vlan->vlan_proto = htons(ETH_P_8021Q);
net/8021q/vlan.c
372
err = vlan_vid_add(dev, htons(ETH_P_8021Q), 0);
net/8021q/vlan.c
388
vlan_vid_del(dev, htons(ETH_P_8021Q), 0);
net/8021q/vlan.c
533
err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021Q));
net/8021q/vlan.c
539
vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021Q));
net/8021q/vlan.h
43
case htons(ETH_P_8021Q):
net/8021q/vlan_core.c
171
if (proto == htons(ETH_P_8021Q) &&
net/8021q/vlan_core.c
533
.type = cpu_to_be16(ETH_P_8021Q),
net/8021q/vlan_gvrp.c
32
if (vlan->vlan_proto != htons(ETH_P_8021Q))
net/8021q/vlan_gvrp.c
43
if (vlan->vlan_proto != htons(ETH_P_8021Q))
net/8021q/vlan_mvrp.c
38
if (vlan->vlan_proto != htons(ETH_P_8021Q))
net/8021q/vlan_mvrp.c
49
if (vlan->vlan_proto != htons(ETH_P_8021Q))
net/8021q/vlan_netlink.c
168
htons(ETH_P_8021Q));
net/8021q/vlan_netlink.c
64
case htons(ETH_P_8021Q):
net/batman-adv/bridge_loop_avoidance.c
1115
} while (proto == htons(ETH_P_8021Q));
net/batman-adv/bridge_loop_avoidance.c
435
skb = vlan_insert_tag(skb, htons(ETH_P_8021Q),
net/batman-adv/distributed-arp-table.c
1109
skb = vlan_insert_tag(skb, htons(ETH_P_8021Q),
net/batman-adv/gateway_client.c
574
if (proto == htons(ETH_P_8021Q)) {
net/batman-adv/main.c
355
case htons(ETH_P_8021Q):
net/batman-adv/main.c
577
if (ethhdr->h_proto != htons(ETH_P_8021Q))
net/batman-adv/mesh-interface.c
208
case ETH_P_8021Q:
net/batman-adv/mesh-interface.c
431
case ETH_P_8021Q:
net/batman-adv/mesh-interface.c
624
if (proto != htons(ETH_P_8021Q))
net/batman-adv/mesh-interface.c
679
if (proto != htons(ETH_P_8021Q))
net/bluetooth/bnep/core.c
358
if (ntohs(s->eh.h_proto) == ETH_P_8021Q) {
net/bridge/br_netfilter_hooks.c
175
case __cpu_to_be16(ETH_P_8021Q):
net/bridge/br_netfilter_hooks.c
260
skb->protocol = htons(ETH_P_8021Q);
net/bridge/br_netfilter_hooks.c
462
if (skb->protocol == htons(ETH_P_8021Q))
net/bridge/br_netfilter_hooks.c
85
else if (skb->protocol == htons(ETH_P_8021Q))
net/bridge/br_vlan.c
1237
br->vlan_proto = htons(ETH_P_8021Q);
net/bridge/br_vlan.c
868
br->vlan_proto == htons(ETH_P_8021Q)) {
net/bridge/br_vlan.c
882
br->vlan_proto == htons(ETH_P_8021Q))
net/bridge/netfilter/ebt_vlan.c
83
if (e->ethproto != htons(ETH_P_8021Q)) {
net/bridge/netfilter/ebtables.c
139
ethproto = htons(ETH_P_8021Q);
net/core/dev.c
5924
case htons(ETH_P_8021Q):
net/core/filter.c
3219
if (unlikely(vlan_proto != htons(ETH_P_8021Q) &&
net/core/filter.c
3221
vlan_proto = htons(ETH_P_8021Q);
net/core/flow_dissector.c
1298
case htons(ETH_P_8021Q): {
net/core/pktgen.c
2947
protocol = htons(ETH_P_8021Q);
net/core/pktgen.c
2978
*svlan_encapsulated_proto = htons(ETH_P_8021Q);
net/core/pktgen.c
3075
protocol = htons(ETH_P_8021Q);
net/core/pktgen.c
3106
*svlan_encapsulated_proto = htons(ETH_P_8021Q);
net/core/rtnetlink.c
1554
ivi.vlan_proto = htons(ETH_P_8021Q);
net/core/rtnetlink.c
2809
htons(ETH_P_8021Q));
net/dsa/port.c
1329
vlan_vid_add(conduit, htons(ETH_P_8021Q), vlan->vid);
net/dsa/port.c
1348
vlan_vid_del(conduit, htons(ETH_P_8021Q), vlan->vid);
net/dsa/tag_brcm.c
248
if (proto[0] == htons(ETH_P_8021Q) && proto[1] == 0)
net/dsa/tag_dsa.c
164
if (skb->protocol == htons(ETH_P_8021Q) &&
net/dsa/tag_dsa.c
298
new_header[0] = (ETH_P_8021Q >> 8) & 0xff;
net/dsa/tag_dsa.c
299
new_header[1] = ETH_P_8021Q & 0xff;
net/dsa/tag_lan9303.c
74
lan9303_tag[0] = htons(ETH_P_8021Q);
net/dsa/tag_mtk.c
39
case htons(ETH_P_8021Q):
net/dsa/tag_ocelot.c
139
vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q;
net/dsa/tag_ocelot_8021q.c
75
return dsa_8021q_xmit(skb, netdev, ETH_P_8021Q,
net/dsa/tag_sja1105.c
466
return tpid == ETH_P_SJA1105 || tpid == ETH_P_8021Q ||
net/dsa/tag_vsc73xx_8021q.c
31
return dsa_8021q_xmit(skb, netdev, ETH_P_8021Q,
net/dsa/user.c
1924
__be16 proto = vdev ? vlan_dev_vlan_proto(vdev) : htons(ETH_P_8021Q);
net/dsa/user.c
1931
__be16 proto = vdev ? vlan_dev_vlan_proto(vdev) : htons(ETH_P_8021Q);
net/hsr/hsr_forward.c
709
if (proto == htons(ETH_P_8021Q))
net/hsr/hsr_main.h
272
if (ethhdr->h_proto == htons(ETH_P_8021Q))
net/mac80211/tx.c
4402
if (ethertype == htons(ETH_P_8021Q) && skb->len >= VLAN_ETH_HLEN)
net/netfilter/nf_flow_table_inet.c
19
case htons(ETH_P_8021Q):
net/netfilter/nf_flow_table_ip.c
178
case htons(ETH_P_8021Q):
net/netfilter/nf_flow_table_ip.c
399
case htons(ETH_P_8021Q):
net/netfilter/nf_flow_table_ip.c
446
case htons(ETH_P_8021Q):
net/netfilter/nf_flow_table_ip.c
739
case htons(ETH_P_8021Q):
net/netfilter/nf_flow_table_offload.c
123
tuple->encap[0].proto == htons(ETH_P_8021Q)) {
net/netfilter/nf_flow_table_offload.c
132
tuple->encap[1].proto == htons(ETH_P_8021Q)) {
net/netfilter/nf_flow_table_offload.c
706
if (tuple->encap[i].proto == htons(ETH_P_8021Q)) {
net/netfilter/nf_flow_table_offload.c
731
case htons(ETH_P_8021Q):
net/netfilter/nf_tables_offload.c
63
(match->key.vlan.vlan_tpid == htons(ETH_P_8021Q) ||
net/netfilter/nf_tables_offload.c
76
(match->key.basic.n_proto == htons(ETH_P_8021Q) ||
net/netfilter/nft_inner.c
117
if (llproto == htons(ETH_P_8021Q))
net/netfilter/nft_inner.c
80
case htons(ETH_P_8021Q):
net/packet/af_packet.c
1849
return likely(eth_hdr(skb)->h_proto == htons(ETH_P_8021Q));
net/sched/act_csum.c
602
case cpu_to_be16(ETH_P_8021Q):
net/sched/act_vlan.c
178
case htons(ETH_P_8021Q):
net/sched/act_vlan.c
189
push_proto = htons(ETH_P_8021Q);
samples/bpf/parse_varlen.c
126
if (h_proto == ETH_P_8021Q || h_proto == ETH_P_8021AD) {
samples/bpf/parse_varlen.c
135
if (h_proto == ETH_P_8021Q || h_proto == ETH_P_8021AD) {
samples/bpf/sockex2_kern.c
113
if (proto == ETH_P_8021Q) {
samples/bpf/sockex2_kern.c
150
if (proto == ETH_P_8021Q) {
samples/bpf/sockex3_kern.c
276
case ETH_P_8021Q:
samples/bpf/xdp_router_ipv4.bpf.c
92
if (h_proto == bpf_htons(ETH_P_8021Q) ||
tools/net/ynl/samples/tc-filter-add.c
134
req->_hdr.tcm_info = TC_H_MAKE(1 << 16, htons(ETH_P_8021Q));
tools/net/ynl/samples/tc-filter-add.c
217
req->_hdr.tcm_info = TC_H_MAKE(1 << 16, htons(ETH_P_8021Q));
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
145
.eth.h_proto = __bpf_constant_htons(ETH_P_8021Q),
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
169
.vlan_proto = __bpf_constant_htons(ETH_P_8021Q),
tools/testing/selftests/bpf/prog_tests/xdp_metadata.c
43
#define VLAN_PID htons(ETH_P_8021Q)
tools/testing/selftests/bpf/progs/bpf_flow.c
131
case bpf_htons(ETH_P_8021Q):
tools/testing/selftests/bpf/progs/bpf_flow.c
415
if (vlan->h_vlan_encapsulated_proto != bpf_htons(ETH_P_8021Q))
tools/testing/selftests/bpf/progs/bpf_flow.c
430
vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021Q))
tools/testing/selftests/bpf/progs/test_xdp_vlan.c
260
bpf_skb_vlan_push(ctx, bpf_htons(ETH_P_8021Q), TESTVLAN);
tools/testing/selftests/bpf/progs/test_xdp_vlan.c
70
if (eth_type == bpf_htons(ETH_P_8021Q)
tools/testing/selftests/bpf/progs/test_xdp_vlan.c
83
if (eth_type == bpf_htons(ETH_P_8021Q)
tools/testing/selftests/bpf/progs/xdp_hw_metadata.c
43
eth->h_proto == bpf_htons(ETH_P_8021Q)))
tools/testing/selftests/bpf/progs/xdp_hw_metadata.c
46
if (eth + 1 < data_end && eth->h_proto == bpf_htons(ETH_P_8021Q))
tools/testing/selftests/bpf/xdp_metadata.h
12
#ifndef ETH_P_8021Q
tools/testing/selftests/net/psock_snd.c
108
eth->h_proto = htons(ETH_P_8021Q);