From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0064.outbound.protection.outlook.com [104.47.32.64]) by dpdk.org (Postfix) with ESMTP id BBB31567F for ; Wed, 19 Apr 2017 17:38:10 +0200 (CEST) Received: from BN3PR0301CA0071.namprd03.prod.outlook.com (10.160.152.167) by BN1PR03MB251.namprd03.prod.outlook.com (10.255.200.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Wed, 19 Apr 2017 15:38:10 +0000 Received: from BN1AFFO11FD039.protection.gbl (2a01:111:f400:7c10::142) by BN3PR0301CA0071.outlook.office365.com (2a01:111:e400:401e::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10 via Frontend Transport; Wed, 19 Apr 2017 15:38:09 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD039.mail.protection.outlook.com (10.58.52.243) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Wed, 19 Apr 2017 15:38:09 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v3JFbvDR023764; Wed, 19 Apr 2017 08:38:07 -0700 From: To: CC: , , Date: Wed, 19 Apr 2017 21:07:39 +0530 Message-ID: <1492616268-6307-5-git-send-email-akhil.goyal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1492616268-6307-1-git-send-email-akhil.goyal@nxp.com> References: <20170410123108.26305-1-akhil.goyal@nxp.com> <1492616268-6307-1-git-send-email-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131370898892127005; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39450400003)(39850400002)(39410400002)(39400400002)(39380400002)(39860400002)(39840400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(54906002)(2906002)(77096006)(50986999)(76176999)(104016004)(105606002)(2876002)(53936002)(2950100002)(2351001)(6916009)(6666003)(86152003)(81166006)(8676002)(8656002)(106466001)(8936002)(33646002)(48376002)(4326008)(189998001)(47776003)(50466002)(50226002)(85426001)(356003)(38730400002)(305945005)(110136004)(36756003)(5660300001)(86362001)(5003940100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR03MB251; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD039; 1:OIeu3XppZNtnRt6grGo0q+yUcL1L4thIPIKsiV3OeX9qGyyWacryqSrucjDPnwMZxM+UW8EB3AsKGdck4xQscltkBBNY4k4URl4OUqGdBZWirfzUiTLpWHwRt0tYoqBlQoezQL81nRVi6PNLri6Ja3Du20C4UzpsCG+31ByZpjWYY6+AdcLWXG6wMqbIEcqLcf8miDPyZNvGeYebODdUyVCMjPgJmOEioDMgFu2PaVoJxyfOxEfvLlFaNbVF8zc/oOjl17d3mKnJ9IwDLVpAo5BBdSfCU2EZ2ec9rxPMG/Z0EbsWJrLxIwToiGe0yidfHu7L1GevXwjKxk+uak3mnPePShEkfbkkjpYHvssRef5sSo9MNa835TO0vF5E7WoiDVwzRTE8juapt2pebSC1OJX88n2Y42HETyoDoG2wnopAVrRrUwfNXe8tM5db2tfP4QvVmPmkykixQZTZ3rLQbVExwqVICFkmTwCQtEnoy+5aqHnMObOAg55DFTdtxG9rFVPXG1Tj46Gi3m5dB3vBJfjkg0Nbiuxf+vJyMcYdq0xzd+7H1mPmp03RHBtIlckqH9U7Mu/v3Zh+flZin6sb992BB7zJJ1BpSspnveAwjVz7rG+s60D18sh9MDyabDVwIL/BSabLsa71FeifSt0fBNJFeP8GEEoBz5i+wvu69ZIOO9HcmOWyjVsmiDMMwkb0t5fWrCIBdxPAroOGDhT4T3g1B86x9aLjM0UWIZmnVBfrey+NfjlmgApgkYhVnuLPopelZlbxMC1JU/KmQ2pIuQ== MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8cc315a3-a27f-4916-fb1d-08d4873a14c0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BN1PR03MB251; X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB251; 3:GCiYpIxI7Fi6rvyc4wdshhggaf05YPkmHy1nsVVrVvP4bPbXgwjXVJrON5kZqJS4Ay+y0YofniG/Rmf1WD3qN7c7UyskxY9Ucsy9kesd2PX3FHf1EyTwuB1v7SvbNb8dhbzE3oXTDvAKUVTcTmb8LP/YiEBGD6VS3fn2oKop2VHh20S2dkPfxPlbM+Q7YGuLpySkpBbFvmAc96fungpxkLhg34UORpbwU5VrKnesqqHCQzNfnf7wYu0KhBHZ+W8mDRetYsc4ILmMVLgkuzc3X9iZj/Uc/EzKR6H2u2tpgMxgS02qa+ZlDrJ7TPVkSyk6qTsndPyXsyh21PP8Dyp/Ry7dZdAWHMg6m1M3OQULrE3dLwfEjf3wY0kLhLRNoistqxF7sQ0lGJfJ2z93U0X65uc3TedyiDl9+xbB03KQK8/AwBu0qcA2ebqLttWvDump; 25:XNsOGFyxtPXTOFO7LIWKlgf9kngVCXnfmUgVEOu+ltK4cUSumEvFRnUyUF0GF2mFVG08lE2bXKU5r/RKN6MxhIY+rNIp26aXMkCjPV2aXcpZG9si3kt3quphre1Kax3T3y3iNtJ9kwgXD4cDSrJlFheHKQkBX6lCkwXTk5G+264ymzxcZiGyG24FI2hf3VbjG+UdW2VFkjisxNXGmlK3tpU9hSHNvM1koF/waeoSVtdBEnL5+HRA0OouZMbLsCmSMBIGIIUJaBt512u5LGOMuFtkuq0+HCWflQcjgJdoF0l+ePbgw19oABI3HvfPkzE5SHVt3qagNDGlE4lK8chtMop7MfWXFBHAxYiZsECUYeLyHSZ2jsuSVD557nSoz53TryPHDkZCpA7RQBA3miJmMVG+G6F30uO8j/AeS4GGJHIApd9reZHq52FIjtXoUH3hFYEYQBiKwUNF9q3f8feLVw== X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB251; 31:VGq7wxoKUjuAbX94A7TcXKDh7+v5Mzz7ggRXfqEBasUK/QHvjXNbBOZ+aaZ7+yCpl2MYRCkiQ3Gn5FcjP1LnZDOT9N9OrSWpOmO9E8vcgSg1HvHw3qbDV43zNOGN5JJh95nP1OZEGiP4hURtqAAIl5gwrldPR6IcB2SllW3Dr6Qim3fZTlrfnm1WPg0aVXDbXP/+gbqcK2SxgcdJILijtTh+fR/PQUnX1LLeIUvURX2zNDFGwgAOoTq5aLV0OmkH5W7L4Oy8Jw+vAhBAb+oLpKUcTu1nadzj+N0qpt+61Is= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13017025)(5005006)(8121501046)(13023025)(13024025)(13015025)(13018025)(93006095)(93001095)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123565025)(20161123556025)(20161123563025)(201703131430075)(201703131433075)(201703131448075)(201703161259150); SRVR:BN1PR03MB251; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR03MB251; X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB251; 4:D5O/TkjIANnxwtHz2AapVofNGfz5o/1fjuorSxOJj5c7kT8yyaEcuk2loVIG8b3PZauDIuXFFzeDu6uiHbEk8pmxd9e595YR8cOa9pQmdkmf035/swcoQx6nPTte219rhvaZHNGG7d3bKWFBFDo23m/glwMFlrl7W+hMSty6NcWVJggUeihRKzEjnhEKHQqYxi94PEcX9Wrj1rxR3br+4ZX3ZYLdKB/UsK5iR/5RI6iMaPPg05TmnUcMwEgyUF6ngGHcK+XmtkA5bIraMhMAEE5+fQdpyeEB90SdEcNSpZT/d+sAaZzwUjE3f/8fte5OZm47AMCm4NJCdpB9yc4gKZPBmzGYdyZy83v8CPLxbxnkVriFgIygBjKjTENIGvJ7IqANGnK8BuBUzYh32yIuoKeuO2cVAxYjUdab3OvyVFwCmgflc9s4FeeMmRC6q2MdQl3JJ3JJooyO0oU2h50+3OLyQFGsAq5l2sAH/NTmSDf7w8ccJ4ZuzdjIREVgNf2iEVL7olewQ6lU2pjxD03HBpNxidw9lxgDhlUGg8JaslgBvKU8wLZJOh1xi3b2Lk7RTiBntKIkGRHlB6fy31Nja2dQ1OzZaxNj5ZdRtVJX/nQuEB/U0toPDD8czOKwxjpf8U8Oj/QWL4krV8BCj/oLFr+0lPGgQAzTEr7QfwhT6WqWtlPkzP5NAZP7bvkBryXXiCMT+gI6LaN5f6aqtvAr8pZAX/dhWM628IqAiu3GAShNEpUPpSYZZeBxarAWXtyTuOCSUUzxAQeGJfo2bOOFzkv4dpXJPwRZpLy2IkNQPUm9gAd7TBUN2e9IfcBbvZvezYtuRSeRuIHAcpI/vSnevw0/Aev7rHQntfYDJOfNjbXcdnSGI3+MB180gQg7j5RltPgFfdhJVOH5lxEFZQWtnQ== X-Forefront-PRVS: 028256169F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR03MB251; 23:Xmtpo433kg7aMfY5bd5sriUxyRIVOqh8DHgQG2ISva?= =?us-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Yn71i4Y2hY3Prtajq5cWOxXK0n++YR7I6F4coYYQYjM3qpF/NUjMuTb1ByeU1MUmMAIEW77A30LHrFbKRz4RfGR5XW1/4Z8EfimAaTGAF/piZTX12vWNb8zPFnzTc8A4oVJe+jYA8uxkc+85; 24:4rPU3yA3r7VwhhqOw0trUgTOBZ/VjfFVX2zopv1Z4m0uytbBrO1piDOiG87jkYoYSp3tT6tjmBUJy4DHttVHZL9unlEYldJsOD4mOkGNP1c= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR03MB251; 7:oKZzjNF6W7xRRm4GgkXXsbC1psMnYCgkMo3+6MxiVPuK/NAcQB/ob6Rq5Eh2PRQopodC4Tl7PBQpVPxma6CXShhgTBGvqTDjXIhq9kYj6w/X358kldePa4UEMYjFBndGxZRkYd4vxyYS/yjiS094hh5MufFnWqMCxL3KTM0rlCcUGH5Z9yDj377GCt70fLVBvdlCJxuWsSXd1PrBOfEWsOxl4DnRHxT5PHs6VfshYHzJ6mQp1H4TrDGKDx9hG+8fu5lHrdjpOoWxUMwSoWnCa+uu+Rmx5ZVtlO+vThenArQt76AI0IXH/jZcUiB3yb/kRSxCSSqLi4tOj69B1I6GIQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2017 15:38:09.0254 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR03MB251 Subject: [dpdk-dev] [PATCH v8 04/13] test/test: add dpaa2 sec crypto performance test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2017 15:38:11 -0000 From: Akhil Goyal Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- test/test/test_cryptodev_perf.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/test/test/test_cryptodev_perf.c b/test/test/test_cryptodev_perf.c index f4406dc..9d9919b 100644 --- a/test/test/test_cryptodev_perf.c +++ b/test/test/test_cryptodev_perf.c @@ -207,6 +207,8 @@ static const char *pmd_name(enum rte_cryptodev_type pmd) return RTE_STR(CRYPTODEV_NAME_QAT_SYM_PMD); case RTE_CRYPTODEV_SNOW3G_PMD: return RTE_STR(CRYPTODEV_NAME_SNOW3G_PMD); + case RTE_CRYPTODEV_DPAA2_SEC_PMD: + return RTE_STR(CRYPTODEV_NAME_DPAA2_SEC_PMD); default: return ""; } @@ -4649,6 +4651,17 @@ static int test_continual_perf_AES_GCM(void) } }; +static struct unit_test_suite cryptodev_dpaa2_sec_testsuite = { + .suite_name = "Crypto Device DPAA2_SEC Unit Test Suite", + .setup = testsuite_setup, + .teardown = testsuite_teardown, + .unit_test_cases = { + TEST_CASE_ST(ut_setup, ut_teardown, + test_perf_aes_cbc_encrypt_digest_vary_pkt_size), + TEST_CASES_END() /**< NULL terminate unit test array */ + } +}; + static struct unit_test_suite cryptodev_gcm_testsuite = { .suite_name = "Crypto Device AESNI GCM Unit Test Suite", .setup = testsuite_setup, @@ -4774,6 +4787,14 @@ static int test_continual_perf_AES_GCM(void) return unit_test_suite_runner(&cryptodev_armv8_testsuite); } +static int +perftest_dpaa2_sec_cryptodev(void) +{ + gbl_cryptodev_perftest_devtype = RTE_CRYPTODEV_DPAA2_SEC_PMD; + + return unit_test_suite_runner(&cryptodev_dpaa2_sec_testsuite); +} + REGISTER_TEST_COMMAND(cryptodev_aesni_mb_perftest, perftest_aesni_mb_cryptodev); REGISTER_TEST_COMMAND(cryptodev_qat_perftest, perftest_qat_cryptodev); REGISTER_TEST_COMMAND(cryptodev_sw_snow3g_perftest, perftest_sw_snow3g_cryptodev); @@ -4785,3 +4806,5 @@ static int test_continual_perf_AES_GCM(void) perftest_qat_continual_cryptodev); REGISTER_TEST_COMMAND(cryptodev_sw_armv8_perftest, perftest_sw_armv8_cryptodev); +REGISTER_TEST_COMMAND(cryptodev_dpaa2_sec_perftest, + perftest_dpaa2_sec_cryptodev); -- 1.9.1