Searched refs:sample_attr (Results 1 – 4 of 4) sorted by relevance
15 struct mlx5e_sample_attr *sample_attr = &attr->sample_attr; in tc_act_parse_sample() local17 sample_attr->rate = act->sample.rate; in tc_act_parse_sample()18 sample_attr->group_num = act->sample.psample_group->group_num; in tc_act_parse_sample()21 sample_attr->trunc_size = act->sample.trunc_size; in tc_act_parse_sample()
478 struct mlx5e_sample_attr *sample_attr; in mlx5e_tc_sample_offload() local491 sample_attr = &attr->sample_attr; in mlx5e_tc_sample_offload()492 sample_attr->sample_flow = sample_flow; in mlx5e_tc_sample_offload()512 sample_flow->sampler = sampler_get(tc_psample, sample_attr->rate, default_tbl_id); in mlx5e_tc_sample_offload()517 sample_attr->sampler_id = sample_flow->sampler->sampler_id; 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()528 sample_attr->restore_obj_id = obj_id; in mlx5e_tc_sample_offload()559 pre_attr->sample_attr = *sample_attr; in mlx5e_tc_sample_offload()[all …]
80 struct mlx5e_sample_attr sample_attr; member
582 esw_setup_sampler_dest(dest, flow_act, attr->sample_attr.sampler_id, *i); in esw_setup_dests()