[PATCH 0/4] ntb perf and ntb tool improvements

From: Arindam Nath
Date: Wed Feb 05 2020 - 12:17:41 EST


This patch series modifies the ntb perf code to
have separate functions for CPU and DMA transfers.
It also adds handling for -EAGAIN error code so
that we re-try sending commands later.

Fixes have been made to ntb_perf and ntb_tool
to use 'struct device' associated with 'struct
pci_dev' rather than 'struct ntb_dev'.

The patches are based on Linus' tree,

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Arindam Nath (2):
ntb_perf: refactor code for CPU and DMA transfers
ntb_perf: send command in response to EAGAIN

Sanjay R Mehta (2):
ntb_perf: pass correct struct device to dma_alloc_coherent
ntb_tool: pass correct struct device to dma_alloc_coherent

drivers/ntb/test/ntb_perf.c | 168 ++++++++++++++++++++++++++----------
drivers/ntb/test/ntb_tool.c | 6 +-
2 files changed, 126 insertions(+), 48 deletions(-)

--
2.17.1