Searched refs:sample_ratio (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
H A D | sample.c | 37 u32 sample_ratio; member 134 MLX5_SET(sampler_obj, obj, sample_ratio, sampler->sample_ratio); in sampler_obj_create() 161 sampler_hash(u32 sample_ratio, u32 default_table_id) in sampler_hash() argument 163 return jhash_2words(sample_ratio, default_table_id, 0); in sampler_hash() 173 sampler_get(struct mlx5e_tc_psample *tc_psample, u32 sample_ratio, u32 default_table_id) in sampler_get() argument 180 hash_key = sampler_hash(sample_ratio, default_table_id); in sampler_get() 182 if (!sampler_cmp(sampler->sample_ratio, sampler->default_table_id, in sampler_get() 183 sample_ratio, default_table_id)) in sampler_get() 194 sampler->sample_ratio = sample_ratio; in sampler_get()
|
/linux/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 12774 u8 sample_ratio[0x20]; member
|