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()
26 struct geneve_opt { struct62 struct geneve_opt options[]; argument
29 struct geneve_opt { struct399 struct geneve_opt gopt; in _geneve_set_tunnel()437 struct geneve_opt gopt; in _geneve_get_tunnel()459 struct geneve_opt gopt; in _ip6geneve_set_tunnel()498 struct geneve_opt gopt; in _ip6geneve_get_tunnel()
118 opt_len = sizeof(struct geneve_opt) + data_len; in tunnel_key_copy_geneve_opt()120 struct geneve_opt *opt = dst; in tunnel_key_copy_geneve_opt()579 struct geneve_opt *opt = (struct geneve_opt *)src; in tunnel_key_geneve_opts_dump()591 len -= sizeof(struct geneve_opt) + opt->length * 4; in tunnel_key_geneve_opts_dump()592 src += sizeof(struct geneve_opt) + opt->length * 4; in tunnel_key_geneve_opts_dump()
1084 struct geneve_opt *opt; in fl_set_geneve_opt()1087 if (option_len > sizeof(struct geneve_opt)) in fl_set_geneve_opt()1088 data_len = option_len - sizeof(struct geneve_opt); in fl_set_geneve_opt()1090 opt = (struct geneve_opt *)&key->enc_opts.data[key->enc_opts.len]; in fl_set_geneve_opt()1099 return sizeof(struct geneve_opt) + data_len; in fl_set_geneve_opt()1140 new_len += sizeof(struct geneve_opt) + data_len; in fl_set_geneve_opt()1160 return sizeof(struct geneve_opt) + data_len; in fl_set_geneve_opt()2675 struct geneve_opt *opt; in fl_dump_key_geneve_opt()2684 opt = (struct geneve_opt *)&enc_opts->data[opt_off]; in fl_dump_key_geneve_opt()2696 opt_off += sizeof(struct geneve_opt) + opt->length * 4; in fl_dump_key_geneve_opt()
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()
346 struct geneve_opt *opt = (struct geneve_opt *)src; in nfp_fl_push_geneve_options()361 opt_len -= sizeof(struct geneve_opt) + opt->length * 4; in nfp_fl_push_geneve_options()362 src += sizeof(struct geneve_opt) + opt->length * 4; in nfp_fl_push_geneve_options()374 struct geneve_opt *opt = (struct geneve_opt *)src; in nfp_fl_push_geneve_options()392 src += sizeof(struct geneve_opt) + opt->length * 4; in nfp_fl_push_geneve_options()
313 struct geneve_opt *opt = (struct geneve_opt *)opts->u.data + opts->len; in nft_tunnel_obj_geneve_init()587 struct geneve_opt *opt; in nft_tunnel_opts_dump()594 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()
2610 struct geneve_opt *option; in validate_geneve_opts()2614 option = (struct geneve_opt *)TUN_METADATA_OPTS(key, key->tun_opts_len); in validate_geneve_opts()2627 option = (struct geneve_opt *)((u8 *)option + len); in validate_geneve_opts()
1744 struct geneve_opt *opt; in enc_opts_is_dont_care_or_full_match()1750 opt = (struct geneve_opt *)&opts->data[off]; in enc_opts_is_dont_care_or_full_match()1766 off += sizeof(struct geneve_opt) + opt->length * 4; in enc_opts_is_dont_care_or_full_match()
Completed in 41 milliseconds