<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: "IntelOne Text"; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<div style="font-family: "IntelOne Text"; font-size: 10pt; color: rgb(0, 0, 0);">
Acked-by: Kai Ji <kai.ji@intel.com></div>
<div><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>From:</b> Radu Nicolau <radu.nicolau@intel.com><br>
<b>Sent:</b> Wednesday, November 11, 2026 11:14<br>
<b>To:</b> dev@dpdk.org <dev@dpdk.org><br>
<b>Cc:</b> Nicolau, Radu <radu.nicolau@intel.com>; stable@dpdk.org <stable@dpdk.org>; Akhil Goyal <gakhil@marvell.com>; Fan Zhang <fanzhang.oss@gmail.com>; Kundapura, Ganapati <ganapati.kundapura@intel.com><br>
<b>Subject:</b> [PATCH] test/crypto: fix callback test case </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-size: 11pt;">Fix test_enqdeq_callback_null_cipher function to<br>
match its name by removing the chained ops.<br>
<br>
Fixes: 4ad17a1c8fb3 ("test/crypto: fix enqueue/dequeue callback case")<br>
Cc: stable@dpdk.org<br>
<br>
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com><br>
---<br>
app/test/test_cryptodev.c | 11 ++---------<br>
1 file changed, 2 insertions(+), 9 deletions(-)<br>
<br>
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c<br>
index fd02107baf..d8c64a13ae 100644<br>
--- a/app/test/test_cryptodev.c<br>
+++ b/app/test/test_cryptodev.c<br>
@@ -15191,21 +15191,14 @@ test_enqdeq_callback_null_cipher(void)<br>
<br>
/* Setup Cipher Parameters */<br>
ut_params->cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER;<br>
- ut_params->cipher_xform.next = &ut_params->auth_xform;<br>
+ ut_params->cipher_xform.next = NULL;<br>
<br>
ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_NULL;<br>
ut_params->cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT;<br>
<br>
- /* Setup Auth Parameters */<br>
- ut_params->auth_xform.type = RTE_CRYPTO_SYM_XFORM_AUTH;<br>
- ut_params->auth_xform.next = NULL;<br>
-<br>
- ut_params->auth_xform.auth.algo = RTE_CRYPTO_AUTH_NULL;<br>
- ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_GENERATE;<br>
-<br>
/* Create Crypto session */<br>
ut_params->sess = rte_cryptodev_sym_session_create(ts_params->valid_devs[0],<br>
- &ut_params->auth_xform, ts_params->session_mpool);<br>
+ &ut_params->cipher_xform, ts_params->session_mpool);<br>
if (ut_params->sess == NULL && rte_errno == ENOTSUP)<br>
return TEST_SKIPPED;<br>
TEST_ASSERT_NOT_NULL(ut_params->sess, "Session creation failed");<br>
--<br>
2.52.0<br>
<br>
</div>
</body>
</html>