aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ntb/test/ntb_perf.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2016-06-20 13:15:11 -0600
committerJon Mason <jdmason@kudzu.us>2016-08-05 10:21:07 -0400
commit20572ee1c577609f38b56b81c760dcb4151f1dbf (patch)
tree4e572da3619bc301724e53b90816a2f96082d58b /drivers/ntb/test/ntb_perf.c
parentntb_tool: Add link status and files to debugfs (diff)
downloadlinux-dev-20572ee1c577609f38b56b81c760dcb4151f1dbf.tar.xz
linux-dev-20572ee1c577609f38b56b81c760dcb4151f1dbf.zip
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