Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
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()
127 geneve->opt_class = 0; in mlx5_geneve_tlv_option_del()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_tunnel_kern.c37 __be16 opt_class; member
584 gopt.opt_class = bpf_htons(0x102); /* Open Virtual Networking (OVN) */ in geneve_set_tunnel()
623 gopt.opt_class = 0; in geneve_get_tunnel()
626 key.tunnel_id, key.remote_ipv4, gopt.opt_class); in geneve_get_tunnel()
651 gopt.opt_class = bpf_htons(0x102); /* Open Virtual Networking (OVN) */ in ip6geneve_set_tunnel()
684 gopt.opt_class = 0; in ip6geneve_get_tunnel()
687 key.tunnel_id, key.remote_ipv4, gopt.opt_class); in ip6geneve_get_tunnel()
/linux-6.1.9/include/net/
Dgeneve.h27 __be16 opt_class; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
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()
/linux-6.1.9/net/netfilter/
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()
/linux-6.1.9/net/sched/
Dact_tunnel_key.c123 opt->opt_class = in tunnel_key_copy_geneve_opt()
581 opt->opt_class) || in tunnel_key_geneve_opts_dump()
Dcls_flower.c1212 opt->opt_class = nla_get_be16(class); in fl_set_geneve_opt()
2854 opt->opt_class)) in fl_dump_key_geneve_opt()
/linux-6.1.9/net/ipv4/
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()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Daction.c388 push->class = opt->opt_class; in nfp_fl_push_geneve_options()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2053 if (!(*dont_care) || opt->opt_class || opt->type || in enc_opts_is_dont_care_or_full_match()
2057 if (opt->opt_class != htons(U16_MAX) || in enc_opts_is_dont_care_or_full_match()