tmp_suning_uos_patched/drivers/infiniband/hw/qedr
Kamal Heib 7be2a0bcaf RDMA/qedr: Fix reporting max_{send/recv}_wr attrs
[ Upstream commit b1a4da64bfc189510e08df1ccb1c589e667dc7a3 ]

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 10:54:06 +01:00
..
Kconfig
main.c
Makefile
qedr_hsi_rdma.h
qedr_iw_cm.c RDMA/qedr: Fix error return code in qedr_iw_connect() 2021-05-14 09:50:35 +02:00
qedr_iw_cm.h
qedr_roce_cm.c
qedr_roce_cm.h
qedr.h
verbs.c RDMA/qedr: Fix reporting max_{send/recv}_wr attrs 2022-01-27 10:54:06 +01:00
verbs.h