Searched refs:wqebbs (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.c | 1063 u32 wqebbs; in mlx5e_shampo_icosq_sz() local 1069 wqebbs = MLX5E_KLM_UMR_WQEBBS(max_klm_per_umr) * max_num_of_umr_per_wqe; in mlx5e_shampo_icosq_sz() 1071 wqebbs += MLX5E_KLM_UMR_WQEBBS(rest); in mlx5e_shampo_icosq_sz() 1072 wqebbs *= wq_size; in mlx5e_shampo_icosq_sz() 1073 return wqebbs; in mlx5e_shampo_icosq_sz() 1093 u32 wqebbs, total_pages, useful_space; in mlx5e_build_icosq_log_wq_sz() local 1100 wqebbs = mlx5e_mpwrq_total_umr_wqebbs(mdev, params, NULL); in mlx5e_build_icosq_log_wq_sz() 1144 wqebbs += max_xsk_wqebbs; in mlx5e_build_icosq_log_wq_sz() 1148 wqebbs += mlx5e_shampo_icosq_sz(mdev, params, rqp); in mlx5e_build_icosq_log_wq_sz() 1159 total_pages = DIV_ROUND_UP(wqebbs * MLX5_SEND_WQE_BB, useful_space); in mlx5e_build_icosq_log_wq_sz() [all …]
|
D | txrx.h | 444 #define MLX5E_STOP_ROOM(wqebbs) ((wqebbs) * 2 - 1) argument
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en.h | 229 u8 wqebbs = mlx5e_get_max_sq_wqebbs(mdev); in mlx5e_get_max_sq_aligned_wqebbs() local 231 wqebbs = min_t(u8, wqebbs, MLX5_SEND_WQE_MAX_WQEBBS - 1); in mlx5e_get_max_sq_aligned_wqebbs() 233 wqebbs = ALIGN_DOWN(wqebbs, 2); in mlx5e_get_max_sq_aligned_wqebbs() 235 return wqebbs; in mlx5e_get_max_sq_aligned_wqebbs()
|