WSL2-Linux-Kernel/drivers/infiniband
Maor Gottlieb 3410fbcd47 {net, RDMA}/mlx5: Fix override of log_max_qp by other device
mlx5_core_dev holds pointer to static profile, hence when the
log_max_qp of the profile is override by some device, then it
effect all other mlx5 devices that share the same profile.
Fix it by having a profile instance for every mlx5 device.

Fixes: 883371c453 ("net/mlx5: Check FW limitations on log_max_qp before setting it")
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2021-05-18 23:01:19 -07:00
..
core RDMA merge window pull request 2021-05-01 09:15:05 -07:00
hw {net, RDMA}/mlx5: Fix override of log_max_qp by other device 2021-05-18 23:01:19 -07:00
sw RDMA/siw: Fix a use after free in siw_alloc_mr 2021-04-27 15:19:21 -03:00
ulp block-5.13-2021-05-07 2021-05-07 11:35:12 -07:00
Kconfig RDMA/umem: Support importing dma-buf as user memory region 2021-01-20 16:07:52 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00