Whamcloud - gitweb
LU-14661 lnet: Provide kernel API for adding peers 09/43509/5
authorChris Horn <chris.horn@hpe.com>
Wed, 2 Sep 2020 20:07:25 +0000 (15:07 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 18 Aug 2021 01:58:52 +0000 (01:58 +0000)
commitac201366ad5700edc860c139955af8a09bf53a1a
treeec68ebe40e10a0ca1e8131b4ab3e46f6d1742f05
parent51350e9b738dbfeae2911078d73ddc0c1e7e20d8
LU-14661 lnet: Provide kernel API for adding peers

Implement LNetAddPeer() API to allow other kernel modules to add
peers to LNet.

Peers created via this API are not marked as having been configured
by DLC. As such, they can be overwritten by discovery.

Test-Parameters: trivial
HPE-bug-id: LUS-9293
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: Ibb057f702ea29d60233fbd1680d8caec98064d5d
Reviewed-on: https://review.whamcloud.com/43509
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/api.h
lnet/include/lnet/lib-lnet.h
lnet/lnet/api-ni.c
lnet/lnet/peer.c