Whamcloud - gitweb
LU-9680 lnet: collect data about peer_ni by using Netlink 16/49516/42
authorJames Simmons <jsimmons@infradead.org>
Sat, 7 Oct 2023 06:21:30 +0000 (02:21 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 25 Oct 2023 18:02:33 +0000 (18:02 +0000)
commitf0be00678cc8005ec122fa1982d3aa432f6e3cbd
tree3e1b314e4077788acf3d4b2f47772bbff209b902
parentd15bfca07858c175c67ac6715fca2a876834b1ce
LU-9680 lnet: collect data about peer_ni by using Netlink

Migrate the LNet peer NI API to use the Netlink API for
the case of collecting data on peer. This change also
allows large NID support for IPv6. Since this doesn't
cover creation and deletion of peers we can't setup
large NID peers just yet.

Test-Parameters: trivial testlist=sanity-lnet
Change-Id: Iefa3f566255e768047b0f9ff21d64bc74634f284
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49516
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lnet/include/lnet/lib-types.h
lnet/lnet/api-ni.c
lnet/lnet/peer.c
lnet/utils/lnetctl.c
lustre/tests/sanity-lnet.sh