commit | 20572ee1c577609f38b56b81c760dcb4151f1dbf | [log] [tgz] |
---|---|---|
author | Logan Gunthorpe <logang@deltatee.com> | Mon Jun 20 13:15:11 2016 -0600 |
committer | Jon Mason <jdmason@kudzu.us> | Fri Aug 05 10:21:07 2016 -0400 |
tree | 4e572da3619bc301724e53b90816a2f96082d58b | |
parent | bfcaa39652bf64294261415e5fa18ef0445a4d74 [diff] |
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>