Whamcloud - gitweb
LU-10391 socklnd: Change ksock_hello_msg to struct lnet_nid 10/43610/9
authorMr NeilBrown <neilb@suse.de>
Tue, 7 Jul 2020 04:03:23 +0000 (14:03 +1000)
committerJames Simmons <jsimmons@infradead.org>
Fri, 7 Jan 2022 01:12:42 +0000 (20:12 -0500)
commit2ae020ca917a8d0a89358a56c55f4e1d18fa6a9b
tree316a5ad438783b2632047e09948a82f569cfc3f1
parent38fbfdb158d7cba80d82ace48a98fa8c991dd518
LU-10391 socklnd: Change ksock_hello_msg to struct lnet_nid

'struct ksock_hello_msg' now stores 'struct lnet_nid', but it is
converted to 'struct ksock_hello_msg_nid4' - the old format - for
transmit, which is converted back on receive.

This opens the way for a new version of the hello protocol
which will use 16byte addresses.

Test-Parameters: trivial
Test-Parameters: serverversion=2.12 serverdistro=el7.9 testlist=runtests
Test-Parameters: clientversion=2.12 testlist=runtests
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I22e86f9088f6001f203f24f93ef292fcf2a8e69f
lnet/include/lnet/socklnd.h
lnet/klnds/socklnd/socklnd.c
lnet/klnds/socklnd/socklnd.h
lnet/klnds/socklnd/socklnd_cb.c
lnet/klnds/socklnd/socklnd_proto.c