mbox series

[v2,0/6] add test suite for DMA drivers

Message ID 20210901163216.120087-1-bruce.richardson@intel.com (mailing list archive)
Headers
Series add test suite for DMA drivers |

Message

Bruce Richardson Sept. 1, 2021, 4:32 p.m. UTC
  This patchset adds a fairly comprehensive set of tests for basic dmadev
functionality. Tests are added to verify basic copy operation in each
device, using both submit function and submit flag, and verifying completion
gathering using both "completed()" and "completed_status()" functions. Beyond
that, tests are then added for the error reporting and handling, as is a suite
of tests for the fill() operation for devices that support those.

NOTE: This patchset depends on series v17 of the dmadev set [1].

[1] http://patches.dpdk.org/project/dpdk/list/?series=18502

V2:
* added into dmadev a API to check for a device being idle
* removed the hard-coded timeout delays before checking completions, and instead
  wait for device to be idle
* added in checks for statistics updates as part of some tests
* fixed issue identified by internal coverity scan
* other minor miscellaneous changes and fixes.

Bruce Richardson (5):
  dmadev: add device idle check for testing use
  app/test: add basic dmadev instance tests
  app/test: add basic dmadev copy tests
  app/test: add more comprehensive dmadev copy tests
  app/test: test dmadev instance failure handling

Kevin Laatz (1):
  app/test: add dmadev fill tests

 app/test/test_dmadev.c       | 893 +++++++++++++++++++++++++++++++++++
 lib/dmadev/rte_dmadev.c      |  16 +
 lib/dmadev/rte_dmadev.h      |  21 +
 lib/dmadev/rte_dmadev_core.h |   4 +
 lib/dmadev/version.map       |   1 +
 5 files changed, 935 insertions(+)

--
2.30.2