From: Bruce Richardson <bruce.richardson@intel.com>
To: dev@dpdk.org
Cc: Bruce Richardson <bruce.richardson@intel.com>, stable@dpdk.org
Subject: [PATCH] test/security_inline_proto: skip tests if no HW support
Date: Mon, 2 Mar 2026 16:07:40 +0000 [thread overview]
Message-ID: <20260302160740.1292642-1-bruce.richardson@intel.com> (raw)
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
next reply other threads:[~2026-03-02 16:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-02 16:07 Bruce Richardson [this message]
2026-03-10 6:10 ` [EXTERNAL] [PATCH] test/security_inline_proto: skip tests if no HW support Akhil Goyal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260302160740.1292642-1-bruce.richardson@intel.com \
--to=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox