diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2014-06-19 12:54:19 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-09-15 23:02:55 +0200 |
commit | 1a92e17e39b9a5d476e0a7aa52280e76321834ee (patch) | |
tree | 71283d2eb8964a32803ab5fa932bc367d9c70ef3 /drivers/target | |
parent | Target/iser: Avoid calling rdma_disconnect twice (diff) | |
download | linux-1a92e17e39b9a5d476e0a7aa52280e76321834ee.tar.xz linux-1a92e17e39b9a5d476e0a7aa52280e76321834ee.zip |
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>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions