Whamcloud - gitweb
LU-10003 lnet: use Netlink to support LNet ping commands 60/49360/6
authorJames Simmons <jsimmons@infradead.org>
Wed, 4 Jan 2023 00:28:55 +0000 (19:28 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Jan 2023 15:28:08 +0000 (15:28 +0000)
commitd137e9823ca1e97fccee59913d5a7bf1891b825a
tree55afc51fc50776d95e9fb91cecafa50ad444c3db
parent1632ed0340ade65b5e49a8a0489a98bd1c5e09a7
LU-10003 lnet: use Netlink to support LNet ping commands

Completely replace the old pre-MR ping command ioctl using
Netlink which will also handle large NIDs. We do update
IOC_LIBCFS_PING_PEER, which only supports only small NIDs,
so older tools will keep working.

Test-Parameters: trivial testlist=sanity-lnet
Test-Parameters: serverversion=2.12 serverdistro=el7.9 testlist=runtests
Test-Parameters: clientversion=2.12 testlist=runtests
Change-Id: Ic82a18dc38e4bd4e78bf61da766f7a847da509a8
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49360
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/include/uapi/linux/lnet/libcfs_ioctl.h
lnet/include/uapi/linux/lnet/lnet-dlc.h
lnet/lnet/api-ni.c
lnet/lnet/nidstrings.c
lnet/lnet/peer.c
lnet/utils/lnetconfig/liblnetconfig_netlink.c
lustre/utils/portals.c