staging:lustre: move LNet NID macros to LNet layer
authorJames Simmons <jsimmons@infradead.org>
Thu, 11 Jun 2015 19:18:11 +0000 (15:18 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Jun 2015 05:39:18 +0000 (22:39 -0700)
commitbbf00c3d91e43372da3b242be3fb3afc92751c79
tree75a7c6e74a84d5eb80427d799b834f4ba1b674dc
parent12c41f001015eb00fff6c677a2d83332cfd2c8b9
staging:lustre: move LNet NID macros to LNet layer

Currently several special macros LNet NID macros exist
in libcfs.h and libcfs_private.h. Move those macros
out to the lnet header types.h. The new lnet header
nidstr.h contains LNet NID string data that can be
used by user land LNet utilities and the LNet kernel
drivers.

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_private.h
drivers/staging/lustre/include/linux/lnet/lib-lnet.h
drivers/staging/lustre/include/linux/lnet/lnet.h
drivers/staging/lustre/include/linux/lnet/nidstr.h [new file with mode: 0644]
drivers/staging/lustre/include/linux/lnet/types.h
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
drivers/staging/lustre/lustre/include/lustre_net.h