Whamcloud - gitweb
LU-9680 lnet: collect data about routes by using Netlink 39/49839/21
authorJames Simmons <jsimmons@infradead.org>
Thu, 18 May 2023 15:36:49 +0000 (11:36 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 31 May 2023 19:02:32 +0000 (19:02 +0000)
commit4ccac8297d0a600275f1e04deaad5ff9e1148e4d
treebe933c6cb00dfcc05b00707bb1e427827264a377
parent8a5bb81f774b9d41f1009b07010372fa9cd03a62
LU-9680 lnet: collect data about routes by using Netlink

Migrate the LNet route API to use the Netlink API for
the case of collecting data about routes. This change also
allows large NID support for IPv6. Support for adding and
deleting routes with Netlink will be done in an follow on
patch.

Test-Parameters: trivial testlist=sanity-lnet
Change-Id: Ic8a9eb1f2571b14049a385698594849a585878ca
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49839
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
lnet/include/lnet/lib-types.h
lnet/include/uapi/linux/lnet/lnet-dlc.h
lnet/lnet/api-ni.c
lnet/utils/lnetconfig/liblnetconfig.h
lnet/utils/lnetctl.c