summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/rc.c
diff options
context:
space:
mode:
authorJianxin Xiong2016-12-08 04:32:53 +0100
committerDoug Ledford2016-12-11 21:25:13 +0100
commitb7481944b06e99dc84f4c7da2681ac89528b2020 (patch)
treef20c58a65a51238c2f3af3c106bc3a0eff429bf0 /drivers/infiniband/hw/hfi1/rc.c
parentIB/rdmavt: Fix trace hierarchy (diff)
downloadkernel-qcow2-linux-b7481944b06e99dc84f4c7da2681ac89528b2020.tar.gz
kernel-qcow2-linux-b7481944b06e99dc84f4c7da2681ac89528b2020.tar.xz
kernel-qcow2-linux-b7481944b06e99dc84f4c7da2681ac89528b2020.zip
IB/hfi1: Show statistics counters under IB stats interface
Previously tools like hfi1stats had to access these counters through debugfs, which often caused permission issue for non-root users. It is not always acceptable to change the debugfs mounting permission due to security concerns. When exposed under the IB stats interface, the counters are universally readable by default. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/rc.c')
0 files changed, 0 insertions, 0 deletions