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
- latency_test_parameters
The test parameters to use in the test suite.
- Type:
dict[str, list[dict[str, int | float | str]]]
- class TestCryptodevLatency
Bases:
TestSuiteDPDK Crypto Device Testing Suite.
- set_up_suite() None
Set up the test suite.
- aes_cbc() None
aes_cbc latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- aes_cbc_sha1_hmac() None
aes_cbc_sha1_hmac latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- aes_cbc_sha2_hmac() None
aes_cbc_sha2_hmac latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- aes_docsisbpi() None
aes_docsisbpi latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- aes_gcm() None
aes_gcm latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- kasumi_f8_kasumi_f9() None
kasumi_f8_kasumi_f9 latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- snow3g_uea2_snow3g_uia2() None
snow3g_uea2_snow3g_uia2 latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- zuc_eea3_zuc_eia3() None
zuc_eea3_zuc_eia3 cipher and auth latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- aesni_gcm_vdev() None
aesni_gcm virtual device latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- aesni_mb_cipher_then_auth_vdev() None
aesni_mb vdev cipher and auth latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- aesni_mb_vdev() None
aesni_mb vdev latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- kasumi_vdev() None
Kasumi vdev latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- open_ssl_vdev() None
open_ssl vdev latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- snow3g_vdev() None
snow3g vdev latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- zuc_vdev() None
Zuc vdev latency test.
- Steps:
Create a cryptodev instance with provided device type and buffer sizes.
- Verify:
The latency is below or within delta of provided baseline.
- Raises:
SkippedTestException – When configuration is not provided.
- 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.