kernel-ark/drivers/infiniband/hw/cxgb4
Kumar Sanghvi 01e7da6ba5 RDMA/cxgb4: Make sure flush CQ entries are collected on connection close
At the time when a peer closes the connection, iw_cxgb4 will not send
a cq event if ibqp.uobject exists.  In that case, its possible for a
user application to get blocked in ibv_get_cq_event().

To resolve this, call the cq's comp_handler to unblock any read from
ibv_get_cq_event().  This will trigger userspace to poll the cq and
collect flush status completions for any pending work requests.

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2011-10-14 14:23:04 -07:00
..
cm.c net: Abstract dst->neighbour accesses behind helpers. 2011-07-17 23:11:35 -07:00
cq.c RDMA/cxgb4: Don't exceed hw IQ depth limit for user CQs 2011-06-17 11:52:45 -07:00
device.c RDMA/cxgb4: Fail RDMA initialization for unsupported cards 2011-10-06 09:32:44 -07:00
ev.c
iw_cxgb4.h RDMA/cxgb4: Use completion objects for event blocking 2011-05-24 09:47:38 -07:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile IB: Replace EXTRA_CFLAGS with ccflags-y 2010-10-23 13:45:03 -07:00
mem.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
provider.c RDMA: Allow for NULL .modify_device() and .modify_port() methods 2011-07-18 16:44:30 -07:00
qp.c RDMA/cxgb4: Make sure flush CQ entries are collected on connection close 2011-10-14 14:23:04 -07:00
resource.c RDMA/cxgb4: Use printk_ratelimited() instead of printk_ratelimit() 2011-07-18 21:18:39 -07:00
t4.h cxgb4: use pgprot_writecombine() on powerpc 2011-04-27 14:18:25 +10:00
t4fw_ri_api.h
user.h