Whamcloud - gitweb
LU-9667 lnet: Add LNet peer sysfs structure
authorSonia Sharma <sonia.sharma@intel.com>
Wed, 30 May 2018 04:01:52 +0000 (21:01 -0700)
committerSonia Sharma <sharmaso@whamcloud.com>
Thu, 30 May 2019 02:33:53 +0000 (22:33 -0400)
commitf849d63eebf7640b3c0d07ad77688742ee1ff9bf
tree50e9745e6777e0e3de08c302315ea0c4e1a33d19
parent1f8fc4ecd334940b34c6a9f2124835ba25da8156
LU-9667 lnet: Add LNet peer sysfs structure

Adding APIs to create ksets, kobjects
and the attribute files for peer sysfs directory
structure.

Callback functions for the LNet Peer attributes
are added to be used to display peer statistics.

Change-Id: I39d57806dd3b94fc5924e7e9525b79b4e647006e
Test-Parameters: trivial
Signed-off-by: Sonia Sharma <sonia.sharma@intel.com>
Reviewed-on: https://review.whamcloud.com/32579
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/include/lnet/lnet-sysfs.h
lnet/lnet/api-ni.c
lnet/lnet/lnet-sysfs.c
lnet/lnet/module.c
lnet/lnet/peer.c