Whamcloud - gitweb
LU-6245 libcfs: move cfs_ip_addr_* function from kernel libcfs to LNet 85/15085/4
authorJames Simmons <uja.ornl@yahoo.com>
Sat, 30 May 2015 00:10:35 +0000 (20:10 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 19 Jun 2015 07:06:27 +0000 (07:06 +0000)
commit31114c83e492a1f831165bb2b96496560967b42d
tree803e7e5bc495ab55ebd3a7bbe72b4b70d75d8b5a
parent7e1758e5621df902c5942d100a75cebde8df0327
LU-6245 libcfs: move cfs_ip_addr_* function from kernel libcfs to LNet

Both of cfs_ip_addr_parse and cfs_ip_addr_match which are located in
libcfs kernel module are used only for LNet so move this into the
nidstring handling code where it belongs. Also create user land
versions of these functions in the libcfs user land library.

Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Change-Id: Idb1be9c6ab3328f2f85e92847b5a367d91a903da
Reviewed-on: http://review.whamcloud.com/15085
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: frank zago <fzago@cray.com>
Tested-by: Jenkins
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/include/libcfs/libcfs_string.h
libcfs/libcfs/libcfs_string.c
libcfs/libcfs/util/nidstrings.c
libcfs/libcfs/util/string.c
lnet/include/lnet/nidstr.h
lnet/lnet/nidstrings.c