/Linux-v5.10/samples/bpf/ |
D | xdp1_kern.c | 60 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1() 69 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
|
D | xdp2_kern.c | 76 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1() 85 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
|
D | parse_varlen.c | 126 if (h_proto == ETH_P_8021Q || h_proto == ETH_P_8021AD) { in handle_ingress() 135 if (h_proto == ETH_P_8021Q || h_proto == ETH_P_8021AD) { in handle_ingress()
|
D | xdp_router_ipv4_kern.c | 129 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_router_ipv4_prog()
|
D | sockex2_kern.c | 108 if (proto == ETH_P_8021AD) { in flow_dissector()
|
D | xdp_redirect_cpu_kern.c | 132 if (eth_type == htons(ETH_P_8021Q) || eth_type == htons(ETH_P_8021AD)) { in parse_eth() 142 if (eth_type == htons(ETH_P_8021Q) || eth_type == htons(ETH_P_8021AD)) { in parse_eth()
|
D | sockex3_kern.c | 46 case ETH_P_8021AD: in parse_eth_proto()
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | test_xdp_vlan.c | 71 || eth_type == bpf_htons(ETH_P_8021AD)) { in parse_eth_frame() 84 || eth_type == bpf_htons(ETH_P_8021AD)) { in parse_eth_frame()
|
D | bpf_flow.c | 131 case bpf_htons(ETH_P_8021AD): in parse_eth_proto() 394 if (keys->n_proto == bpf_htons(ETH_P_8021AD)) { in PROG() 413 if (vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021AD) || in PROG()
|
/Linux-v5.10/drivers/net/dsa/sja1105/ |
D | sja1105_spi.c | 548 .qinq_tpid = ETH_P_8021AD, 566 .qinq_tpid = ETH_P_8021AD, 584 .qinq_tpid = ETH_P_8021AD, 603 .qinq_tpid = ETH_P_8021AD,
|
/Linux-v5.10/include/uapi/linux/ |
D | if_ether.h | 90 #define ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */ macro
|
/Linux-v5.10/net/dsa/ |
D | tag_ocelot.c | 253 vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q; in ocelot_rcv()
|
/Linux-v5.10/include/linux/ |
D | if_vlan.h | 306 case htons(ETH_P_8021AD): in eth_type_vlan() 318 if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX) in vlan_hw_offload_capable()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.h | 941 start_params->sd_vlan_eth_type = ETH_P_8021AD; in bnx2x_func_start() 942 REG_WR(bp, PRS_REG_VLAN_TYPE_0, ETH_P_8021AD); in bnx2x_func_start() 943 REG_WR(bp, PBF_REG_VLAN_TYPE_0, ETH_P_8021AD); in bnx2x_func_start() 944 REG_WR(bp, NIG_REG_LLH_E1HOV_TYPE_1, ETH_P_8021AD); in bnx2x_func_start()
|
/Linux-v5.10/net/8021q/ |
D | vlan.h | 44 case htons(ETH_P_8021AD): in vlan_proto_idx()
|
D | vlan_core.c | 173 if (proto == htons(ETH_P_8021AD) && in vlan_hw_filter_capable() 534 .type = cpu_to_be16(ETH_P_8021AD),
|
D | vlan.c | 522 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021AD)); in vlan_device_event() 528 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021AD)); in vlan_device_event()
|
D | vlan_netlink.c | 65 case htons(ETH_P_8021AD): in vlan_validate()
|
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_selftests.c | 142 proto[0] = htons(ETH_P_8021AD); in stmmac_test_get_udp_skb() 847 proto = tpriv->double_vlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlan_validate() 1016 ret = vlan_vid_add(priv->dev, htons(ETH_P_8021AD), tpriv->vlan_id); in __stmmac_test_dvlanfilt() 1052 vlan_vid_del(priv->dev, htons(ETH_P_8021AD), tpriv->vlan_id); in __stmmac_test_dvlanfilt() 1274 proto = svlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlanoff_common()
|
/Linux-v5.10/net/bridge/ |
D | br_forward.c | 43 skb->protocol == htons(ETH_P_8021AD))) { in br_dev_queue_push_xmit()
|
/Linux-v5.10/net/sched/ |
D | act_vlan.c | 179 case htons(ETH_P_8021AD): in tcf_vlan_init()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 2016 if (vp_admin->vlan_proto != htons(ETH_P_8021AD) || in mlx4_master_activate_admin_state() 3025 if (proto == htons(ETH_P_8021AD) && in mlx4_set_vf_vlan() 3030 proto != htons(ETH_P_8021AD)) in mlx4_set_vf_vlan() 3033 if ((proto == htons(ETH_P_8021AD)) && in mlx4_set_vf_vlan() 3042 if ((proto == htons(ETH_P_8021AD)) && (slave_state->active) && in mlx4_set_vf_vlan() 3071 if ((proto == htons(ETH_P_8021AD) && in mlx4_set_vf_vlan()
|
/Linux-v5.10/drivers/net/ |
D | tap.c | 717 skb->protocol == htons(ETH_P_8021AD)) && in tap_get_user() 1170 skb->protocol == htons(ETH_P_8021AD)) && in tap_get_user_xdp()
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_sp_commands.c | 346 outer_tag_config->outer_tag.tpid = cpu_to_le16(ETH_P_8021AD); in qed_sp_pf_start()
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 174 .eth.h_proto = __bpf_constant_htons(ETH_P_8021AD),
|