Messages in this thread | | | From | Sanjay R Mehta <> | Subject | [PATCH v2 0/5] ntb perf, ntb tool and ntb-hw improvements | Date | Tue, 10 Mar 2020 15:54:49 -0500 |
| |
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, ntb_tool and ntb_hw* files.
The patches are based on Linus' tree,
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
v2: Incorporated improvements suggested by Logan Gunthorpe
Arindam Nath (2): ntb_perf: refactor code for CPU and DMA transfers ntb_perf: send command in response to EAGAIN
Logan Gunthorpe (1): ntb: hw: remove the code that sets the DMA mask
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/hw/amd/ntb_hw_amd.c | 4 - drivers/ntb/hw/idt/ntb_hw_idt.c | 6 -- drivers/ntb/hw/intel/ntb_hw_gen1.c | 4 - drivers/ntb/test/ntb_perf.c | 167 +++++++++++++++++++++++++++---------- drivers/ntb/test/ntb_tool.c | 6 +- 5 files changed, 126 insertions(+), 61 deletions(-)
-- 2.7.4
| |