Home
last modified time | relevance | path

Searched refs:mpls_label (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_mplsoudp.c95 outer_first_mpls_over_udp.mpls_label, in parse_tunnel()
96 match.mask->ls[0].mpls_label); in parse_tunnel()
98 outer_first_mpls_over_udp.mpls_label, in parse_tunnel()
99 match.key->ls[0].mpls_label); in parse_tunnel()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_tc_tunnel.c32 static const __u32 mpls_label = __bpf_constant_htonl(1000 << 12 | variable
139 l2_len = sizeof(mpls_label); in encap_ipv4()
176 *((__u32 *)((__u8 *)&h_outer + olen)) = mpls_label; in encap_ipv4()
247 l2_len = sizeof(mpls_label); in encap_ipv6()
283 *((__u32 *)((__u8 *)&h_outer + olen)) = mpls_label; in encap_ipv6()
464 olen += sizeof(mpls_label); in decap_internal()
477 olen += sizeof(mpls_label); in decap_internal()
Dbpf_flow.c379 struct mpls_label *mpls, _mpls; in PROG()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dmpls.h10 struct mpls_label { struct
/kernel/linux/linux-5.10/include/uapi/linux/
Dmpls.h22 struct mpls_label { struct
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dmpls.h23 struct mpls_label { struct
/kernel/linux/linux-5.10/include/net/
Dflow_dissector.h70 mpls_label:20; member
/kernel/linux/linux-5.10/net/ipv4/
Dtunnel4.c165 if (!pskb_may_pull(skb, sizeof(struct mpls_label))) in tunnelmpls4_rcv()
/kernel/linux/linux-5.10/samples/bpf/
Dsockex3_kern.c266 nhoff += sizeof(struct mpls_label); in PROG()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
Dmatch.c110 match.key->ls[0].mpls_label) | in nfp_flower_compile_mac()
118 match.mask->ls[0].mpls_label) | in nfp_flower_compile_mac()
/kernel/linux/linux-5.10/net/sched/
Dcls_flower.c879 lse_val->mpls_label = label; in fl_set_key_mpls_lse()
880 lse_mask->mpls_label = MPLS_LABEL_MASK; in fl_set_key_mpls_lse()
990 lse_val->mpls_label = label; in fl_set_key_mpls()
991 lse_mask->mpls_label = MPLS_LABEL_MASK; in fl_set_key_mpls()
2482 if (lse_mask->mpls_label) { in fl_dump_key_mpls_opt_lse()
2484 lse_key->mpls_label); in fl_dump_key_mpls_opt_lse()
2552 !lse_mask->mpls_tc && !lse_mask->mpls_label)) in fl_dump_key_mpls()
2567 if (lse_mask->mpls_label) { in fl_dump_key_mpls()
2569 lse_key->mpls_label); in fl_dump_key_mpls()
/kernel/linux/linux-5.10/net/core/
Dflow_dissector.c409 struct mpls_label *hdr, _hdr; in __skb_flow_dissect_mpls()
441 lse->mpls_label = label; in __skb_flow_dissect_mpls()
1236 nhoff += sizeof(struct mpls_label); in __skb_flow_dissect()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste.c912 MLX5_GET(fte_match_set_misc2, mask, outer_first_mpls.mpls_label); in dr_ste_copy_mask_misc2()
920 MLX5_GET(fte_match_set_misc2, mask, inner_first_mpls.mpls_label); in dr_ste_copy_mask_misc2()
928 MLX5_GET(fte_match_set_misc2, mask, outer_first_mpls_over_gre.mpls_label); in dr_ste_copy_mask_misc2()
936 MLX5_GET(fte_match_set_misc2, mask, outer_first_mpls_over_udp.mpls_label); in dr_ste_copy_mask_misc2()
/kernel/linux/linux-5.10/net/wireless/
Dutil.c867 struct mpls_label mpls_tmp, *mpls; in cfg80211_classify8021d()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dfs.c109 if (MLX5_GET(fte_match_mpls, set_mask, mpls_label) && in check_mpls_supp_fields()
/kernel/linux/linux-5.10/include/linux/mlx5/
Dmlx5_ifc.h560 u8 mpls_label[0x14]; member