* [PATCH] test/security_inline_proto: skip tests if no HW support
@ 2026-03-02 16:07 Bruce Richardson
2026-03-10 6:10 ` [EXTERNAL] " Akhil Goyal
0 siblings, 1 reply; 2+ messages in thread
From: Bruce Richardson @ 2026-03-02 16:07 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson, stable
If the underlying ethdev HW does not support the security offload,
return back the TEST_SKIPPED return value to immediately skip the tests
rather than continuing to fail later.
Fixes: 108646569579 ("test/security: add event inline IPsec cases")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
app/test/test_security_inline_proto.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/app/test/test_security_inline_proto.c b/app/test/test_security_inline_proto.c
index 8b88fce3e9..b0cce5ebd9 100644
--- a/app/test/test_security_inline_proto.c
+++ b/app/test/test_security_inline_proto.c
@@ -2147,7 +2147,9 @@ event_inline_ipsec_testsuite_setup(void)
return TEST_SKIPPED;
}
- init_mempools(NB_MBUF);
+ ret = init_mempools(NB_MBUF);
+ if (ret != 0)
+ return ret;
if (tx_pkts_burst == NULL) {
tx_pkts_burst = (struct rte_mbuf **)rte_calloc("tx_buff",
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [EXTERNAL] [PATCH] test/security_inline_proto: skip tests if no HW support
2026-03-02 16:07 [PATCH] test/security_inline_proto: skip tests if no HW support Bruce Richardson
@ 2026-03-10 6:10 ` Akhil Goyal
0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2026-03-10 6:10 UTC (permalink / raw)
To: Bruce Richardson, dev@dpdk.org; +Cc: stable@dpdk.org
> If the underlying ethdev HW does not support the security offload,
> return back the TEST_SKIPPED return value to immediately skip the tests
> rather than continuing to fail later.
>
> Fixes: 108646569579 ("test/security: add event inline IPsec cases")
> Cc: stable@dpdk.org
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
Applied to dpdk-next-crypto
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-10 6:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-02 16:07 [PATCH] test/security_inline_proto: skip tests if no HW support Bruce Richardson
2026-03-10 6:10 ` [EXTERNAL] " Akhil Goyal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox