Home
last modified time | relevance | path

Searched refs:ETH_P_8021AD (Results 1 – 25 of 59) sorted by relevance

123

/linux/tools/testing/selftests/bpf/
H A Dxdp_metadata.h16 #ifndef ETH_P_8021AD
17 #define ETH_P_8021AD 0x88A8 macro
/linux/samples/bpf/
H A Dparse_varlen.c126 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 Dxdp_router_ipv4.bpf.c14 #define ETH_P_8021AD 0x88A8 macro
93 h_proto == bpf_htons(ETH_P_8021AD)) { in xdp_router_ipv4_prog()
H A Dnet_shared.h11 #define ETH_P_8021AD 0x88A8 macro
H A Dsockex2_kern.c107 if (proto == ETH_P_8021AD) { in flow_dissector()
H A Dsockex3_kern.c277 case ETH_P_8021AD: in parse_eth_proto()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_vlan.c71 || 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 Dbpf_flow.c132 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()
H A Dxdp_hw_metadata.c42 if (eth + 1 < data_end && (eth->h_proto == bpf_htons(ETH_P_8021AD) || in rx()
/linux/net/dsa/
H A Dtag_mtk.c42 case htons(ETH_P_8021AD): in mtk_tag_xmit()
H A Dtag_ocelot.c141 vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q; in ocelot_rcv()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge.c111 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
148 return mlx5_esw_bridge_ingress_vlan_proto_fg_create(from, to, ETH_P_8021AD, esw, in mlx5_esw_bridge_ingress_qinq_fg_create()
173 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create()
208 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()
268 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_egress_vlan_proto_fg_create()
300 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()
618 } else if (bridge->vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_ingress_flow_with_esw_create()
726 } else if (bridge->vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_ingress_filter_flow_create()
784 } else if (bridge->vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_egress_flow_create()
1502 if (proto != ETH_P_8021Q && proto != ETH_P_8021AD) { in mlx5_esw_bridge_vlan_proto_set()
H A Dbridge_mcast.c99 } 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()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.h941 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/net/8021q/
H A Dvlan_core.c174 if (proto == htons(ETH_P_8021AD) && in vlan_hw_filter_capable()
541 .type = cpu_to_be16(ETH_P_8021AD),
H A Dvlan.h45 case htons(ETH_P_8021AD): in vlan_proto_idx()
H A Dvlan.c483 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021AD)); in vlan_device_event()
489 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021AD)); in vlan_device_event()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_vsi_vlan_lib.c26 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()
/linux/net/netfilter/
H A Dnf_tables_offload.c64 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()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c141 proto[0] = htons(ETH_P_8021AD); in stmmac_test_get_udp_skb()
858 proto = tpriv->double_vlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlan_validate()
1027 ret = vlan_vid_add(priv->dev, htons(ETH_P_8021AD), tpriv->vlan_id); in __stmmac_test_dvlanfilt()
1063 vlan_vid_del(priv->dev, htons(ETH_P_8021AD), tpriv->vlan_id); in __stmmac_test_dvlanfilt()
1284 proto = svlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlanoff_common()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_nve_vxlan.c123 if (params->ethertype == ETH_P_8021AD) { in mlxsw_sp1_nve_vxlan_can_offload()
/linux/net/sched/
H A Dact_vlan.c179 case htons(ETH_P_8021AD): in tcf_vlan_init()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_dp.c454 tpid = ETH_P_8021AD; in nfp_net_vlan_strip()
/linux/drivers/net/netdevsim/
H A Dnetdev.c570 else if (proto == htons(ETH_P_8021AD)) in nsim_vlan_rx_add_vid()
585 else if (proto == htons(ETH_P_8021AD)) in nsim_vlan_rx_kill_vid()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_sp_commands.c348 outer_tag_config->outer_tag.tpid = cpu_to_le16(ETH_P_8021AD); in qed_sp_pf_start()

123