diff options
author | Vu Pham <vuhuong@mellanox.com> | 2013-10-26 12:31:27 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-11-08 22:43:15 (GMT) |
commit | 7bb312e4a2f323fa460bbf9f33eeb00b5dabdb6b (patch) | |
tree | 68a03b84df702841512a2e786bf7ec3a8b3d30a5 /drivers/infiniband/ulp/srp/ib_srp.h | |
parent | 959f58544b7f20c92d5eb43d1232c96c15c01bfb (diff) | |
download | linux-7bb312e4a2f323fa460bbf9f33eeb00b5dabdb6b.tar.xz |
IB/srp: Make transport layer retry count configurable
Allow the InfiniBand RC retry count to be configured by the user as an
option in the target login string. Reducing this retry count allows to
reduce the path failover time.
Signed-off-by: Vu Pham <vu@mellanox.com>
[ bvanassche: Rewrote patch description / changed default retry count ]
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: David Dillow <dillowda@ornl.gov>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp/srp/ib_srp.h')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.h b/drivers/infiniband/ulp/srp/ib_srp.h index e641088..84d821b 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.h +++ b/drivers/infiniband/ulp/srp/ib_srp.h @@ -157,6 +157,7 @@ struct srp_target_port { unsigned int scsi_id; unsigned int sg_tablesize; int comp_vector; + int tl_retry_count; struct ib_sa_path_rec path; __be16 orig_dgid[8]; |