]>
Commit | Line | Data |
---|---|---|
ad3041a8 GKH |
1 | From foo@baz Mon Mar 27 18:18:08 CEST 2017 |
2 | From: Maor Gottlieb <maorg@mellanox.com> | |
3 | Date: Tue, 21 Mar 2017 15:59:17 +0200 | |
4 | Subject: net/mlx5: Increase number of max QPs in default profile | |
5 | ||
6 | From: Maor Gottlieb <maorg@mellanox.com> | |
7 | ||
8 | ||
9 | [ Upstream commit 5f40b4ed975c26016cf41953b7510fe90718e21c ] | |
10 | ||
11 | With ConnectX-4 sharing SRQs from the same space as QPs, we hit a | |
12 | limit preventing some applications to allocate needed QPs amount. | |
13 | Double the size to 256K. | |
14 | ||
15 | Fixes: e126ba97dba9e ('mlx5: Add driver for Mellanox Connect-IB adapters') | |
16 | Signed-off-by: Maor Gottlieb <maorg@mellanox.com> | |
17 | Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> | |
18 | Signed-off-by: David S. Miller <davem@davemloft.net> | |
19 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
20 | --- | |
21 | drivers/net/ethernet/mellanox/mlx5/core/main.c | 2 +- | |
22 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
23 | ||
24 | --- a/drivers/net/ethernet/mellanox/mlx5/core/main.c | |
25 | +++ b/drivers/net/ethernet/mellanox/mlx5/core/main.c | |
26 | @@ -87,7 +87,7 @@ static struct mlx5_profile profile[] = { | |
27 | [2] = { | |
28 | .mask = MLX5_PROF_MASK_QP_SIZE | | |
29 | MLX5_PROF_MASK_MR_CACHE, | |
30 | - .log_max_qp = 17, | |
31 | + .log_max_qp = 18, | |
32 | .mr_cache[0] = { | |
33 | .size = 500, | |
34 | .limit = 250 |