Whamcloud - gitweb
LU-13035 lnet: fix remote peer ni selection 15/36915/7
authorAmir Shehata <ashehata@whamcloud.com>
Fri, 29 Nov 2019 05:22:30 +0000 (21:22 -0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 24 Mar 2020 05:17:02 +0000 (05:17 +0000)
commit9dfdc2238be3bc5ad1292cddcad7abf941c4066b
tree4af5145009d072640b84208dca2e48e35ad334ca
parent9f337d94e7ad7ac6bd6bbc324996ab0eaba9bd66
LU-13035 lnet: fix remote peer ni selection

When selecting the NI of a remote peer we can only round robin
over the NIs. Remote peer NIs have no credits and no health.
However, we'd like to still spread the traffic over the remote
peer NIs as much as we can.

Remote peer NIs sequence number was not being incremented and
therefore the round robin algorithm wasn't working.

Test-parameters: trivial

Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I83dba3597987844b7bddc980c53e8c6d90bcd3b2
Reviewed-on: https://review.whamcloud.com/36915
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/lib-move.c