Re: [PATCH v2 0/5] PCI: functions/pci-epf-test: Add DMA data transfer
From: Lorenzo Pieralisi
Date: Wed Mar 11 2020 - 07:04:48 EST
On Tue, Mar 03, 2020 at 04:07:47PM +0530, Kishon Vijay Abraham I wrote:
> Patch series uses dma engine APIs in pci-epf-test to transfer data using
> DMA. It also adds an option "-d" in pcitest for the user to indicate
> whether DMA has to be used for data transfer. This also prints
> throughput information for data transfer.
>
> Changes from v1:
> *) Fixed some of the function names from pci_epf_* to pci_epf_test_*
> since the DMA support is now been moved to pci-epf-test.c
>
> Kishon Vijay Abraham I (5):
> PCI: endpoint: functions/pci-epf-test: Add DMA support to transfer
> data
> PCI: endpoint: functions/pci-epf-test: Print throughput information
> misc: pci_endpoint_test: Use streaming DMA APIs for buffer allocation
> tools: PCI: Add 'd' command line option to support DMA
> misc: pci_endpoint_test: Add support to get DMA option from userspace
>
> drivers/misc/pci_endpoint_test.c | 165 ++++++++++--
> drivers/pci/endpoint/functions/pci-epf-test.c | 253 +++++++++++++++++-
> include/uapi/linux/pcitest.h | 5 +
> tools/pci/pcitest.c | 20 +-
> 4 files changed, 412 insertions(+), 31 deletions(-)
Applied to pci/endpoint for v5.7, thanks.
Lorenzo