From: Adam Dybkowski <adamx.dybkowski@intel.com>
To: dev@dpdk.org, fiona.trahe@intel.com, akhil.goyal@nxp.com
Cc: Adam Dybkowski <adamx.dybkowski@intel.com>
Subject: [dpdk-dev] [PATCH v2 1/1] test/crypto: remove repeated test and enable on QAT
Date: Wed, 22 Jan 2020 15:42:07 +0100 [thread overview]
Message-ID: <20200122144207.14091-2-adamx.dybkowski@intel.com> (raw)
In-Reply-To: <20200122144207.14091-1-adamx.dybkowski@intel.com>
Remove one AES GCM scatter-gather unit test repetition
and enable this test on QAT (after a fix included in the commit
b26ef1a11f21).
Fixes: 157d0b11d204 ("test/crypto: add capability checks")
Fixes: b26ef1a11f21 ("test/crypto: fix missing operation status check")
Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
---
app/test/test_cryptodev.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 749c3c1b2..12c113848 100644
--- a/app/test/test_cryptodev.c
+++ b/app/test/test_cryptodev.c
@@ -11158,11 +11158,6 @@ test_AES_GCM_auth_encrypt_SGL_out_of_place_1500B_2000B(void)
static int
test_AES_GCM_auth_encrypt_SGL_out_of_place_400B_1seg(void)
{
- /* This test is not for QAT PMD */
- if (gbl_driver_id == rte_cryptodev_driver_id_get(
- RTE_STR(CRYPTODEV_NAME_QAT_SYM_PMD)))
- return -ENOTSUP;
-
return test_authenticated_encryption_SGL(
&gcm_test_case_8, OUT_OF_PLACE, 400,
gcm_test_case_8.plaintext.len);
@@ -11617,8 +11612,6 @@ static struct unit_test_suite cryptodev_testsuite = {
/** AES GCM Authenticated Encryption */
TEST_CASE_ST(ut_setup, ut_teardown,
test_AES_GCM_auth_encrypt_SGL_in_place_1500B),
- TEST_CASE_ST(ut_setup, ut_teardown,
- test_AES_GCM_auth_encrypt_SGL_out_of_place_400B_1seg),
TEST_CASE_ST(ut_setup, ut_teardown,
test_AES_GCM_auth_encrypt_SGL_out_of_place_400B_400B),
TEST_CASE_ST(ut_setup, ut_teardown,
--
2.17.1
next prev parent reply other threads:[~2020-01-22 14:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-22 14:42 [dpdk-dev] [PATCH v2 0/1] " Adam Dybkowski
2020-01-22 14:42 ` Adam Dybkowski [this message]
2020-01-22 14:48 ` [dpdk-dev] [PATCH v2 1/1] " Trahe, Fiona
2020-01-28 6:18 ` 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=20200122144207.14091-2-adamx.dybkowski@intel.com \
--to=adamx.dybkowski@intel.com \
--cc=akhil.goyal@nxp.com \
--cc=dev@dpdk.org \
--cc=fiona.trahe@intel.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).