Home
last modified time | relevance | path

Searched refs:opt_class (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dgeneve.c10 __be16 opt_class; member
73 if (geneve->opt_class == opt->opt_class && in mlx5_geneve_tlv_option_add()
84 be16_to_cpu(opt->opt_class), in mlx5_geneve_tlv_option_add()
94 opt->opt_class, in mlx5_geneve_tlv_option_add()
100 be16_to_cpu(opt->opt_class), in mlx5_geneve_tlv_option_add()
104 geneve->opt_class = opt->opt_class; in mlx5_geneve_tlv_option_add()
128 geneve->opt_class = 0; in mlx5_geneve_tlv_option_del()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c37 __be16 opt_class; member
620 gopt->opt_class = bpf_htons(0x102); /* Open Virtual Networking (OVN) */ in geneve_set_tunnel()
659 gopt.opt_class = 0; in geneve_get_tunnel()
662 key.tunnel_id, key.remote_ipv4, gopt.opt_class); in geneve_get_tunnel()
688 gopt->opt_class = bpf_htons(0x102); /* Open Virtual Networking (OVN) */ in ip6geneve_set_tunnel()
721 gopt.opt_class = 0; in ip6geneve_get_tunnel()
724 key.tunnel_id, key.remote_ipv4, gopt.opt_class); in ip6geneve_get_tunnel()
/openbmc/linux/include/net/
H A Dgeneve.h27 __be16 opt_class; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_geneve.c230 if (option_mask->opt_class == 0 && option_mask->type == 0 && in mlx5e_tc_tun_parse_geneve_options()
259 be16_to_cpu(option_key->opt_class), in mlx5e_tc_tun_parse_geneve_options()
/openbmc/linux/net/netfilter/
H A Dnft_tunnel.c367 opt->opt_class = nla_get_be16(tb[NFTA_TUNNEL_KEY_GENEVE_CLASS]); in nft_tunnel_obj_geneve_init()
626 opt->opt_class) || in nft_tunnel_opts_dump()
/openbmc/linux/net/sched/
H A Dact_tunnel_key.c125 opt->opt_class = in tunnel_key_copy_geneve_opt()
586 opt->opt_class) || in tunnel_key_geneve_opts_dump()
H A Dcls_flower.c1266 opt->opt_class = nla_get_be16(class); in fl_set_geneve_opt()
3018 opt->opt_class)) in fl_dump_key_geneve_opt()
/openbmc/linux/net/ipv4/
H A Dip_tunnel_core.c497 opt->opt_class = nla_get_be16(attr); in ip_tun_parse_opts_geneve()
744 opt->opt_class) || in ip_tun_fill_encap_opts_geneve()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c388 push->class = opt->opt_class; in nfp_fl_push_geneve_options()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c2095 if (!(*dont_care) || opt->opt_class || opt->type || in enc_opts_is_dont_care_or_full_match()
2099 if (opt->opt_class != htons(U16_MAX) || in enc_opts_is_dont_care_or_full_match()