Whamcloud - gitweb
LU-8915 lnet: migrate LNet selftest group handling to Netlink 14/49314/5
authorJames Simmons <jsimmons@infradead.org>
Wed, 14 Dec 2022 19:31:26 +0000 (14:31 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Jan 2023 15:27:21 +0000 (15:27 +0000)
commita6c2d277d09ce9b33d5407dd08da7ffc42066de0
treee9cf5f6bed7655e8868374d21e384ae37cecc880
parenta0132a79df9b59d5d9b674665daf6cdbd79128a8
LU-8915 lnet: migrate LNet selftest group handling to Netlink

Replace the LSTIO_GROUP_LIST and LSTIO_GROUP_INFO ioctls with a Netlink
backend. Make this transitition transparent to the user. Be aware this
newer version of lnet_selftest.ko doesn't support older versions of the
lst tool. While the old interface allows only setting one group up at
a time the Netlink interface can be used to setup many groups at one
time. Currently we don't change the interface to handle larger NIDs but
this new interface will allow us to use the new NID format in a follow
on patch.

Change-Id: I18f07b380d353425c6e127e4fbd0f30e41f66944
Test-Parameters: trivial testlist=lnet-selftest
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49314
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/uapi/linux/lnet/lnetst.h
lnet/selftest/conctl.c
lnet/selftest/console.c
lnet/selftest/console.h
lnet/selftest/selftest.h
lnet/utils/lst.c