android_kernel_google_msm/drivers/infiniband/ulp
Bart Van Assche 9aa66231c8 srp-target: Retry when QP creation fails with ENOMEM
commit ab477c1ff5 upstream.

It is not guaranteed to that srp_sq_size is supported
by the HCA. So if we failed to create the QP with ENOMEM,
try with a smaller srp_sq_size. Keep it up until we hit
MIN_SRPT_SQ_SIZE, then fail the connection.

Reported-by: Mark Lehrer <lehrer@gmail.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2015-02-02 17:05:20 +08:00
..
ipoib IPoIB: Fix send lockup due to missed TX completion 2013-03-28 12:12:25 -07:00
iser InfiniBand/RDMA changes for the 3.4 merge window. Nothing big really 2012-03-21 10:33:42 -07:00
srp IB/srp: Fix a sporadic crash triggered by cable pulling 2014-07-06 18:49:19 -07:00
srpt srp-target: Retry when QP creation fails with ENOMEM 2015-02-02 17:05:20 +08:00