From patchwork Mon Jun 19 12:49:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejasree Kondoj X-Patchwork-Id: 128795 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5A71642CFA; Mon, 19 Jun 2023 14:49:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DBFDC410D7; Mon, 19 Jun 2023 14:49:50 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id AB6C940DF8 for ; Mon, 19 Jun 2023 14:49:48 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35JBfqCk000682; Mon, 19 Jun 2023 05:49:47 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=5+msR+GPct5le5vDwn0PJFJ1sODS+GwF2Zf5GVdupKg=; b=Ct5rY+lAg9eRsEBSp0hZHA1p6n+X2bmaoeE+7/xP85xta8mwu4fIf0a0HUIMmQ1Q8R5+ yIaoPMv4vi8A7WvL0n2Mz4u1qr23GDnMRKHBpVc0EGb0UlnY2Kmm8pildEpP+9aSem4V XIcbmMdNMN+stp1pHegFdUvFEDxfNINyTsEPmVquKN0F3uieKmnTm6TdJT/0wzpnDsTY dSTB2GrjMVsp8BXpCuW3B/qH11QWKzuU1Eo+ScK4Y7tGWPHkSBGyzySo6tngJos4S/bv sJnUwllJ9pNv3vazEUQCJP2JSZvzRVZegpnT7pxmfI+ib6uxIdHd1UOWilBX9MtE02jn 2w== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3r9a6n5hx9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 19 Jun 2023 05:49:47 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 19 Jun 2023 05:49:45 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 19 Jun 2023 05:49:45 -0700 Received: from hyd1554.marvell.com (unknown [10.29.57.11]) by maili.marvell.com (Postfix) with ESMTP id 00A725C68EB; Mon, 19 Jun 2023 05:49:42 -0700 (PDT) From: Tejasree Kondoj To: Akhil Goyal , Fan Zhang CC: Anoob Joseph , Ciara Power , Aakash Sasidharan , Gowrishankar Muthukrishnan , Vidya Sagar Velumuri , Subject: [PATCH 6/8] test/crypto: enable raw crypto tests for crypto_cn10k Date: Mon, 19 Jun 2023 18:19:39 +0530 Message-ID: <20230619124941.3967346-1-ktejasree@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: 69TZmAYM9o_2pV1fiYQfG-vIh0oxc1Ui X-Proofpoint-GUID: 69TZmAYM9o_2pV1fiYQfG-vIh0oxc1Ui X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-19_09,2023-06-16_01,2023-05-22_02 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Anoob Joseph Enable raw crypto tests with crypto_cn10k. Signed-off-by: Anoob Joseph --- app/test/test_cryptodev.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index fb2af40b99..2ba37ed4bd 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -17519,6 +17519,12 @@ test_cryptodev_cn10k(void) return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_CN10K_PMD)); } +static int +test_cryptodev_cn10k_raw_api(void) +{ + return run_cryptodev_raw_testsuite(RTE_STR(CRYPTODEV_NAME_CN10K_PMD)); +} + static int test_cryptodev_dpaa2_sec_raw_api(void) { @@ -17531,6 +17537,8 @@ test_cryptodev_dpaa_sec_raw_api(void) return run_cryptodev_raw_testsuite(RTE_STR(CRYPTODEV_NAME_DPAA_SEC_PMD)); } +REGISTER_TEST_COMMAND(cryptodev_cn10k_raw_api_autotest, + test_cryptodev_cn10k_raw_api); REGISTER_TEST_COMMAND(cryptodev_dpaa2_sec_raw_api_autotest, test_cryptodev_dpaa2_sec_raw_api); REGISTER_TEST_COMMAND(cryptodev_dpaa_sec_raw_api_autotest,