Test cryptodev feature flags for operation chaining support.
Signed-off-by: Radu Nicolau <[email protected]>
---
app/test/test_cryptodev.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index d8c64a13ae..5051ee7fae 100644
--- a/app/test/test_cryptodev.c
+++ b/app/test/test_cryptodev.c
@@ -8360,6 +8360,10 @@ test_mixed_auth_cipher(const struct
mixed_cipher_auth_test_data *tdata,
uint64_t feat_flags = dev_info.feature_flags;
+ if (!(feat_flags & RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING)) {
+ printf("Device doesn't support operation chaining.\n");
+ return TEST_SKIPPED;
+ }
if (!(feat_flags & RTE_CRYPTODEV_FF_DIGEST_ENCRYPTED)) {
printf("Device doesn't support digest encrypted.\n");
return TEST_SKIPPED;
--
2.52.0