Skip to content

Commit 5f40b4e

Browse files
Maor Gottliebdavem330
authored andcommitted
net/mlx5: Increase number of max QPs in default profile
With ConnectX-4 sharing SRQs from the same space as QPs, we hit a limit preventing some applications to allocate needed QPs amount. Double the size to 256K. Fixes: e126ba9 ('mlx5: Add driver for Mellanox Connect-IB adapters') Signed-off-by: Maor Gottlieb <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 1ad9a00 commit 5f40b4e

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static struct mlx5_profile profile[] = {
8787
[2] = {
8888
.mask = MLX5_PROF_MASK_QP_SIZE |
8989
MLX5_PROF_MASK_MR_CACHE,
90-
.log_max_qp = 17,
90+
.log_max_qp = 18,
9191
.mr_cache[0] = {
9292
.size = 500,
9393
.limit = 250

0 commit comments

Comments
 (0)