Symbol: ETH_P_8021AD
drivers/net/dsa/ocelot/felix.c
573
err = dsa_tag_8021q_register(ds, htons(ETH_P_8021AD));
drivers/net/dsa/sja1105/sja1105_main.c
2389
tpid2 = ETH_P_8021AD;
drivers/net/ethernet/airoha/airoha_eth.c
1884
ehdr->h_proto = cpu_to_be16(ETH_P_8021AD);
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c
510
hw_atl_rpf_vlan_outer_etht_set(self, ETH_P_8021AD);
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
333
vlan_proto = ETH_P_8021AD;
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
754
vlan_proto = htons(ETH_P_8021AD);
drivers/net/ethernet/broadcom/bnx2.c
3252
skb->protocol != htons(ETH_P_8021AD)) {
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
941
start_params->sd_vlan_eth_type = ETH_P_8021AD;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
942
REG_WR(bp, PRS_REG_VLAN_TYPE_0, ETH_P_8021AD);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
943
REG_WR(bp, PBF_REG_VLAN_TYPE_0, ETH_P_8021AD);
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
944
REG_WR(bp, NIG_REG_LLH_E1HOV_TYPE_1, ETH_P_8021AD);
drivers/net/ethernet/broadcom/bnxt/bnxt.c
1532
vlan_proto = ETH_P_8021AD;
drivers/net/ethernet/broadcom/bnxt/bnxt.c
2066
vlan_proto = htons(ETH_P_8021AD);
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c
258
(vlan_proto != htons(ETH_P_8021AD) ||
drivers/net/ethernet/broadcom/tg3.c
6963
skb->protocol != htons(ETH_P_8021AD)) {
drivers/net/ethernet/broadcom/tg3.c
8020
skb->protocol == htons(ETH_P_8021AD)) {
drivers/net/ethernet/broadcom/tg3.c
8083
skb->protocol == htons(ETH_P_8021AD)) {
drivers/net/ethernet/freescale/enetc/enetc.c
1433
tpid = htons(ETH_P_8021AD);
drivers/net/ethernet/fungible/funeth/funeth_main.c
1241
vlan_proto != htons(ETH_P_8021AD))
drivers/net/ethernet/intel/i40e/i40e_main.c
15622
hw->first_tag = ETH_P_8021AD;
drivers/net/ethernet/intel/iavf/iavf_main.c
2199
iavf_disable_vlan_stripping_v2(adapter, ETH_P_8021AD);
drivers/net/ethernet/intel/iavf/iavf_main.c
2207
iavf_enable_vlan_stripping_v2(adapter, ETH_P_8021AD);
drivers/net/ethernet/intel/iavf/iavf_main.c
2215
iavf_disable_vlan_insertion_v2(adapter, ETH_P_8021AD);
drivers/net/ethernet/intel/iavf/iavf_main.c
2223
iavf_enable_vlan_insertion_v2(adapter, ETH_P_8021AD);
drivers/net/ethernet/intel/iavf/iavf_main.c
2265
vlan_ethertype = ETH_P_8021AD;
drivers/net/ethernet/intel/iavf/iavf_main.c
2269
vlan_ethertype = ETH_P_8021AD;
drivers/net/ethernet/intel/iavf/iavf_main.c
2303
case ETH_P_8021AD:
drivers/net/ethernet/intel/iavf/iavf_txrx.c
847
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021AD), vlan_tag);
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
1329
case ETH_P_8021AD:
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
1400
else if (tpid == ETH_P_8021AD)
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
1408
else if (tpid == ETH_P_8021AD)
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
1416
else if (tpid == ETH_P_8021AD)
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
1424
else if (tpid == ETH_P_8021AD)
drivers/net/ethernet/intel/ice/ice_main.c
6366
vlan_ethertype = ETH_P_8021AD;
drivers/net/ethernet/intel/ice/ice_sriov.c
1659
case ETH_P_8021AD:
drivers/net/ethernet/intel/ice/ice_tc_lib.c
175
case ETH_P_8021AD:
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
432
case ETH_P_8021AD:
drivers/net/ethernet/intel/ice/virt/virtchnl.c
1699
case ETH_P_8021AD:
drivers/net/ethernet/intel/ice/virt/virtchnl.c
2134
*tpid = ETH_P_8021AD;
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
1576
err = mvpp2_prs_vlan_add(priv, ETH_P_8021AD, MVPP2_PRS_SINGLE_VLAN_AI,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
895
vlan_etype != ETH_P_8021AD)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
1080
if (skb->vlan_proto == htons(ETH_P_8021AD)) {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
765
} else if (skb->vlan_proto == htons(ETH_P_8021AD)) {
drivers/net/ethernet/mellanox/mlx4/cmd.c
2011
if (vp_admin->vlan_proto != htons(ETH_P_8021AD) ||
drivers/net/ethernet/mellanox/mlx4/cmd.c
3017
if (proto == htons(ETH_P_8021AD) &&
drivers/net/ethernet/mellanox/mlx4/cmd.c
3022
proto != htons(ETH_P_8021AD))
drivers/net/ethernet/mellanox/mlx4/cmd.c
3025
if ((proto == htons(ETH_P_8021AD)) &&
drivers/net/ethernet/mellanox/mlx4/cmd.c
3034
if ((proto == htons(ETH_P_8021AD)) && (slave_state->active) &&
drivers/net/ethernet/mellanox/mlx4/cmd.c
3063
if ((proto == htons(ETH_P_8021AD) &&
drivers/net/ethernet/mellanox/mlx4/en_rx.c
918
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021AD),
drivers/net/ethernet/mellanox/mlx4/en_tx.c
910
if (vlan_proto == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlx4/fw.c
301
if ((vp_admin->vlan_proto != htons(ETH_P_8021AD)) ||
drivers/net/ethernet/mellanox/mlx4/fw.c
446
if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD))
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
5319
else if (work->vlan_proto == htons(ETH_P_8021AD))
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
5370
if (work->vlan_proto == htons(ETH_P_8021AD))
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
799
if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) {
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c
824
if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD))
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c
505
else if (be16_to_cpu(proto) == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c
523
} else if (be16_to_cpu(proto) == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
2815
if (match.key->vlan_tpid == htons(ETH_P_8021AD)) {
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
2873
if (match.key->vlan_tpid == htons(ETH_P_8021AD)) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
111
else if (vlan_proto == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
148
return mlx5_esw_bridge_ingress_vlan_proto_fg_create(from, to, ETH_P_8021AD, esw,
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
173
else if (vlan_proto == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
208
return mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create(from, to, ETH_P_8021AD, esw,
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
268
else if (vlan_proto == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
300
return mlx5_esw_bridge_egress_vlan_proto_fg_create(from, to, ETH_P_8021AD, esw, egress_ft);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
618
} else if (bridge->vlan_proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
726
} else if (bridge->vlan_proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c
784
} else if (bridge->vlan_proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
384
else if (vlan_proto == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
417
return mlx5_esw_bridge_mcast_vlan_proto_fg_create(from, to, ETH_P_8021AD, esw, mcast_ft);
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
602
} else if (vlan_proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c
99
} else if (bridge->vlan_proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
374
case ETH_P_8021AD:
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
4781
proto != ETH_P_8021Q && proto != ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
4787
proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
4797
if (proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
5131
if (proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c
484
case ETH_P_8021AD:
drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c
123
if (params->ethertype == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
9292
if (proto == ETH_P_8021AD) {
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
2817
vid, ETH_P_8021AD, extack);
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
283
if (proto == ETH_P_8021AD)
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
2841
err = mlxsw_sp_port_egress_ethtype_set(mlxsw_sp_port, ETH_P_8021AD);
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
1000
if (tpid == ETH_P_8021AD) {
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
1013
case ETH_P_8021AD:
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
71
case ETH_P_8021AD:
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
899
case ETH_P_8021AD:
drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c
940
case ETH_P_8021AD:
drivers/net/ethernet/mscc/ocelot.c
3034
ocelot_port_writel(ocelot_port, DEV_MAC_TAGS_CFG_TAG_ID(ETH_P_8021AD) |
drivers/net/ethernet/mscc/ocelot.c
3219
ocelot_write(ocelot, ETH_P_8021AD, SYS_VLAN_ETYPE_CFG);
drivers/net/ethernet/mscc/ocelot_flower.c
211
case ETH_P_8021AD:
drivers/net/ethernet/mscc/ocelot_flower.c
502
case ETH_P_8021AD:
drivers/net/ethernet/netronome/nfp/nfp_net_dp.c
454
tpid = ETH_P_8021AD;
drivers/net/ethernet/qlogic/qed/qed_dev.c
3092
ether_type = ETH_P_8021AD;
drivers/net/ethernet/qlogic/qed/qed_sp_commands.c
348
outer_tag_config->outer_tag.tpid = cpu_to_le16(ETH_P_8021AD);
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
4920
(vlan_proto == htons(ETH_P_8021AD) &&
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
6792
if (be16_to_cpu(proto) == ETH_P_8021AD)
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
6834
if (be16_to_cpu(proto) == ETH_P_8021AD)
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
1016
ret = vlan_vid_add(priv->dev, htons(ETH_P_8021AD), tpriv->vlan_id);
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
1052
vlan_vid_del(priv->dev, htons(ETH_P_8021AD), tpriv->vlan_id);
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
142
proto[0] = htons(ETH_P_8021AD);
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
847
proto = tpriv->double_vlan ? ETH_P_8021AD : ETH_P_8021Q;
drivers/net/ethernet/wangxun/libwx/wx_hw.c
1555
ETH_P_8021Q | ETH_P_8021AD << 16);
drivers/net/ethernet/wangxun/libwx/wx_hw.c
1557
wx->tpid[1] = ETH_P_8021AD;
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1426
if (skb->vlan_proto == htons(ETH_P_8021AD) &&
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1564
if (skb->vlan_proto == htons(ETH_P_8021AD) &&
drivers/net/phy/mscc/mscc_ptp.c
548
ANA_ETH1_NTX_PROT_VLAN_TPID(ETH_P_8021AD));
drivers/net/vmxnet3/vmxnet3_drv.c
1540
skb->protocol == cpu_to_be16(ETH_P_8021AD))
include/linux/if_vlan.h
325
case htons(ETH_P_8021AD):
include/linux/if_vlan.h
337
if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX)
net/8021q/vlan.c
543
err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021AD));
net/8021q/vlan.c
549
vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021AD));
net/8021q/vlan.h
45
case htons(ETH_P_8021AD):
net/8021q/vlan_core.c
174
if (proto == htons(ETH_P_8021AD) &&
net/8021q/vlan_core.c
541
.type = cpu_to_be16(ETH_P_8021AD),
net/8021q/vlan_netlink.c
65
case htons(ETH_P_8021AD):
net/core/dev.c
5925
case htons(ETH_P_8021AD):
net/core/filter.c
3220
vlan_proto != htons(ETH_P_8021AD)))
net/core/flow_dissector.c
1297
case htons(ETH_P_8021AD):
net/dsa/tag_mtk.c
42
case htons(ETH_P_8021AD):
net/dsa/tag_ocelot.c
139
vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q;
net/netfilter/nf_flow_table_ip.c
740
case htons(ETH_P_8021AD):
net/netfilter/nf_tables_offload.c
64
match->key.vlan.vlan_tpid == htons(ETH_P_8021AD))) {
net/netfilter/nf_tables_offload.c
77
match->key.basic.n_proto == htons(ETH_P_8021AD))) {
net/sched/act_csum.c
600
case cpu_to_be16(ETH_P_8021AD):
net/sched/act_vlan.c
179
case htons(ETH_P_8021AD):
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
107
if (proto == ETH_P_8021AD) {
samples/bpf/sockex3_kern.c
277
case ETH_P_8021AD:
samples/bpf/xdp_router_ipv4.bpf.c
93
h_proto == bpf_htons(ETH_P_8021AD)) {
tools/testing/selftests/bpf/prog_tests/flow_dissector.c
168
.eth.h_proto = __bpf_constant_htons(ETH_P_8021AD),
tools/testing/selftests/bpf/progs/bpf_flow.c
132
case bpf_htons(ETH_P_8021AD):
tools/testing/selftests/bpf/progs/bpf_flow.c
410
if (keys->n_proto == bpf_htons(ETH_P_8021AD)) {
tools/testing/selftests/bpf/progs/bpf_flow.c
429
if (vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021AD) ||
tools/testing/selftests/bpf/progs/test_xdp_vlan.c
71
|| eth_type == bpf_htons(ETH_P_8021AD)) {
tools/testing/selftests/bpf/progs/test_xdp_vlan.c
84
|| eth_type == bpf_htons(ETH_P_8021AD)) {
tools/testing/selftests/bpf/progs/xdp_hw_metadata.c
42
if (eth + 1 < data_end && (eth->h_proto == bpf_htons(ETH_P_8021AD) ||
tools/testing/selftests/bpf/xdp_metadata.h
16
#ifndef ETH_P_8021AD