Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/samples/bpf/
A Dxdp1_kern.c66 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
76 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
A Dxdp2_kern.c82 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
92 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
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()
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()
A Dnet_shared.h11 #define ETH_P_8021AD 0x88A8 macro
A Dxdp_redirect_cpu.bpf.c70 eth_type == bpf_htons(ETH_P_8021AD)) { in parse_eth()
81 eth_type == bpf_htons(ETH_P_8021AD)) { in parse_eth()
A Dsockex2_kern.c108 if (proto == ETH_P_8021AD) { in flow_dissector()
A Dsockex3_kern.c277 case ETH_P_8021AD: in parse_eth_proto()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
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()
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()
/linux-6.3-rc2/include/uapi/linux/
A Dif_ether.h93 #define ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */ macro
/linux-6.3-rc2/net/dsa/
A Dtag_mtk.c42 case htons(ETH_P_8021AD): in mtk_tag_xmit()
A Dtag_ocelot.c174 vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q; in ocelot_rcv()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dbridge.c195 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_ingress_vlan_proto_fg_create()
232 return mlx5_esw_bridge_ingress_vlan_proto_fg_create(from, to, ETH_P_8021AD, esw, in mlx5_esw_bridge_ingress_qinq_fg_create()
257 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create()
292 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()
352 else if (vlan_proto == ETH_P_8021AD) in mlx5_esw_bridge_egress_vlan_proto_fg_create()
384 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()
701 } else if (bridge->vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_ingress_flow_with_esw_create()
794 } else if (bridge->vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_ingress_filter_flow_create()
852 } else if (bridge->vlan_proto == ETH_P_8021AD) { in mlx5_esw_bridge_egress_flow_create()
1525 if (proto != ETH_P_8021Q && proto != ETH_P_8021AD) { in mlx5_esw_bridge_vlan_proto_set()
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_tc_flower.c42 case ETH_P_8021AD: in sparx5_tc_flower_es0_tpid()
866 case ETH_P_8021AD: in sparx5_tc_action_vlan_pop()
907 case ETH_P_8021AD: in sparx5_tc_action_vlan_modify()
967 if (tpid == ETH_P_8021AD) { in sparx5_tc_action_vlan_push()
980 case ETH_P_8021AD: in sparx5_tc_action_vlan_push()
/linux-6.3-rc2/include/linux/
A Dif_vlan.h311 case htons(ETH_P_8021AD): in eth_type_vlan()
323 if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX) in vlan_hw_offload_capable()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/
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-6.3-rc2/net/8021q/
A Dvlan.h44 case htons(ETH_P_8021AD): in vlan_proto_idx()
A Dvlan_core.c174 if (proto == htons(ETH_P_8021AD) && in vlan_hw_filter_capable()
532 .type = cpu_to_be16(ETH_P_8021AD),
A Dvlan.c517 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()
A Dvlan_netlink.c65 case htons(ETH_P_8021AD): in vlan_validate()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_vsi_vlan_lib.c26 if (vlan->tpid != ETH_P_8021Q && vlan->tpid != ETH_P_8021AD && in validate_vlan()
379 case ETH_P_8021AD: in tpid_to_vsi_outer_vlan_type()
/linux-6.3-rc2/net/netfilter/
A Dnf_tables_offload.c64 match->key.vlan.vlan_tpid == htons(ETH_P_8021AD))) { in nft_flow_rule_transfer_vlan()
76 match->key.basic.n_proto == htons(ETH_P_8021AD))) { in nft_flow_rule_transfer_vlan()
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_selftests.c142 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()
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/
A Diavf_virtchnl.c1170 case ETH_P_8021AD: in iavf_tpid_to_vc_ethertype()
1241 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required()
1249 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required()
1257 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required()
1265 else if (tpid == ETH_P_8021AD) in iavf_clear_offload_v2_aq_required()

Completed in 43 milliseconds

123