linux/drivers/infiniband/hw/qedr
Kamal Heib 1526f0ae49 RDMA/qedr: Fix reporting max_{send/recv}_wr attrs
[ Upstream commit b1a4da64bf ]

Fix the wrongly reported max_send_wr and max_recv_wr attributes for user
QP by making sure to save their valuse on QP creation, so when query QP is
called the attributes will be reported correctly.

Fixes: cecbcddf64 ("qedr: Add support for QP verbs")
Link: https://lore.kernel.org/r/20211206201314.124947-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Acked-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 11:04:11 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
main.c RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qedr_hsi_rdma.h qedr: Add support for kernel mode SRQ's 2018-08-14 16:31:54 -06:00
qedr_iw_cm.c rdma/qedr: Fix crash due to redundant release of device's qp memory 2021-10-19 20:17:44 -03:00
qedr_iw_cm.h RDMA/qedr: Add iWARP connection management functions 2017-08-18 12:27:14 -04:00
qedr_roce_cm.c RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
qedr_roce_cm.h RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
qedr.h rdma/qedr: Fix crash due to redundant release of device's qp memory 2021-10-19 20:17:44 -03:00
verbs.c RDMA/qedr: Fix reporting max_{send/recv}_wr attrs 2022-01-27 11:04:11 +01:00
verbs.h RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00