cryptodev_latency Test Suite
DPDK cryptodev performance test suite.
The main goal of this test suite is to utilize the dpdk-test-cryptodev application to gather performance metrics for various cryptographic operations supported by DPDK cryptodev-pmd. It will then compare the results against a predefined baseline given in the test_config file to ensure performance standards are met.
- class Config
Bases:
BaseConfigPerformance test metrics.
- delta_tolerance
The allowed tolerance below a given baseline.
- Type:
float
- test_combinations
List of test combinations with cipher/auth algorithms and parameters.
- Type:
list[api.cryptodev.types.LatencyCryptoConfig]
- class TestCryptodevLatency
Bases:
TestSuiteDPDK Crypto Device Latency Testing Suite.
- set_up_suite() None
Set up the test suite.
- Raises:
ConfigurationError – If no tests can be derived from the provided config.
- cipher_only_tests() None
Cipher only cryptography device tests.
- Steps:
Run dpdk-test-crypto-perf application with configured arguments in cipher only mode.
- Verify:
The reported statistics are within is within a defined tolerance of a given baseline.
- auth_only_tests() None
Authentication cryptography device tests.
- Steps:
- Run dpdk-test-crypto-perf application with configured parameters in authentication
only moode.
- Verify:
The resulting statistics are within a delta tolerance of a provided baseline.
- aead_test() None
Aead cryptography test.
- Steps:
Run dpdk-test-crypto-perf application with configured parameters in aead mode.
- Verify:
The resulting statistics are within a delta tolerance of a given baseline.
- cipher_and_auth_tests() None
Cipher and Authentication tests.
- Steps:
Run dpdk-test-crypto-perf application in cipher then authentication mode
- Verify:
The resulting statistics are within a delta tolerance of a given baseline.
- required_capabilities: ClassVar[set[Capability]] = {LinkTopology.NO_LINK}
The capabilities the test case or suite requires in order to be executed.
- topology_type: ClassVar[TopologyCapability] = LinkTopology.NO_LINK
The topology type of the test case or suite.