|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2 |
|
| #
727e6b78 |
| 16-Feb-2022 |
Bruce Richardson <[email protected]> |
test/dma: fix missing checks for device capacity
For some DMA HW devices, e.g. those using the idxd driver, the maximum burst size is configurable, which can lead to test failures if the value is se
test/dma: fix missing checks for device capacity
For some DMA HW devices, e.g. those using the idxd driver, the maximum burst size is configurable, which can lead to test failures if the value is set too small. Add explicit check for this to give reasonable error messages for devices which need their config adjusted.
Fixes: 1b86a66a30c2 ("test/dma: add more comprehensive copy tests") Fixes: 8fa5d2683940 ("test/dma: add burst capacity test") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Conor Walsh <[email protected]> Reviewed-by: Kevin Laatz <[email protected]>
show more ...
|
|
Revision tags: v22.03-rc1 |
|
| #
98a54d0a |
| 11-Jan-2022 |
Bruce Richardson <[email protected]> |
test/dma: increase iterations of capacity test case
To ensure we catch any bugs in calculation due to wrap-around of the id values, increase the number of iterations of the burst_capacity test.
Sig
test/dma: increase iterations of capacity test case
To ensure we catch any bugs in calculation due to wrap-around of the id values, increase the number of iterations of the burst_capacity test.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Kevin Laatz <[email protected]>
show more ...
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1 |
|
| #
b916b1a9 |
| 21-Oct-2021 |
Chengwen Feng <[email protected]> |
test/dma: check DMA info query
This patch add check for rte_dma_info_get() API.
Fixes: 718f7804841f ("test/dma: add basic dmadev instance tests")
Signed-off-by: Chengwen Feng <fengchengwen@huawei.
test/dma: check DMA info query
This patch add check for rte_dma_info_get() API.
Fixes: 718f7804841f ("test/dma: add basic dmadev instance tests")
Signed-off-by: Chengwen Feng <[email protected]> Reviewed-by: David Marchand <[email protected]> Acked-by: Kevin Laatz <[email protected]> Acked-by: Conor Walsh <[email protected]>
show more ...
|
| #
c61c8282 |
| 21-Oct-2021 |
David Marchand <[email protected]> |
dmadev: hide devices array
No need to expose rte_dma_devices out of the dmadev library. Existing helpers should be enough, and inlines make use of rte_dma_fp_objs.
Signed-off-by: David Marchand <da
dmadev: hide devices array
No need to expose rte_dma_devices out of the dmadev library. Existing helpers should be enough, and inlines make use of rte_dma_fp_objs.
Signed-off-by: David Marchand <[email protected]> Reviewed-by: Chengwen Feng <[email protected]> Tested-by: Conor Walsh <[email protected]> Acked-by: Kevin Laatz <[email protected]>
show more ...
|
| #
8fa5d268 |
| 13-Oct-2021 |
Kevin Laatz <[email protected]> |
test/dma: add burst capacity test
Add a test case to validate the functionality of drivers' burst capacity API implementations.
Signed-off-by: Kevin Laatz <[email protected]> Signed-off-by: Bru
test/dma: add burst capacity test
Add a test case to validate the functionality of drivers' burst capacity API implementations.
Signed-off-by: Kevin Laatz <[email protected]> Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Conor Walsh <[email protected]>
show more ...
|
| #
e00fcb0f |
| 13-Oct-2021 |
Kevin Laatz <[email protected]> |
test/dma: add fill tests
For DMA devices which support the fill operation, run unit tests to verify fill behaviour is correct.
Signed-off-by: Kevin Laatz <[email protected]> Signed-off-by: Bruc
test/dma: add fill tests
For DMA devices which support the fill operation, run unit tests to verify fill behaviour is correct.
Signed-off-by: Kevin Laatz <[email protected]> Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Conor Walsh <[email protected]>
show more ...
|
| #
99d7ec4b |
| 13-Oct-2021 |
Bruce Richardson <[email protected]> |
test/dma: add failure handling tests
Add a series of tests to inject bad copy operations into a dmadev to test the error handling and reporting capabilities. Various combinations of errors in variou
test/dma: add failure handling tests
Add a series of tests to inject bad copy operations into a dmadev to test the error handling and reporting capabilities. Various combinations of errors in various positions in a burst are tested, as are errors in bursts with fence flag set, and multiple errors in a single burst.
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Kevin Laatz <[email protected]> Reviewed-by: Conor Walsh <[email protected]>
show more ...
|
| #
1b86a66a |
| 13-Oct-2021 |
Bruce Richardson <[email protected]> |
test/dma: add more comprehensive copy tests
Add unit tests for various combinations of use for dmadev, copying bursts of packets in various formats, e.g.
1. enqueuing two smaller bursts and complet
test/dma: add more comprehensive copy tests
Add unit tests for various combinations of use for dmadev, copying bursts of packets in various formats, e.g.
1. enqueuing two smaller bursts and completing them as one burst 2. enqueuing one burst and gathering completions in smaller bursts 3. using completed_status() function to gather completions rather than just completed()
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Kevin Laatz <[email protected]> Reviewed-by: Conor Walsh <[email protected]>
show more ...
|
| #
7f699229 |
| 13-Oct-2021 |
Bruce Richardson <[email protected]> |
test/dma: run test suite on skeleton driver
When running the dmadev_autotest, run the suite of copy tests on the skeleton driver created for API testing too, rather than just destroying the driver i
test/dma: run test suite on skeleton driver
When running the dmadev_autotest, run the suite of copy tests on the skeleton driver created for API testing too, rather than just destroying the driver instances once the API tests are complete. This helps to sanity check the tests themselves are reasonable.
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Kevin Laatz <[email protected]>
show more ...
|
| #
8febcbe1 |
| 13-Oct-2021 |
Bruce Richardson <[email protected]> |
test/dma: add basic copy tests
For each dmadev instance, perform some basic copy tests to validate that functionality.
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Kevi
test/dma: add basic copy tests
For each dmadev instance, perform some basic copy tests to validate that functionality.
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Kevin Laatz <[email protected]> Reviewed-by: Conor Walsh <[email protected]>
show more ...
|
| #
718f7804 |
| 13-Oct-2021 |
Bruce Richardson <[email protected]> |
test/dma: add basic dmadev instance tests
Run basic sanity tests for configuring, starting and stopping a dmadev instance to help validate drivers. This also provides the framework for future tests
test/dma: add basic dmadev instance tests
Run basic sanity tests for configuring, starting and stopping a dmadev instance to help validate drivers. This also provides the framework for future tests for data-path operation.
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Conor Walsh <[email protected]> Reviewed-by: Kevin Laatz <[email protected]>
show more ...
|
| #
9942ebb9 |
| 13-Oct-2021 |
Chengwen Feng <[email protected]> |
test/dma: add dmadev API test
This patch add dmadev API test which based on 'dma_skeleton' vdev. The test cases could be executed using 'dmadev_autotest' command in test framework.
Signed-off-by: C
test/dma: add dmadev API test
This patch add dmadev API test which based on 'dma_skeleton' vdev. The test cases could be executed using 'dmadev_autotest' command in test framework.
Signed-off-by: Chengwen Feng <[email protected]> Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Kevin Laatz <[email protected]> Reviewed-by: Conor Walsh <[email protected]>
show more ...
|