kernel_samsung_a53x/drivers/infiniband/hw/bnxt_re
Selvin Xavier 1eb796f106 RDMA/bnxt_re: Fix the locking while accessing the QP table
[ Upstream commit 9272cba0ded71b5a2084da3004ec7806b8cb7fd2 ]

QP table handling is synchronized with destroy QP and Async
event from the HW. The same needs to be synchronized
during create_qp also. Use the same lock in create_qp also.

Fixes: 76d3ddff7153 ("RDMA/bnxt_re: synchronize the qp-handle table array")
Fixes: f218d67ef004 ("RDMA/bnxt_re: Allow posting when QPs are in error")
Fixes: 84cf229f4001 ("RDMA/bnxt_re: Fix the qp table indexing")
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/20241217102649.1377704-6-kalesh-anakkur.purayil@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-15 16:29:53 +01:00
..
bnxt_re.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw_counters.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw_counters.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ib_verbs.c RDMA/bnxt_re: Fix reporting hw_ver in query_device 2025-01-15 16:29:53 +01:00
ib_verbs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
main.c RDMA/bnxt_re: Correct module description string 2024-11-18 12:11:41 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qplib_fp.c RDMA/bnxt_re: Fix the locking while accessing the QP table 2025-01-15 16:29:53 +01:00
qplib_fp.h RDMA/bnxt_re: Check cqe flags to know imm_data vs inv_irkey 2024-12-17 13:24:08 +01:00
qplib_rcfw.c RDMA/bnxt_re: synchronize the qp-handle table array 2024-11-23 23:22:03 +01:00
qplib_rcfw.h RDMA/bnxt_re: synchronize the qp-handle table array 2024-11-23 23:22:03 +01:00
qplib_res.c RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages 2024-11-23 23:21:58 +01:00
qplib_res.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qplib_sp.c RDMA/bnxt_re: Fix max_qp_wrs reported 2025-01-15 16:29:53 +01:00
qplib_sp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
roce_hsi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00