]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/infiniband/ulp/isert/ib_isert.c
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)
commit897bb2c9162fa8f03653693a751b473cd131ee60
tree42536c26073b2d5e57196243d4b5826c00682460
parentc2caa207774683bddaa628d4c848ca48cc172e0a
Target/iser: Consider DIF and RDMA_READ completions when calculating post_send counter

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