DPDK patches and discussions
 help / color / mirror / Atom feed
From: Fan Zhang <roy.fan.zhang@intel.com>
To: dev@dpdk.org
Cc: gakhil@marvell.com, Fan Zhang <roy.fan.zhang@intel.com>, g.singh@nxp.com
Subject: [dpdk-dev] app/test: fix pdcp short mac test
Date: Thu, 16 Sep 2021 14:02:42 +0100	[thread overview]
Message-ID: <20210916130242.126316-1-roy.fan.zhang@intel.com> (raw)

Fixes: c24489e479fd ("test/crypto: support PDCP short MAC-I")
Cc: g.singh@nxp.com

This patch fixes the pdcp short mac-i test by removing them
from snow3g and kasumi test suite and move to pdcp test suite.
This is to prevent incorrect failure for crypto device not
support pdcp.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
---
 app/test/test_cryptodev.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 16d770a17f..d19482c20a 100644
--- a/app/test/test_cryptodev.c
+++ b/app/test/test_cryptodev.c
@@ -8886,6 +8886,7 @@ test_PDCP_PROTO_all(void)
 	status += test_PDCP_PROTO_SGL_oop_128B_32B();
 	status += test_PDCP_SDAP_PROTO_encap_all();
 	status += test_PDCP_SDAP_PROTO_decap_all();
+	status += test_PDCP_PROTO_short_mac();
 
 	if (status)
 		return TEST_FAILED;
@@ -14083,8 +14084,6 @@ static struct unit_test_suite cryptodev_snow3g_testsuite  = {
 		TEST_CASE_ST(ut_setup, ut_teardown,
 			test_snow3g_encryption_test_case_5),
 
-		TEST_CASE_ST(ut_setup, ut_teardown,
-			test_PDCP_PROTO_short_mac),
 		TEST_CASE_ST(ut_setup, ut_teardown,
 			test_snow3g_encryption_test_case_1_oop),
 		TEST_CASE_ST(ut_setup, ut_teardown,
@@ -14324,9 +14323,6 @@ static struct unit_test_suite cryptodev_kasumi_testsuite  = {
 			test_kasumi_decryption_test_case_5),
 		TEST_CASE_ST(ut_setup, ut_teardown,
 			test_kasumi_decryption_test_case_1_oop),
-
-		TEST_CASE_ST(ut_setup, ut_teardown,
-			test_PDCP_PROTO_short_mac),
 		TEST_CASE_ST(ut_setup, ut_teardown,
 			test_kasumi_cipher_auth_test_case_1),
 
-- 
2.25.1


             reply	other threads:[~2021-09-16 13:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-16 13:02 Fan Zhang [this message]
2021-09-24 10:38 ` [dpdk-dev] [EXT] " Anoob Joseph
2021-09-24 17:22   ` 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=20210916130242.126316-1-roy.fan.zhang@intel.com \
    --to=roy.fan.zhang@intel.com \
    --cc=dev@dpdk.org \
    --cc=g.singh@nxp.com \
    --cc=gakhil@marvell.com \
    /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;
as well as URLs for NNTP newsgroup(s).