From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EBA24A0A0F; Wed, 30 Jun 2021 16:02:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 70D5F40141; Wed, 30 Jun 2021 16:02:05 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 6C5C740040; Wed, 30 Jun 2021 16:02:04 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10030"; a="208300305" X-IronPort-AV: E=Sophos;i="5.83,312,1616482800"; d="scan'208";a="208300305" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2021 07:02:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,312,1616482800"; d="scan'208";a="559066947" Received: from silpixa00400904.ir.intel.com ([10.243.23.83]) by fmsmga001.fm.intel.com with ESMTP; 30 Jun 2021 07:01:54 -0700 From: Rebecca Troy To: dev@dpdk.org Cc: ciara.power@intel.com, Rebecca Troy , declan.doherty@intel.com, jianjay.zhou@huawei.com, pablo.de.lara.guarch@intel.com, roy.fan.zhang@intel.com, gakhil@marvell.com, hemant.agrawal@nxp.com, stable@dpdk.org Date: Wed, 30 Jun 2021 14:01:41 +0000 Message-Id: <20210630140141.421747-1-rebecca.troy@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210628161529.386889-1-rebecca.troy@intel.com> References: <20210628161529.386889-1-rebecca.troy@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2] test/crypto: fix autotest function parameters 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 Sender: "dev" Fixed parameters on autotest functions by removing comments. Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests") Fixes: 4ed1e79e7819 ("test/crypto: add tests for virtio-crypto") Fixes: 3aafc423cf4d ("snow3g: add driver for SNOW 3G library") Fixes: 27a1c4714d54 ("app/test: add KASUMI crypto") Fixes: 4c99481f49c4 ("app/test: add ZUC") Fixes: c8e69fce7046 ("crypto/scheduler: add unit test") Fixes: ae002048bbea ("test/crypto: add DPAA2 crypto functional test") Fixes: b674d6d0381a ("test/crypto: add dpaa crypto test cases") Fixes: a8dbd44d6b4c ("test/crypto: add CAAM JR validation cases") Fixes: 4868f6591c6f ("test/crypto: add cases for raw datapath API") Cc: declan.doherty@intel.com Cc: jianjay.zhou@huawei.com Cc: pablo.de.lara.guarch@intel.com Cc: roy.fan.zhang@intel.com Cc: gakhil@marvell.com Cc: hemant.agrawal@nxp.com Cc: stable@dpdk.org Signed-off-by: Rebecca Troy Acked-by: Ciara Power --- app/test/test_cryptodev.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 39db52b17a..c18730f138 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -14521,19 +14521,19 @@ run_cryptodev_testsuite(const char *pmd_name) } static int -test_cryptodev_qat(void /*argv __rte_unused, int argc __rte_unused*/) +test_cryptodev_qat(void) { return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_QAT_SYM_PMD)); } static int -test_cryptodev_virtio(void /*argv __rte_unused, int argc __rte_unused*/) +test_cryptodev_virtio(void) { return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_VIRTIO_PMD)); } static int -test_cryptodev_aesni_mb(void /*argv __rte_unused, int argc __rte_unused*/) +test_cryptodev_aesni_mb(void) { return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_AESNI_MB_PMD)); } @@ -14579,19 +14579,19 @@ test_cryptodev_null(void) } static int -test_cryptodev_sw_snow3g(void /*argv __rte_unused, int argc __rte_unused*/) +test_cryptodev_sw_snow3g(void) { return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_SNOW3G_PMD)); } static int -test_cryptodev_sw_kasumi(void /*argv __rte_unused, int argc __rte_unused*/) +test_cryptodev_sw_kasumi(void) { return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_KASUMI_PMD)); } static int -test_cryptodev_sw_zuc(void /*argv __rte_unused, int argc __rte_unused*/) +test_cryptodev_sw_zuc(void) { return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_ZUC_PMD)); } @@ -14611,7 +14611,7 @@ test_cryptodev_mrvl(void) #ifdef RTE_CRYPTO_SCHEDULER static int -test_cryptodev_scheduler(void /*argv __rte_unused, int argc __rte_unused*/) +test_cryptodev_scheduler(void) { uint8_t ret, sched_i, j, i = 0, blk_start_idx = 0; const enum blockcipher_test_type blk_suites[] = { @@ -14719,13 +14719,13 @@ REGISTER_TEST_COMMAND(cryptodev_scheduler_autotest, test_cryptodev_scheduler); #endif static int -test_cryptodev_dpaa2_sec(void /*argv __rte_unused, int argc __rte_unused*/) +test_cryptodev_dpaa2_sec(void) { return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_DPAA2_SEC_PMD)); } static int -test_cryptodev_dpaa_sec(void /*argv __rte_unused, int argc __rte_unused*/) +test_cryptodev_dpaa_sec(void) { return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_DPAA_SEC_PMD)); } @@ -14749,7 +14749,7 @@ test_cryptodev_octeontx2(void) } static int -test_cryptodev_caam_jr(void /*argv __rte_unused, int argc __rte_unused*/) +test_cryptodev_caam_jr(void) { return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_CAAM_JR_PMD)); } @@ -14767,7 +14767,7 @@ test_cryptodev_bcmfs(void) } static int -test_cryptodev_qat_raw_api(void /*argv __rte_unused, int argc __rte_unused*/) +test_cryptodev_qat_raw_api(void) { int ret; -- 2.25.1