nvme: Enable RNR Retry in RDMA transport
The initiator will now automatically retry sending commands if the target is not ready. Change-Id: I13354283f77d9ccba9645e83c77061cac1b07b0f Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/428732 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Sasha Kotchubievsky <sashakot@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
3daa9e6f75
commit
438bae7966
@ -546,6 +546,7 @@ nvme_rdma_connect(struct nvme_rdma_qpair *rqpair)
|
||||
param.private_data = &request_data;
|
||||
param.private_data_len = sizeof(request_data);
|
||||
param.retry_count = 7;
|
||||
param.rnr_retry_count = 7;
|
||||
|
||||
ret = rdma_connect(rqpair->cm_id, ¶m);
|
||||
if (ret) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user