diff options
author | Maor Gottlieb <maorg@nvidia.com> | 2022-12-28 14:56:10 +0200 |
---|---|---|
committer | Leon Romanovsky <leonro@nvidia.com> | 2023-01-01 09:40:35 +0200 |
commit | 8de8482fe5732fbef4f5af82bc0c0362c804cd1f (patch) | |
tree | d29f7a7ad5207a0bc18e497f326c9b54e8e86534 /drivers/scsi/sim710.c | |
parent | 38b50aa44495d5eb4218f0b82fc2da76505cec53 (diff) | |
download | linux-8de8482fe5732fbef4f5af82bc0c0362c804cd1f.tar.bz2 |
RDMA/mlx5: Fix validation of max_rd_atomic caps for DC
Currently, when modifying DC, we validate max_rd_atomic user attribute
against the RC cap, validate against DC. RC and DC QP types have different
device limitations.
This can cause userspace created DC QPs to malfunction.
Fixes: c32a4f296e1d ("IB/mlx5: Add support for DC Initiator QP")
Link: https://lore.kernel.org/r/0c5aee72cea188c3bb770f4207cce7abc9b6fc74.1672231736.git.leonro@nvidia.com
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/scsi/sim710.c')
0 files changed, 0 insertions, 0 deletions