]> git.baikalelectronics.ru Git - kernel.git/commit
Target/iser: Fix initiator_depth and responder_resources
authorSagi Grimberg <sagig@mellanox.com>
Thu, 19 Jun 2014 10:54:19 +0000 (13:54 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 15 Sep 2014 21:02:55 +0000 (14:02 -0700)
commit80cc932a2067eed055a0ee2ecefee80f6b533de8
tree71283d2eb8964a32803ab5fa932bc367d9c70ef3
parent48990af93b7df3987d211f14e8916a3348574d7a
Target/iser: Fix initiator_depth and responder_resources

The iser target is the RDMA requester and the iser initiator is the
RDMA responder. In order to determine the max inflight RDMA READ requests
to set on the QP (initiator_depth), it should take the min between the
initiator published initiator_depth and the max inflight rdma read
requests its local HCA support (max_qp_init_rd_atom).

The target will never handle incoming RDMA READ requests so no need to
set responder_resources.

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