Home
last modified time | relevance | path

Searched refs:wqebbs (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c1135 u32 wqebbs; in mlx5e_shampo_icosq_sz() local
1141 wqebbs = MLX5E_KLM_UMR_WQEBBS(max_klm_per_umr) * max_num_of_umr_per_wqe; in mlx5e_shampo_icosq_sz()
1143 wqebbs += MLX5E_KLM_UMR_WQEBBS(rest); in mlx5e_shampo_icosq_sz()
1144 wqebbs *= wq_size; in mlx5e_shampo_icosq_sz()
1145 return wqebbs; in mlx5e_shampo_icosq_sz()
1165 u32 wqebbs, total_pages, useful_space; in mlx5e_build_icosq_log_wq_sz() local
1172 wqebbs = mlx5e_mpwrq_total_umr_wqebbs(mdev, params, NULL); in mlx5e_build_icosq_log_wq_sz()
1216 wqebbs += max_xsk_wqebbs; in mlx5e_build_icosq_log_wq_sz()
1220 wqebbs += mlx5e_shampo_icosq_sz(mdev, params, rqp); in mlx5e_build_icosq_log_wq_sz()
1231 total_pages = DIV_ROUND_UP(wqebbs * MLX5_SEND_WQE_BB, useful_space); in mlx5e_build_icosq_log_wq_sz()
[all …]
H A Dtxrx.h463 #define MLX5E_STOP_ROOM(wqebbs) ((wqebbs) * 2 - 1) argument
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h220 u8 wqebbs = mlx5e_get_max_sq_wqebbs(mdev); in mlx5e_get_max_sq_aligned_wqebbs() local
222 wqebbs = min_t(u8, wqebbs, MLX5_SEND_WQE_MAX_WQEBBS - 1); in mlx5e_get_max_sq_aligned_wqebbs()
224 wqebbs = ALIGN_DOWN(wqebbs, 2); in mlx5e_get_max_sq_aligned_wqebbs()
226 return wqebbs; in mlx5e_get_max_sq_aligned_wqebbs()