net/mlx5: Increase number of max QPs in default profile
authorMaor Gottlieb <maorg@mellanox.com>
Tue, 21 Mar 2017 13:59:17 +0000 (15:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Apr 2017 05:15:04 +0000 (07:15 +0200)
commita6ec5610d3d756c41a58c014283a2d246adb0c4f
treecf61475ba00e0fce101fd74563ecec431c1e316a
parent13cabfaac036f05562e09b57e1598d88dc6e2eed
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/main.c