Whamcloud - gitweb
LU-10391 lnet: handle discovery with Netlink 53/50253/3
authorJames Simmons <jsimmons@infradead.org>
Mon, 23 Oct 2023 14:18:51 +0000 (10:18 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Nov 2023 21:59:15 +0000 (21:59 +0000)
commit68254c484abfb5a9e212f72f937c0af9710dfb73
treee4d264b0ac04eea9ec6080c568bf1d5b8da87b08
parent4512347d6cda68fc8c949db521e00b485258c420
LU-10391 lnet: handle discovery with Netlink

Move the LNet discover feature to the Netlink API. This change
enables the detection of remote LNet setups using large NID
addresses. We treat LNet discover as a ping doit function since
the output is nearly identical to pings. Returned are successes
as well as failed attempts to discover the requested NIDs.

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