Whamcloud - gitweb
LU-9667 lnet: Error out on missing network device information
authorSonia Sharma <sharmaso@whamcloud.com>
Sat, 3 Nov 2018 21:57:37 +0000 (17:57 -0400)
committerSonia Sharma <sharmaso@whamcloud.com>
Wed, 29 May 2019 07:08:15 +0000 (03:08 -0400)
commitf988b6bdea073fa6297931bc1665a1cb97475b1f
tree3ca1663eb6de809df55e105350086237b0033326
parent48beda6efcfe2241a6a1671cd9dc6413cc0ada10
LU-9667 lnet: Error out on missing network device information

Per the sysfs design, a network interface is always needed
to create the sysfs hierarchy for LNet NI while adding a
new NI.

To accomodate this, error out if the network interface
is not specified.

Change-Id: Ic128c2fa3509864bb06ee3bec490d41559c1a0c3
Test-Parameters: trivial
Signed-off-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/33583
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
lnet/lnet/api-ni.c
lnet/lnet/config.c