linux/drivers/infiniband/hw/bnxt_re
Selvin Xavier b1d56fdcb6 RDMA/bnxt_re: Wait for all the CQ events before freeing CQ data structures
Destroy CQ command to firmware returns the num_cnq_events as a
response. This indicates the driver about the number of CQ events
generated for this CQ. Driver should wait for all these events before
freeing the CQ host structures.  Also, add routine to clean all the
pending notification for the CQs getting destroyed. This avoids the
possibility of accessing the CQ data structures after its freed.

Fixes: 1ac5a40479 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Link: https://lore.kernel.org/r/1584120842-3200-1-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-03-24 20:15:36 -03:00
..
bnxt_re.h RDMA/bnxt_re: Remove unnecessary sched count 2020-03-17 20:15:03 -03:00
hw_counters.c RDMA/bnxt_re: Fix spelling mistake "missin_resp" -> "missing_resp" 2019-09-16 10:58:57 -03:00
hw_counters.h RDMA/bnxt_re: Report out of sequence hw counters 2018-10-16 00:03:50 -06:00
ib_verbs.c RDMA/bnxt_re: Remove a redundant 'memset' 2020-03-10 14:33:21 -03:00
ib_verbs.h RDMA/bnxt_re: Remove unsupported modify_device callback 2019-10-01 13:06:10 -03:00
Kconfig RDMA/bnxt_re: Fix Kconfig indentation 2019-11-25 10:31:47 -04:00
main.c RDMA/bnxt_re: Remove unnecessary sched count 2020-03-17 20:15:03 -03:00
Makefile infiniband: prefix header search paths with $(srctree)/ 2019-01-25 15:28:50 -07:00
qplib_fp.c RDMA/bnxt_re: Wait for all the CQ events before freeing CQ data structures 2020-03-24 20:15:36 -03:00
qplib_fp.h RDMA/bnxt_re: Wait for all the CQ events before freeing CQ data structures 2020-03-24 20:15:36 -03:00
qplib_rcfw.c RDMA/bnxt_re: Remove set but not used variables 'pg' and 'idx' 2020-03-02 11:10:38 -04:00
qplib_rcfw.h RDMA/bnxt_re: Refactor doorbell management functions 2020-02-21 20:21:44 -04:00
qplib_res.c RDMA/bnxt_re: Remove set but not used variable 'pg_size' 2020-03-02 11:10:38 -04:00
qplib_res.h RDMA/bnxt_re: Refactor doorbell management functions 2020-02-21 20:21:44 -04:00
qplib_sp.c RDMA/bnxt_re: Refactor hardware queue memory allocation 2020-02-21 20:21:43 -04:00
qplib_sp.h RDMA/bnxt_re: Honor vlan_id in GID entry comparison 2019-07-22 15:04:04 -03:00
roce_hsi.h RDMA/bnxt_re: Add extended psn structure for 57500 adapters 2019-02-07 13:24:48 -07:00