Whamcloud - gitweb
LU-12053 lnet: look up MR peers routes 25/34625/17
authorAmir Shehata <ashehata@whamcloud.com>
Mon, 8 Apr 2019 22:28:23 +0000 (15:28 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 7 Jun 2019 18:22:53 +0000 (18:22 +0000)
commit52eef817974304d0107caaec023a2ed341c164e0
treec27fa31a05f5bbb01aa45ad2c2e9b4d63e717632
parent526679c681c34a4d5f8f7159b29cf51b971677c2
LU-12053 lnet: look up MR peers routes

An MR peer can have multiple interfaces some of which we might
have a route to. The primary NID of the peer might not necessarily
specify a NID we have a route to. When looking up a route, we must
iterate over all the nets the peer is on and select the one which
we can route to. Taking into consideration the peer can exist on
multiple routed networks we also have a simple round robin algorithm
to iterate over all the networks we can reach the peer on.

Test-Parameters: forbuildonly
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I0651dd4f732c8b71872f73cf2512b08f34129bd9
Reviewed-on: https://review.whamcloud.com/34625
Tested-by: Jenkins
lnet/include/lnet/lib-types.h
lnet/lnet/lib-move.c