Home
last modified time | relevance | path

Searched refs:actual_table_size (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Drqt.c39 for (i = 0; i < indir->actual_table_size; i++) in mlx5e_rss_params_indir_init_uniform()
117 for (i = 0; i < indir->actual_table_size; i++) { in mlx5e_calc_indir_rqns()
121 ix = mlx5e_bits_invert(ix, ilog2(indir->actual_table_size)); in mlx5e_calc_indir_rqns()
145 rss_rqns = kvmalloc_array(indir->actual_table_size, sizeof(*rss_rqns), GFP_KERNEL); in mlx5e_rqt_init_indir()
150 rss_vhca_ids = kvmalloc_array(indir->actual_table_size, sizeof(*rss_vhca_ids), in mlx5e_rqt_init_indir()
163 indir->actual_table_size); in mlx5e_rqt_init_indir()
243 rss_rqns = kvmalloc_array(indir->actual_table_size, sizeof(*rss_rqns), GFP_KERNEL); in mlx5e_rqt_redirect_indir()
248 rss_vhca_ids = kvmalloc_array(indir->actual_table_size, sizeof(*rss_vhca_ids), in mlx5e_rqt_redirect_indir()
260 err = mlx5e_rqt_redirect(rqt, rss_rqns, rss_vhca_ids, indir->actual_table_size); in mlx5e_rqt_redirect_indir()
H A Drss.c86 rss->indir.actual_table_size = mlx5e_rqt_size(rss->mdev, num_channels); in mlx5e_rss_params_indir_modify_actual_size()
90 u32 actual_table_size, u32 max_table_size) in mlx5e_rss_params_indir_init() argument
97 indir->actual_table_size = actual_table_size; in mlx5e_rss_params_indir_init()
111 if (to->indir.actual_table_size != from->indir.actual_table_size || in mlx5e_rss_copy()
115 from->indir.actual_table_size, from->indir.max_table_size, in mlx5e_rss_copy()
116 to->indir.actual_table_size, to->indir.max_table_size); in mlx5e_rss_copy()
124 from->indir.actual_table_size * sizeof(*from->indir.table)); in mlx5e_rss_copy()
137 err = mlx5e_rss_params_indir_init(&rss->indir, from->mdev, from->indir.actual_table_size, in mlx5e_rss_init_copy()
558 rss->indir.actual_table_size * sizeof(*rss->indir.table)); in mlx5e_rss_get_rxfh()
608 rss->indir.actual_table_size * sizeof(*rss->indir.table)); in mlx5e_rss_set_rxfh()
H A Drqt.h15 u32 actual_table_size; member
H A Drss.h22 u32 actual_table_size, u32 max_table_size);