Searched refs:wqebbs (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | params.c | 1077 u32 wqebbs; in mlx5e_shampo_icosq_sz() local 1083 wqebbs = MLX5E_KSM_UMR_WQEBBS(max_ksm_per_umr) * max_num_of_umr_per_wqe; in mlx5e_shampo_icosq_sz() 1085 wqebbs += MLX5E_KSM_UMR_WQEBBS(rest); in mlx5e_shampo_icosq_sz() 1086 wqebbs *= wq_size; in mlx5e_shampo_icosq_sz() 1087 return wqebbs; in mlx5e_shampo_icosq_sz() 1121 u32 wqebbs, total_pages, useful_space; in mlx5e_build_icosq_log_wq_sz() local 1128 wqebbs = mlx5e_mpwrq_total_umr_wqebbs(mdev, params, NULL); in mlx5e_build_icosq_log_wq_sz() 1172 wqebbs += max_xsk_wqebbs; in mlx5e_build_icosq_log_wq_sz() 1176 wqebbs += mlx5e_shampo_icosq_sz(mdev, params, rqp); in mlx5e_build_icosq_log_wq_sz() 1187 total_pages = DIV_ROUND_UP(wqebbs * MLX5_SEND_WQE_BB, useful_space); in mlx5e_build_icosq_log_wq_sz() [all …]
|
H A D | txrx.h | 519 #define MLX5E_STOP_ROOM(wqebbs) ((wqebbs) * 2 - 1) argument
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en.h | 210 u8 wqebbs = mlx5e_get_max_sq_wqebbs(mdev); in mlx5e_get_max_sq_aligned_wqebbs() local 212 wqebbs = min_t(u8, wqebbs, MLX5_SEND_WQE_MAX_WQEBBS - 1); in mlx5e_get_max_sq_aligned_wqebbs() 214 wqebbs = ALIGN_DOWN(wqebbs, 2); in mlx5e_get_max_sq_aligned_wqebbs() 216 return wqebbs; in mlx5e_get_max_sq_aligned_wqebbs()
|