]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Adjust log_max_qp to be 18 at most
authorMaher Sanalla <msanalla@nvidia.com>
Sun, 24 Jul 2022 08:28:21 +0000 (11:28 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 28 Jul 2022 20:44:35 +0000 (13:44 -0700)
commitd6a438023cd69c387b065d4bb2d4e41dc5e81a1e
treeb942a62a0ab1b216d4d24ae741108559966a8438
parente8d49e0f8a33f582c92d0b422950ccf104de6ec5
net/mlx5: Adjust log_max_qp to be 18 at most

The cited commit limited log_max_qp to be 17 due to FW capabilities.
Recently, it turned out that there are old FW versions that supported
more than 17, so the cited commit caused a degradation.

Thus, set the maximum log_max_qp back to 18 as it was before the
cited commit.

Fixes: 3c04dea24290 ("net/mlx5: Update log_max_qp value to be 17 at most")
Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c