Whamcloud - gitweb
LU-7734 lnet: Routing fixes part 2
authorAmir Shehata <amir.shehata@intel.com>
Wed, 6 Jul 2016 02:36:08 +0000 (19:36 -0700)
committerAmir Shehata <amir.shehata@intel.com>
Wed, 25 Jan 2017 03:10:16 +0000 (19:10 -0800)
commitb704f1b8bfa432c5e1a47048e2770e47721a0459
treede2ba838c5ab7da92357973275f1115999c85a13
parent376633ab5c487a2e9497e118ce351c4b1597bf33
LU-7734 lnet: Routing fixes part 2

Fix lnet_select_pathway() to handle the routing cases correctly.
The following general cases are handled:
. Non-MR directly connected
. Non-MR not directly connected
. MR Directly connected
. MR Not directly connected
  . No gateway
  . Gateway is non-mr
  . Gateway is mr

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: If2d16b797b94421e78a9f2a254a250a440f8b244
Reviewed-on: http://review.whamcloud.com/21167
lnet/lnet/lib-move.c
lnet/lnet/peer.c