Whamcloud - gitweb
LU-10391 lnet: change LNetPrimaryNID to use struct lnet_nid 16/43616/12
authorMr NeilBrown <neilb@suse.de>
Thu, 27 Jan 2022 00:38:21 +0000 (19:38 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 30 May 2022 19:02:39 +0000 (19:02 +0000)
commitac881498fa19e6b04cbd51e206376657d24a8eb9
tree3f31aa0cae75b342c8ec2d21d27b486c439005f8
parent581d1afd00fe7d82d3a2be5497f0fcf4fde24a4a
LU-10391 lnet: change LNetPrimaryNID to use struct lnet_nid

Rather than taking and returning a 4-byte-addr nid, LNetPrimaryNID now
takes a pointer to a struct lnet_nid, and updates it in-place.

Test-Parameters: trivial
Test-Parameters: env=SHARED_KEY=true testlist=sanity,sanity-sec
Test-Parameters: serverversion=2.12 serverdistro=el7.9 testlist=runtests
Test-Parameters: clientversion=2.12 testlist=runtests
Change-Id: I74f193e5c533125c282f230d272a506129baa365
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Reviewed-on: https://review.whamcloud.com/43616
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: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/api.h
lnet/lnet/peer.c
lustre/ptlrpc/connection.c
lustre/ptlrpc/gss/gss_keyring.c
lustre/ptlrpc/gss/gss_svc_upcall.c