Whamcloud - gitweb
LU-2456 lnet: DLC Feature dynamic net config 32/9832/9
authorAmir Shehata <amir.shehata@intel.com>
Fri, 28 Mar 2014 00:55:09 +0000 (17:55 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 15 Aug 2014 16:15:51 +0000 (16:15 +0000)
commit92c51841c50cc4061c20b277d3f7c4468f2a80cc
tree0044c964863acaf2e30d5be074fda7397b72d34d
parent18ad797d5da11a8ce886c8d0cce9b1e043c4c898
LU-2456 lnet: DLC Feature dynamic net config

This is the third patch of a set of patches that enables DLC.

This patch adds the following features to LNET.  Currently these
features are not driven by user space.
- Adding/Deleting Networks dynamically
Two new functions were added:
 - lnet_dyn_add_ni()
    add an NI. if the NI is already added then fail with
    appropriate error code
 - lnet_dyn_del_ni()
    delete an existing NI.  If NI doesn't exist fail with
    appropriate failure code.
These functions shall be called from IOCTL.

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I43c1c3303916b15772b19ea94f56fb277a9d87bb
Reviewed-on: http://review.whamcloud.com/9832
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Liang Zhen <liang.zhen@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/include/lnet/lib-lnet.h
lnet/lnet/api-ni.c