linux/drivers/infiniband
Selvin Xavier 140ac9370b RDMA/bnxt_re: Do not add user qps to flushlist
[ Upstream commit a812f2d60a ]

Driver shall add only the kernel qps to the flush list for clean up.
During async error events from the HW, driver is adding qps to this list
without checking if the qp is kernel qp or not.

Add a check to avoid user qp addition to the flush list.

Fixes: 942c9b6ca8 ("RDMA/bnxt_re: Avoid Hard lockup during error CQE processing")
Fixes: c50866e285 ("bnxt_re: fix the regression due to changes in alloc_pbl")
Link: https://lore.kernel.org/r/1596689148-4023-1-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-26 10:41:05 +02:00
..
core RDMA/counter: Allow manually bind QPs with different pids to same counter 2020-08-21 13:05:32 +02:00
hw RDMA/bnxt_re: Do not add user qps to flushlist 2020-08-26 10:41:05 +02:00
sw RDMA/rxe: Prevent access to wr->next ptr afrer wr is posted to send queue 2020-08-19 08:16:12 +02:00
ulp RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah() 2020-08-21 13:05:30 +02:00
Kconfig RDMA/odp: Use the common interval tree library instead of generic 2019-08-21 13:34:09 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00