Searched refs:restore_obj (Results 1 – 1 of 1) sorted by relevance
475 struct mlx5_mapped_obj restore_obj = {}; in mlx5e_tc_sample_offload() local520 restore_obj.type = MLX5_MAPPED_OBJ_SAMPLE; in mlx5e_tc_sample_offload()521 restore_obj.sample.group_id = sample_attr->group_num; in mlx5e_tc_sample_offload()522 restore_obj.sample.rate = sample_attr->rate; in mlx5e_tc_sample_offload()523 restore_obj.sample.trunc_size = sample_attr->trunc_size; in mlx5e_tc_sample_offload()524 restore_obj.sample.tunnel_id = attr->tunnel_id; in mlx5e_tc_sample_offload()525 err = mapping_add(esw->offloads.reg_c0_obj_pool, &restore_obj, &obj_id); in mlx5e_tc_sample_offload()