[dpdk-dev] [PATCH v2 0/6] add test suite for DMA drivers
Bruce Richardson
bruce.richardson at intel.com
Wed Sep 1 18:32:10 CEST 2021
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
More information about the dev
mailing list