Home
last modified time | relevance | path

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

12

/Linux-v5.4/samples/bpf/
Dxdp1_kern.c60 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()
Dxdp2_kern.c76 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()
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()
Dxdp_router_ipv4_kern.c129 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_router_ipv4_prog()
Dsockex2_kern.c107 if (proto == ETH_P_8021AD) { in flow_dissector()
Dxdp_redirect_cpu_kern.c129 if (eth_type == htons(ETH_P_8021Q) || eth_type == htons(ETH_P_8021AD)) { in parse_eth()
139 if (eth_type == htons(ETH_P_8021Q) || eth_type == htons(ETH_P_8021AD)) { in parse_eth()
Dsockex3_kern.c43 case ETH_P_8021AD: in parse_eth_proto()
/Linux-v5.4/tools/testing/selftests/bpf/progs/
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()
Dbpf_flow.c131 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.4/include/uapi/linux/
Dif_ether.h90 #define ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */ macro
/Linux-v5.4/include/linux/
Dif_vlan.h304 case htons(ETH_P_8021AD): in eth_type_vlan()
316 if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX) in vlan_hw_offload_capable()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h943 start_params->sd_vlan_eth_type = ETH_P_8021AD; in bnx2x_func_start()
944 REG_WR(bp, PRS_REG_VLAN_TYPE_0, ETH_P_8021AD); in bnx2x_func_start()
945 REG_WR(bp, PBF_REG_VLAN_TYPE_0, ETH_P_8021AD); in bnx2x_func_start()
946 REG_WR(bp, NIG_REG_LLH_E1HOV_TYPE_1, ETH_P_8021AD); in bnx2x_func_start()
/Linux-v5.4/net/8021q/
Dvlan.h44 case htons(ETH_P_8021AD): in vlan_proto_idx()
Dvlan_core.c173 if (proto == htons(ETH_P_8021AD) && in vlan_hw_filter_capable()
535 .type = cpu_to_be16(ETH_P_8021AD),
Dvlan.c518 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021AD)); in vlan_device_event()
524 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021AD)); in vlan_device_event()
Dvlan_netlink.c65 case htons(ETH_P_8021AD): in vlan_validate()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c140 proto[0] = htons(ETH_P_8021AD); in stmmac_test_get_udp_skb()
837 proto = tpriv->double_vlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlan_validate()
987 ret = vlan_vid_add(priv->dev, htons(ETH_P_8021AD), tpriv->vlan_id); in stmmac_test_dvlanfilt()
1024 vlan_vid_del(priv->dev, htons(ETH_P_8021AD), tpriv->vlan_id); in stmmac_test_dvlanfilt()
1224 proto = svlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlanoff_common()
/Linux-v5.4/net/bridge/
Dbr_forward.c43 skb->protocol == htons(ETH_P_8021AD))) { in br_dev_queue_push_xmit()
/Linux-v5.4/net/sched/
Dact_vlan.c165 case htons(ETH_P_8021AD): in tcf_vlan_init()
Dact_csum.c601 case cpu_to_be16(ETH_P_8021AD): /* fall through */ in tcf_csum_act()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2016 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.4/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c170 .eth.h_proto = __bpf_constant_htons(ETH_P_8021AD),
/Linux-v5.4/drivers/net/
Dtap.c719 skb->protocol == htons(ETH_P_8021AD)) && in tap_get_user()
1182 skb->protocol == htons(ETH_P_8021AD)) && in tap_get_user_xdp()
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_sp_commands.c370 p_ramrod->outer_tag_config.outer_tag.tpid = ETH_P_8021AD; in qed_sp_pf_start()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c363 if (skb->vlan_proto == cpu_to_be16(ETH_P_8021AD)) in mlx5e_sq_xmit()

12