linux/drivers/infiniband/ulp
Sagi Grimberg bdf20e7254 iser-target: Remove an atomic operation from the IO path
In order to know that we consumed all the connection completions
we maintain atomic post_send_buf_count for each IO post send. But
we can know that if we post a "beacon" (zero length RECV work request)
after we move the QP into error state and the target does not serve
any new IO. When we consume it, we know we finished all the connection
completion and we can go ahead and destroy stuff.

In error completion handler we now just need to check for ISERT_BEACON_WRID
to arrive and then wait for session commands to cleanup and complete
conn_wait_comp_err.

We reserve another CQ and QP entries to fit the zero length post recv.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2014-12-12 23:32:31 -08:00
..
ipoib net: better IFF_XMIT_DST_RELEASE support 2014-10-07 13:22:11 -04:00
iser IB/mlx5, iser, isert: Add Signature API additions 2014-10-09 00:10:53 -07:00
isert iser-target: Remove an atomic operation from the IO path 2014-12-12 23:32:31 -08:00
srp IB/srp: Fix return value check in srp_init_module() 2014-08-14 08:57:54 -07:00
srpt srp-target: Retry when QP creation fails with ENOMEM 2014-10-28 13:55:08 -07:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00