Whamcloud - gitweb
LU-13642 lnet: modify lnet_inetdev to work with large NIDS 25/49525/5
authorJames Simmons <jsimmons@infradead.org>
Thu, 5 Jan 2023 17:59:24 +0000 (12:59 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Jan 2023 15:32:10 +0000 (15:32 +0000)
commit0b406c91d175b6cdbdf472b70a37e618cd66a72d
tree0988fd66916b0b13b3a8428753bb0b038e243510
parent43fe6e51804f8fb4cca4445be576233595e27b42
LU-13642 lnet: modify lnet_inetdev to work with large NIDS

Change li_ipv6 field in struct lnet_inetdev to li_size which
now represents the size of the NID address. This will work
with the GUID of Inifiniband as well. Second change is
to store li_ipaddr always in network format. This will allow
direct comparsion between li_ipaddr and the nid_addr of
struct lnet_nid. We will ensure AF_IB will also be in the
same format as what will be stored in struct lnet_nid.
Implement setup with a NID address for the ko2iblnd LND driver.

Test-Parameters: trivial testlist=sanity-lnet
Change-Id: I7c27edb67263dd5bda4728c536aee266d38a4592
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49525
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/include/uapi/linux/lnet/lnet-types.h
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/socklnd/socklnd.c
lnet/lnet/config.c