ntb_tool: Add memory window debug support
authorLogan Gunthorpe <logang@deltatee.com>
Fri, 3 Jun 2016 20:50:33 +0000 (14:50 -0600)
committerJon Mason <jdmason@kudzu.us>
Fri, 5 Aug 2016 14:21:06 +0000 (10:21 -0400)
commit8b71d285061181f91194114cc7dabce73185eed1
tree8307d79700534732dbd8e2e6d5d9e81c6b8a0711
parent4aae977721f0367809cdc94584b6945073d9fe10
ntb_tool: Add memory window debug support

We allocate some memory window buffers when the link comes up, then we
provide debugfs files to read/write each side of the link.

This is useful for debugging the mapping when writing new drivers.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Allen Hubbe <Allen.Hubbe@emc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_tool.c