Skip to content

ntb perf and ntb tool improvements

Arindam Nath lkml ntb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ntb_perf: refactor code for CPU and DMA transfersdrivers/ntb/test/ntb_perf.c+105 -380 replies
2/4ntb_perf: send command in response to EAGAINdrivers/ntb/test/ntb_perf.c+14 -40 replies
3/4ntb_perf: pass correct struct device to dma_alloc_coherentdrivers/ntb/test/ntb_perf.c+4 -32 replies
4/4ntb_tool: pass correct struct device to dma_alloc_coherentdrivers/ntb/test/ntb_tool.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.17.1