Home
last modified time | relevance | path

Searched refs:geneve_opt (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dgeneve.h17 int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt);
27 mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt) { return 0; } in mlx5_geneve_tlv_option_add()
H A Dgeneve.c63 int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt) in mlx5_geneve_tlv_option_add()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c36 struct geneve_opt { struct
601 struct geneve_opt gopt;
611 struct geneve_opt *gopt = (struct geneve_opt *) &local_gopt; in geneve_set_tunnel()
649 struct geneve_opt gopt; in geneve_get_tunnel()
671 struct geneve_opt *gopt = (struct geneve_opt *) &local_gopt; in ip6geneve_set_tunnel()
709 struct geneve_opt gopt; in ip6geneve_get_tunnel()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_geneve.c164 struct geneve_opt *option_key, *option_mask; in mlx5e_tc_tun_parse_geneve_options()
227 option_key = (struct geneve_opt *)&enc_opts.key->data[0]; in mlx5e_tc_tun_parse_geneve_options()
228 option_mask = (struct geneve_opt *)&enc_opts.mask->data[0]; in mlx5e_tc_tun_parse_geneve_options()
/openbmc/linux/include/net/
H A Dgeneve.h26 struct geneve_opt { struct
/openbmc/linux/net/sched/
H A Dact_tunnel_key.c119 opt_len = sizeof(struct geneve_opt) + data_len; in tunnel_key_copy_geneve_opt()
121 struct geneve_opt *opt = dst; in tunnel_key_copy_geneve_opt()
583 struct geneve_opt *opt = (struct geneve_opt *)src; in tunnel_key_geneve_opts_dump()
595 len -= sizeof(struct geneve_opt) + opt->length * 4; in tunnel_key_geneve_opts_dump()
596 src += sizeof(struct geneve_opt) + opt->length * 4; in tunnel_key_geneve_opts_dump()
H A Dcls_flower.c1195 struct geneve_opt *opt; in fl_set_geneve_opt()
1198 if (option_len > sizeof(struct geneve_opt)) in fl_set_geneve_opt()
1199 data_len = option_len - sizeof(struct geneve_opt); in fl_set_geneve_opt()
1204 opt = (struct geneve_opt *)&key->enc_opts.data[key->enc_opts.len]; in fl_set_geneve_opt()
1213 return sizeof(struct geneve_opt) + data_len; in fl_set_geneve_opt()
1254 new_len += sizeof(struct geneve_opt) + data_len; in fl_set_geneve_opt()
1274 return sizeof(struct geneve_opt) + data_len; in fl_set_geneve_opt()
3006 struct geneve_opt *opt; in fl_dump_key_geneve_opt()
3015 opt = (struct geneve_opt *)&enc_opts->data[opt_off]; in fl_dump_key_geneve_opt()
3027 opt_off += sizeof(struct geneve_opt) + opt->length * 4; in fl_dump_key_geneve_opt()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c347 struct geneve_opt *opt = (struct geneve_opt *)src; in nfp_fl_push_geneve_options()
362 opt_len -= sizeof(struct geneve_opt) + opt->length * 4; in nfp_fl_push_geneve_options()
363 src += sizeof(struct geneve_opt) + opt->length * 4; in nfp_fl_push_geneve_options()
375 struct geneve_opt *opt = (struct geneve_opt *)src; in nfp_fl_push_geneve_options()
393 src += sizeof(struct geneve_opt) + opt->length * 4; in nfp_fl_push_geneve_options()
/openbmc/linux/net/netfilter/
H A Dnft_tunnel.c342 struct geneve_opt *opt = (struct geneve_opt *)opts->u.data + opts->len; in nft_tunnel_obj_geneve_init()
617 struct geneve_opt *opt; in nft_tunnel_opts_dump()
624 opt = (struct geneve_opt *)opts->u.data + offset; in nft_tunnel_opts_dump()
/openbmc/linux/net/ipv4/
H A Dip_tunnel_core.c492 struct geneve_opt *opt = ip_tunnel_info_opts(info) + opts_len; in ip_tun_parse_opts_geneve()
503 return sizeof(struct geneve_opt) + data_len; in ip_tun_parse_opts_geneve()
733 struct geneve_opt *opt; in ip_tun_fill_encap_opts_geneve()
865 struct geneve_opt *opt; in ip_tun_opts_nlsize()
/openbmc/linux/net/openvswitch/
H A Dflow_netlink.c2734 struct geneve_opt *option; in validate_geneve_opts()
2738 option = (struct geneve_opt *)TUN_METADATA_OPTS(key, key->tun_opts_len); in validate_geneve_opts()
2751 option = (struct geneve_opt *)((u8 *)option + len); in validate_geneve_opts()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c2087 struct geneve_opt *opt; in enc_opts_is_dont_care_or_full_match()
2093 opt = (struct geneve_opt *)&opts->data[off]; in enc_opts_is_dont_care_or_full_match()
2109 off += sizeof(struct geneve_opt) + opt->length * 4; in enc_opts_is_dont_care_or_full_match()