Whamcloud - gitweb
LU-7734 lnet: Add peer_ni and NI stats for DLC
authorDoug Oucharek <doug.s.oucharek@intel.com>
Fri, 13 May 2016 00:25:21 +0000 (17:25 -0700)
committerAmir Shehata <amir.shehata@intel.com>
Wed, 25 Jan 2017 03:10:15 +0000 (19:10 -0800)
commitd704b0ec46ed5b77ff955f87044569dd98484333
tree1d2e6c5556c930c8533f45f606d8995702b6d671
parentd8792a7dab933def57f6069296234ad48ea0da09
LU-7734 lnet: Add peer_ni and NI stats for DLC

This patch adds three stats to the peer_ni and NI structures:
send_count, recv_count, and drop_count. These stats get printed
when you do an "lnetctl net show -v" (for NI) and
"lnetctl peer show" (for peer_ni).

Signed-off-by: Doug Oucharek <doug.s.oucharek@intel.com>
Change-Id: Ic41c88cbc68dba677151d87a1fab53a48d36ea29
Reviewed-on: http://review.whamcloud.com/20170
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Tested-by: Amir Shehata <amir.shehata@intel.com>
lnet/include/lnet/lib-dlc.h
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/lnet/api-ni.c
lnet/lnet/lib-move.c
lnet/lnet/lib-msg.c
lnet/lnet/peer.c
lnet/utils/lnetconfig/liblnetconfig.c