Whamcloud - gitweb
LU-11893 lnet: consoldate secondary IP address handling 93/34993/7
authorJames Simmons <jsimmons@infradead.org>
Tue, 2 Jul 2019 13:11:15 +0000 (09:11 -0400)
committerJames Simmons <uja.ornl@yahoo.com>
Tue, 2 Jul 2019 16:21:28 +0000 (16:21 +0000)
commitd6d0194c1969db05a6a60718679750ecfd75739b
tree2229bff9f7474ca37000dadf2707a1bab624a578
parentb511c65f468698aeb6e68f091ee3f30ec27830d0
LU-11893 lnet: consoldate secondary IP address handling

The last piece of code with broken secondary IP address
support is lnet_parse_ip2nets(). We could fix it like
o2iblnd or socklnd was done but since the LND drivers
resolved those issues instead we can move the handling
out of the LND drivers into one place in the LNet core.
To do this we introduce struct lnet_inetdev which is
a collection of data that the current LNet layer requires.
The new function lnet_inet_enumerate() is used to collect
this information.

Change-Id: I0c532caa3cf6b2178eb1ab65e55e5883d408a185
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
lnet/include/lnet/lib-lnet.h
lnet/klnds/gnilnd/gnilnd_aries.h
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/socklnd/socklnd.c
lnet/lnet/config.c