WSL2-Linux-Kernel/drivers/infiniband/hw/cxgb4
Steve Wise 4659a641b3 iw_cxgb4: when flushing, complete all wrs in a chain
commit d145873345 upstream.

If a wr chain was posted and needed to be flushed, only the first
wr in the chain was completed with FLUSHED status.  The rest were
never completed.  This caused isert to hang on shutdown due to the
missing completions which left iscsi IO commands referenced, stalling
the shutdown.

Fixes: 4fe7c2962e ("iw_cxgb4: refactor sq/rq drain logic")
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-17 09:45:19 +01:00
..
Kconfig libcxgb,iw_cxgb4,cxgbit: add cxgb_get_4tuple() 2016-09-15 20:49:19 -04:00
Makefile libcxgb,iw_cxgb4,cxgbit: add cxgb_get_4tuple() 2016-09-15 20:49:19 -04:00
cm.c iw_cxgb4: remove the stid on listen create failure 2017-09-22 12:59:42 -04:00
cq.c iw_cxgb4: reflect the original WR opcode in drain cqes 2018-01-17 09:45:19 +01:00
device.c RDMA: Remove useless MODULE_VERSION 2017-07-24 08:45:11 -04:00
ev.c iw_cxgb4: only call the cq comp_handler when the cq is armed 2018-01-17 09:45:19 +01:00
id_table.c drivers/infiniband/hw: rename random32() to prandom_u32() 2013-05-07 18:38:27 -07:00
iw_cxgb4.h iw_cxgb4: reflect the original WR opcode in drain cqes 2018-01-17 09:45:19 +01:00
mem.c iw_cxgb4: fix misuse of integer variable 2017-08-16 11:43:21 -04:00
provider.c RDMA: Simplify get firmware interface 2017-08-10 13:28:10 +03:00
qp.c iw_cxgb4: when flushing, complete all wrs in a chain 2018-01-17 09:45:19 +01:00
resource.c cxgb4: Convert PDBG to pr_debug 2017-04-20 16:14:13 -04:00
t4.h iw_cxgb4: reflect the original WR opcode in drain cqes 2018-01-17 09:45:19 +01:00
t4fw_ri_api.h RDMA/cxgb4: Annotate r2 and stag as __be32 2017-12-17 15:08:01 +01:00