Whamcloud - gitweb
LU-11893 o2iblnd: add secondary IP address handling 76/34476/7
authorJames Simmons <uja.ornl@yahoo.com>
Sat, 18 May 2019 22:35:54 +0000 (18:35 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 1 Jun 2019 03:55:04 +0000 (03:55 +0000)
commitc4b39bf56bbcacd49d7f888a0745cd4b5580b36b
treef71e425feef45ec74e71fb51002e456738ff10f4
parent591a9b4cebc510ff51f0fdb944e5a81f08fdaf62
LU-11893 o2iblnd: add secondary IP address handling

Using dev_get_by_name() in kiblnd_create_dev() means we can only
discover primary IP addresses. This breaks using network
aliasing which some people use. Move away from dev_get_by_name()
to using for_ifa() so we can detect any secondary IP addresses.

Change-Id: I03f2f8d18118b716a5eb5fb87694000ac06fe242
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/34476
Reviewed-by: Petros Koutoupis <pkoutoupis@cray.com>
Reviewed-by: Neil Brown <neilb@suse.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.c