1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/infiniband/hw/cxgb4
Steve Wise 335ebf6fa3 iw_cxgb4: only clear the ARMED bit if a notification is needed
In __flush_qp(), the CQ ARMED bit was being cleared regardless of
whether any notification is actually needed.  This resulted in the iser
termination logic getting stuck in ib_drain_sq() because the CQ was not
marked ARMED and thus the drain CQE notification wasn't triggered.

This new bug was exposed when this commit was merged:

commit cbb40fadd3 ("iw_cxgb4: only call the cq comp_handler when the
cq is armed")

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2017-12-07 14:09:59 -07:00
..
cm.c iw_cxgb4: remove BUG_ON() usage. 2017-11-13 15:01:25 -05:00
cq.c iw_cxgb4: remove BUG_ON() usage. 2017-11-13 15:01:25 -05:00
device.c iw_cxgb4: Fix possible circular dependency locking warning 2017-11-13 16:59:22 -05:00
ev.c iw_cxgb4: only call the cq comp_handler when the cq is armed 2017-11-13 16:59:22 -05:00
id_table.c iw_cxgb4: remove BUG_ON() usage. 2017-11-13 15:01:25 -05:00
iw_cxgb4.h iw_cxgb4: Fix possible circular dependency locking warning 2017-11-13 16:59:22 -05:00
Kconfig IB/{cxgb3,cxgb4}: Remove unneeded config dependencies 2017-09-27 08:54:19 -04:00
Makefile libcxgb,iw_cxgb4,cxgbit: add cxgb_get_4tuple() 2016-09-15 20:49:19 -04:00
mem.c iw_cxgb4: add referencing to wait objects 2017-09-29 11:46:41 -04:00
provider.c iw_cxgb4: Fix possible circular dependency locking warning 2017-11-13 16:59:22 -05:00
qp.c iw_cxgb4: only clear the ARMED bit if a notification is needed 2017-12-07 14:09:59 -07:00
resource.c iw_cxgb4: Remove __func__ parameter from pr_debug() 2017-09-27 10:13:14 -04:00
t4.h iw_cxgb4: remove BUG_ON() usage. 2017-11-13 15:01:25 -05:00
t4fw_ri_api.h RDMA/cxgb4: Annotate r2 and stag as __be32 2017-11-10 13:04:09 -05:00