Whamcloud - gitweb
LU-13026 lnet: MR selection of gateway ni 13/36913/6
authorAmir Shehata <ashehata@whamcloud.com>
Fri, 7 Feb 2020 19:16:23 +0000 (11:16 -0800)
committerOleg Drokin <green@whamcloud.com>
Sun, 1 Mar 2020 05:35:56 +0000 (05:35 +0000)
commite5614b45793219e9b0eed4e22e9afecb042795f3
tree1797c6470b072851ed3ea48eda3f1c03c568d252
parent728822f4b73cd9ca31f9800dfdd013d86cb44faf
LU-13026 lnet: MR selection of gateway ni

Multi-Rail gateways can only have 1 route pointing to them. Use
the MR selection algorithm to get the best lpni on the MR
gateway to use.

Using the selection algorithm to find the gateway NI, allows us
to use the standard MR criteria: health, preference and credits.

Test-parameters: trivial

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