* [PATCH] test/crypto: fix callback setup tests
@ 2024-11-07 14:09 Brian Dooley
2025-04-22 6:14 ` Jiang, YuX
0 siblings, 1 reply; 3+ messages in thread
From: Brian Dooley @ 2024-11-07 14:09 UTC (permalink / raw)
To: Akhil Goyal, Fan Zhang; +Cc: stable, Brian Dooley
The test_deq_callback_setup and test_enq_callback_setup tests are
asserting the incorrect case and need to be reversed to reflect correct
callbacks being called.
Fixes: 4fe42b5bd587 ("test/crypto: fix enqueue/dequeue callback case")
Signed-off-by: Brian Dooley <brian.dooley@intel.com>
---
app/test/test_cryptodev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 6cd38aefae..005d3a87f9 100644
--- a/app/test/test_cryptodev.c
+++ b/app/test/test_cryptodev.c
@@ -13727,7 +13727,7 @@ test_enq_callback_setup(void)
"qp %u on cryptodev %u",
qp_id, ts_params->valid_devs[0]);
- TEST_ASSERT(deq_cb_called == true, "Crypto dequeue callback not called");
+ TEST_ASSERT(enq_cb_called == true, "Crypto enqueue callback not called");
return TEST_SUCCESS;
}
@@ -13848,7 +13848,7 @@ test_deq_callback_setup(void)
"qp %u on cryptodev %u",
qp_id, ts_params->valid_devs[0]);
- TEST_ASSERT(enq_cb_called == true, "Crypto enqueue callback not called");
+ TEST_ASSERT(deq_cb_called == true, "Crypto dequeue callback not called");
return TEST_SUCCESS;
}
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] test/crypto: fix callback setup tests
2024-11-07 14:09 [PATCH] test/crypto: fix callback setup tests Brian Dooley
@ 2025-04-22 6:14 ` Jiang, YuX
2025-04-22 8:05 ` Xueming Li
0 siblings, 1 reply; 3+ messages in thread
From: Jiang, YuX @ 2025-04-22 6:14 UTC (permalink / raw)
To: Xueming Li, Brian Dooley, Akhil Goyal, Fan Zhang; +Cc: stable, Dooley, Brian
Hi Xueming,
Can you pls make the patch queue to stable release 23.11.x?
> -----Original Message-----
> From: Brian Dooley <brian.dooley@intel.com>
> Sent: Thursday, November 7, 2024 10:09 PM
> To: Akhil Goyal <gakhil@marvell.com>; Fan Zhang <fanzhang.oss@gmail.com>
> Cc: stable@dpdk.org; Dooley, Brian <brian.dooley@intel.com>
> Subject: [PATCH] test/crypto: fix callback setup tests
>
> The test_deq_callback_setup and test_enq_callback_setup tests are asserting
> the incorrect case and need to be reversed to reflect correct callbacks being
> called.
>
> Fixes: 4fe42b5bd587 ("test/crypto: fix enqueue/dequeue callback case")
>
> Signed-off-by: Brian Dooley <brian.dooley@intel.com>
> ---
> app/test/test_cryptodev.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index
> 6cd38aefae..005d3a87f9 100644
> --- a/app/test/test_cryptodev.c
> +++ b/app/test/test_cryptodev.c
> @@ -13727,7 +13727,7 @@ test_enq_callback_setup(void)
> "qp %u on cryptodev %u",
> qp_id, ts_params->valid_devs[0]);
>
> - TEST_ASSERT(deq_cb_called == true, "Crypto dequeue callback not
> called");
> + TEST_ASSERT(enq_cb_called == true, "Crypto enqueue callback not
> +called");
>
> return TEST_SUCCESS;
> }
> @@ -13848,7 +13848,7 @@ test_deq_callback_setup(void)
> "qp %u on cryptodev %u",
> qp_id, ts_params->valid_devs[0]);
>
> - TEST_ASSERT(enq_cb_called == true, "Crypto enqueue callback not
> called");
> + TEST_ASSERT(deq_cb_called == true, "Crypto dequeue callback not
> +called");
>
> return TEST_SUCCESS;
> }
> --
> 2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] test/crypto: fix callback setup tests
2025-04-22 6:14 ` Jiang, YuX
@ 2025-04-22 8:05 ` Xueming Li
0 siblings, 0 replies; 3+ messages in thread
From: Xueming Li @ 2025-04-22 8:05 UTC (permalink / raw)
To: Jiang, YuX, Brian Dooley, Akhil Goyal, Fan Zhang; +Cc: stable
[-- Attachment #1: Type: text/plain, Size: 2292 bytes --]
Hi Jiang,
Thanks for reminding, patch included and created new tag v23.11.4-rc5. Please check.
Thanks,
Xueming Li
________________________________
From: Jiang, YuX <yux.jiang@intel.com>
Sent: Tuesday, April 22, 2025 2:14 PM
To: Xueming Li <xuemingl@nvidia.com>; Brian Dooley <brian.dooley@intel.com>; Akhil Goyal <gakhil@marvell.com>; Fan Zhang <fanzhang.oss@gmail.com>
Cc: stable@dpdk.org <stable@dpdk.org>; Dooley, Brian <brian.dooley@intel.com>
Subject: RE: [PATCH] test/crypto: fix callback setup tests
Hi Xueming,
Can you pls make the patch queue to stable release 23.11.x?
> -----Original Message-----
> From: Brian Dooley <brian.dooley@intel.com>
> Sent: Thursday, November 7, 2024 10:09 PM
> To: Akhil Goyal <gakhil@marvell.com>; Fan Zhang <fanzhang.oss@gmail.com>
> Cc: stable@dpdk.org; Dooley, Brian <brian.dooley@intel.com>
> Subject: [PATCH] test/crypto: fix callback setup tests
>
> The test_deq_callback_setup and test_enq_callback_setup tests are asserting
> the incorrect case and need to be reversed to reflect correct callbacks being
> called.
>
> Fixes: 4fe42b5bd587 ("test/crypto: fix enqueue/dequeue callback case")
>
> Signed-off-by: Brian Dooley <brian.dooley@intel.com>
> ---
> app/test/test_cryptodev.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index
> 6cd38aefae..005d3a87f9 100644
> --- a/app/test/test_cryptodev.c
> +++ b/app/test/test_cryptodev.c
> @@ -13727,7 +13727,7 @@ test_enq_callback_setup(void)
> "qp %u on cryptodev %u",
> qp_id, ts_params->valid_devs[0]);
>
> - TEST_ASSERT(deq_cb_called == true, "Crypto dequeue callback not
> called");
> + TEST_ASSERT(enq_cb_called == true, "Crypto enqueue callback not
> +called");
>
> return TEST_SUCCESS;
> }
> @@ -13848,7 +13848,7 @@ test_deq_callback_setup(void)
> "qp %u on cryptodev %u",
> qp_id, ts_params->valid_devs[0]);
>
> - TEST_ASSERT(enq_cb_called == true, "Crypto enqueue callback not
> called");
> + TEST_ASSERT(deq_cb_called == true, "Crypto dequeue callback not
> +called");
>
> return TEST_SUCCESS;
> }
> --
> 2.25.1
[-- Attachment #2: Type: text/html, Size: 5068 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-22 8:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-07 14:09 [PATCH] test/crypto: fix callback setup tests Brian Dooley
2025-04-22 6:14 ` Jiang, YuX
2025-04-22 8:05 ` Xueming Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).