Target/iser: Consider DIF and RDMA_READ completions when calculating post_send counter
authorSagi Grimberg <sagig@mellanox.com>
Mon, 17 Mar 2014 10:52:17 +0000 (12:52 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 7 Apr 2014 08:48:48 +0000 (01:48 -0700)
If protection is involved, iSER target must wait for
completion of RDMA_READ before sending SCSI response.
So we must consider that when calculating post_send_buf_count
additions, also when processing good/error completions.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c