IB/srp: Make transport layer retry count configurable
authorVu Pham <vuhuong@mellanox.com>
Sat, 26 Oct 2013 12:31:27 +0000 (14:31 +0200)
committerRoland Dreier <roland@purestorage.com>
Fri, 8 Nov 2013 22:43:15 +0000 (14:43 -0800)
commit7bb312e4a2f323fa460bbf9f33eeb00b5dabdb6b
tree68a03b84df702841512a2e786bf7ec3a8b3d30a5
parent959f58544b7f20c92d5eb43d1232c96c15c01bfb
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>
Documentation/ABI/stable/sysfs-driver-ib_srp
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h