Home
last modified time | relevance | path

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

/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()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c601 gopt->opt_class = bpf_htons(0x102); /* Open Virtual Networking (OVN) */ in geneve_set_tunnel()
640 gopt.opt_class = 0; in geneve_get_tunnel()
643 key.tunnel_id, key.remote_ipv4, gopt.opt_class); in geneve_get_tunnel()
669 gopt->opt_class = bpf_htons(0x102); /* Open Virtual Networking (OVN) */ in ip6geneve_set_tunnel()
702 gopt.opt_class = 0; in ip6geneve_get_tunnel()
705 key.tunnel_id, key.remote_ipv4, gopt.opt_class); in ip6geneve_get_tunnel()
/linux/include/net/
H A Dgeneve.h27 __be16 opt_class; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_geneve.c231 if (option_mask->opt_class == 0 && option_mask->type == 0 && in mlx5e_tc_tun_parse_geneve_options()
260 be16_to_cpu(option_key->opt_class), in mlx5e_tc_tun_parse_geneve_options()
/linux/net/sched/
H A Dact_tunnel_key.c123 opt->opt_class = in tunnel_key_copy_geneve_opt()
591 opt->opt_class) || in tunnel_key_geneve_opts_dump()
H A Dcls_flower.c1311 opt->opt_class = nla_get_be16(class); in fl_set_geneve_opt()
3178 opt->opt_class)) in fl_dump_key_geneve_opt()
/linux/net/ipv4/
H A Dip_tunnel_core.c527 opt->opt_class = nla_get_be16(attr); in ip_tun_parse_opts_geneve()
780 opt->opt_class) || in ip_tun_fill_encap_opts_geneve()
/linux/drivers/net/
H A Dgeneve.c432 if (opt->opt_class == htons(GENEVE_OPT_NETDEV_CLASS) && in geneve_opt_gro_hint_off()
1314 gro_opt->opt_class = htons(GENEVE_OPT_NETDEV_CLASS); in geneve_put_gro_hint_opt()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c2216 if (!(*dont_care) || opt->opt_class || opt->type || in enc_opts_is_dont_care_or_full_match()
2220 if (opt->opt_class != htons(U16_MAX) || in enc_opts_is_dont_care_or_full_match()