]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Make CM timeout dependent on subnet timeout
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:27:29 +0000 (10:27 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 14:49:54 +0000 (10:49 -0400)
commit6d8d282e1f2f0e9294a6bf28526a6e9cbcb68d5f
treea6f802856cb7006ca06ac0590202f7bc9aa963c4
parentdc25a895297334bb41e48d184d6639f909ec07a7
IB/srp: Make CM timeout dependent on subnet timeout

For small networks it is safe to reduce the subnet timeout from
its default value (18 for opensm) to 16. Make the SRP CM timeout
dependent on the subnet timeout such that decreasing the subnet
timeout also causes SRP failover and failback to occur faster.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c