[PATCH v5 0/5] dts: add cryptodev testing support
Andrew Bailey
abailey at iol.unh.edu
Fri Mar 6 17:40:22 CET 2026
This patch series adds support to use the dpdk-test-crypto-perf
application. This application utilizes crypto devices that must be
listed in the format of a port under the `cryptodevs:` label. Along
with this, the application does not utilize a traffic generator and
therefore a new test suite decorator has been made to signify this.
Crypto tests must be enabled in test_run.yaml as `crypto: true`.
It is not supported to enable crypto testing along with functional
or performance testing. Specific capabilities of a crypto device
cannot be gathered at setup and therefore, non-relevant tests skip at
runtime. Finally, the application must be run with virtual functions
and the process of creating and binding them has been automated within
this series.
---
v2:
* Updated example yaml files for test_run and tests_config.
* Expanded test suite coverage.
* Resolved git problems where patches were removing code added by the
previous commit.
* Updated test suite to only run tests that are configured in the
tests_config yaml.
v3:
* Fixed some tests that were being run with incorrect arguments.
* Updated crypto-device pci paths for driver binding and VF creation.
* Updated example yaml files for tests_config and nodes files.
v4:
* Updated how virtual functions are allocated to a run of the cryptodev
application.
* Updated config files to be more readable.
* Reduced total commands sent to SUT node for crypto VF creation.
* Fixed various typos and docstring issues.
* Updated a vdev test case to use the correct devtype.
v5:
* Updated test suites to use zero VFs when running a vdev test.
* Updated variable naming and docstrings to be consistent.
* Resolved rebase conflicts with main.
Andrew Bailey (5):
dts: add find float method to text parser
dts: automate VFIO-PCI modprobe in node setup
dts: add cryptodev package to DTS
dts: add cryptodev throughput test suite
dts: add crypto test decorator
.../tests.TestSuite_cryptodev_throughput.rst | 8 +
dts/api/cryptodev/__init__.py | 137 ++++
dts/api/cryptodev/config.py | 508 +++++++++++++
dts/api/cryptodev/types.py | 185 +++++
dts/configurations/nodes.example.yaml | 12 +
dts/configurations/test_run.example.yaml | 1 +
dts/configurations/tests_config.example.yaml | 8 +
dts/framework/config/node.py | 4 +
dts/framework/config/test_run.py | 3 +
dts/framework/params/types.py | 65 ++
dts/framework/parser.py | 28 +
dts/framework/remote_session/dpdk_shell.py | 5 +-
dts/framework/test_run.py | 5 +
dts/framework/test_suite.py | 6 +
dts/framework/testbed_model/linux_session.py | 69 ++
dts/framework/testbed_model/node.py | 10 +
dts/framework/testbed_model/os_session.py | 34 +
dts/framework/testbed_model/topology.py | 78 +-
dts/tests/TestSuite_cryptodev_throughput.py | 695 ++++++++++++++++++
19 files changed, 1858 insertions(+), 3 deletions(-)
create mode 100644 doc/api/dts/tests.TestSuite_cryptodev_throughput.rst
create mode 100644 dts/api/cryptodev/__init__.py
create mode 100644 dts/api/cryptodev/config.py
create mode 100644 dts/api/cryptodev/types.py
create mode 100644 dts/tests/TestSuite_cryptodev_throughput.py
--
2.50.1
More information about the dev
mailing list