summaryrefslogtreecommitdiff
path: root/drivers/ntb/test/ntb_perf.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2016-06-20 22:15:11 +0300
committerJon Mason <jdmason@kudzu.us>2016-08-05 17:21:07 +0300
commit20572ee1c577609f38b56b81c760dcb4151f1dbf (patch)
tree4e572da3619bc301724e53b90816a2f96082d58b /drivers/ntb/test/ntb_perf.c
parentbfcaa39652bf64294261415e5fa18ef0445a4d74 (diff)
downloadlinux-20572ee1c577609f38b56b81c760dcb4151f1dbf.tar.xz
ntb_pingpong: Add a debugfs file to get the ping count
This commit adds a debugfs 'count' file to ntb_pingpong. This is so testing with ntb_pingpong can be automated beyond just checking the logs for pong messages. The count file returns a number which increments every pong. The counter can be cleared by writing a zero. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Acked-by: Allen Hubbe <Allen.Hubbe@emc.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb/test/ntb_perf.c')
0 files changed, 0 insertions, 0 deletions