/openbmc/linux/samples/bpf/ |
H A 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()
|
H A D | xdp_router_ipv4.bpf.c | 14 #define ETH_P_8021AD 0x88A8 macro 93 h_proto == bpf_htons(ETH_P_8021AD)) { in xdp_router_ipv4_prog()
|
H A D | net_shared.h | 11 #define ETH_P_8021AD 0x88A8 macro
|
H A D | sockex2_kern.c | 108 if (proto == ETH_P_8021AD) { in flow_dissector()
|
H A D | sockex3_kern.c | 277 case ETH_P_8021AD: in parse_eth_proto()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A 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()
|
H A D | bpf_flow.c | 132 case bpf_htons(ETH_P_8021AD): in parse_eth_proto() 410 if (keys->n_proto == bpf_htons(ETH_P_8021AD)) { in PROG() 429 if (vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021AD) || in PROG()
|
/openbmc/u-boot/include/linux/ |
H A D | if_ether.h | 91 #define ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */ macro
|
/openbmc/linux/net/dsa/ |
H A D | tag_mtk.c | 42 case htons(ETH_P_8021AD): in mtk_tag_xmit()
|
H A D | tag_ocelot.c | 141 vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q; in ocelot_rcv()
|
/openbmc/linux/include/uapi/linux/ |
H A D | if_ether.h | 93 #define ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */ macro
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | bridge.c | 110 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_ingress_vlan_proto_fg_create() 147 return mlx5_esw_bridge_ingress_vlan_proto_fg_create(from, to, ETH_P_8021AD, esw, in mlx5_esw_bridge_ingress_qinq_fg_create() 172 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create() 207 return mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create(from, to, ETH_P_8021AD, esw, in mlx5_esw_bridge_ingress_qinq_filter_fg_create() 267 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_egress_vlan_proto_fg_create() 299 return mlx5_esw_bridge_egress_vlan_proto_fg_create(from, to, ETH_P_8021AD, esw, egress_ft); in mlx5_esw_bridge_egress_qinq_fg_create() 616 } else if (bridge->vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_ingress_flow_with_esw_create() 722 } else if (bridge->vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_ingress_filter_flow_create() 780 } else if (bridge->vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_egress_flow_create() 1499 if (proto != ETH_P_8021Q && proto != ETH_P_8021AD) { in mlx5_esw_bridge_vlan_proto_set()
|
H A D | bridge_mcast.c | 99 } else if (bridge->vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_mdb_flow_create() 384 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_mcast_vlan_proto_fg_create() 417 return mlx5_esw_bridge_mcast_vlan_proto_fg_create(from, to, ETH_P_8021AD, esw, mcast_ft); in mlx5_esw_bridge_mcast_qinq_fg_create() 602 } else if (vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_mcast_vlan_flow_create()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A 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()
|
/openbmc/linux/include/linux/ |
H A D | if_vlan.h | 319 case htons(ETH_P_8021AD): in eth_type_vlan() 331 if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX) in vlan_hw_offload_capable()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc_flower.c | 71 case ETH_P_8021AD: in sparx5_tc_flower_es0_tpid() 893 case ETH_P_8021AD: in sparx5_tc_action_vlan_pop() 934 case ETH_P_8021AD: in sparx5_tc_action_vlan_modify() 994 if (tpid == ETH_P_8021AD) { in sparx5_tc_action_vlan_push() 1007 case ETH_P_8021AD: in sparx5_tc_action_vlan_push()
|
/openbmc/linux/net/8021q/ |
H A D | vlan.h | 44 case htons(ETH_P_8021AD): in vlan_proto_idx()
|
H A D | vlan_core.c | 174 if (proto == htons(ETH_P_8021AD) && in vlan_hw_filter_capable() 541 .type = cpu_to_be16(ETH_P_8021AD),
|
H A D | vlan.c | 517 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021AD)); in vlan_device_event() 523 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021AD)); in vlan_device_event()
|
H A D | vlan_netlink.c | 65 case htons(ETH_P_8021AD): in vlan_validate()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_vsi_vlan_lib.c | 26 if (vlan->tpid != ETH_P_8021Q && vlan->tpid != ETH_P_8021AD && in validate_vlan() 432 case ETH_P_8021AD: in tpid_to_vsi_outer_vlan_type()
|
H A D | ice_txrx_lib.c | 218 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021AD), vlan_tag); in ice_receive_skb()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_tables_offload.c | 64 match->key.vlan.vlan_tpid == htons(ETH_P_8021AD))) { in nft_flow_rule_transfer_vlan() 77 match->key.basic.n_proto == htons(ETH_P_8021AD))) { in nft_flow_rule_transfer_vlan()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A 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() 1273 proto = svlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlanoff_common()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_virtchnl.c | 1188 case ETH_P_8021AD: in iavf_tpid_to_vc_ethertype() 1259 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required() 1267 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required() 1275 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required() 1283 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required()
|