diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2017-03-21 16:59:17 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2017-07-18 20:40:21 +0300 |
commit | 90f5d2a641601e0fe1a2933c5914c084532673ad (patch) | |
tree | fcec89df3de755636ea3ef8a7f8091e077ae92d4 /drivers/infiniband/hw/mlx5/main.c | |
parent | c84939ed49441d2209c82225cbd1e68ec3e9d66f (diff) | |
download | linux-90f5d2a641601e0fe1a2933c5914c084532673ad.tar.xz |
net/mlx5: Increase number of max QPs in default profile
commit 5f40b4ed975c26016cf41953b7510fe90718e21c upstream.
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: e126ba97dba9e ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.16: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/main.c')
-rw-r--r-- | drivers/infiniband/hw/mlx5/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index cb938822a91c..b7e8515dfaf1 100644 --- a/drivers/infiniband/hw/mlx5/main.c +++ b/drivers/infiniband/hw/mlx5/main.c @@ -73,7 +73,7 @@ static struct mlx5_profile profile[] = { [2] = { .mask = MLX5_PROF_MASK_QP_SIZE | MLX5_PROF_MASK_MR_CACHE, - .log_max_qp = 17, + .log_max_qp = 18, .mr_cache[0] = { .size = 500, .limit = 250 |