Searched refs:geneve_opt (Results 1 – 12 of 12) sorted by relevance
17 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()
63 int mlx5_geneve_tlv_option_add(struct mlx5_geneve *geneve, struct geneve_opt *opt) in mlx5_geneve_tlv_option_add()
36 struct geneve_opt { struct601 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()
164 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()
26 struct geneve_opt { struct
119 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()
1195 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()
347 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()
342 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()
492 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()
2734 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()
2087 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()