From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0068.outbound.protection.outlook.com [104.47.32.68]) by dpdk.org (Postfix) with ESMTP id 9D5E9FA3C for ; Mon, 5 Dec 2016 08:29:10 +0100 (CET) Received: from BY2PR03CA044.namprd03.prod.outlook.com (10.141.249.17) by MWHPR03MB2479.namprd03.prod.outlook.com (10.169.200.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9; Mon, 5 Dec 2016 07:29:09 +0000 Received: from BY2FFO11FD045.protection.gbl (2a01:111:f400:7c0c::141) by BY2PR03CA044.outlook.office365.com (2a01:111:e400:2c5d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.761.9 via Frontend Transport; Mon, 5 Dec 2016 07:29: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;nxp.com; dkim=none (message not signed) header.d=none; 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 BY2FFO11FD045.mail.protection.outlook.com (10.1.15.177) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.734.4 via Frontend Transport; Mon, 5 Dec 2016 07:29:08 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:699; Count:10 Received: from netperf2.ap.freescale.net ([10.232.133.164]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id uB57Sdma016006; Mon, 5 Dec 2016 00:29:05 -0700 From: Akhil Goyal To: CC: , , , , Akhil Goyal Date: Mon, 5 Dec 2016 18:25:40 +0530 Message-ID: <20161205125540.6419-9-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161205125540.6419-1-akhil.goyal@nxp.com> References: <20161205125540.6419-1-akhil.goyal@nxp.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131253965488321242; (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)(7916002)(2980300002)(1110001)(1109001)(336004)(339900001)(189002)(199003)(2950100002)(92566002)(6916009)(110136003)(6666003)(356003)(8666005)(36756003)(104016004)(5660300001)(77096006)(626004)(97736004)(85426001)(50226002)(7846002)(305945005)(33646002)(5003940100001)(50466002)(50986999)(48376002)(4326007)(81156014)(2906002)(81166006)(189998001)(1076002)(8936002)(86362001)(47776003)(2351001)(38730400001)(106466001)(68736007)(105606002)(76176999)(8676002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2479; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD045; 1:1ul2BI+WxkO4+FItYJkOlloegjw5BWQgSg9cggyThu1F/3vY226nbT3VYH0wlKyK4k0rwH1yK4V7Qd8/phFRS0uLDbHiDeY4C84Xmy+UZHuD5IaHW/0TbI8HxtrLI6eO2eq5tto3qFENGR1/JuXfhfjlwfx3JPCN/5stR4sMH4vanEHnwfam2ik5uK/t+dErlhjmruMpCMwFj4WOFUJ+5aOcyVnciUDIIjUdTahkamUHIYK+lZWOu/zHvKyg0M/99aKnXwadZrKx/gqdrO1LKgd6g+gg3zs2E+fFrHBhlt2LYvYgeYeQab5Hv3dBO5p7W/D6APOSnJwi0MFHC3vwI/HRiRcWIUHFXfnIOg//Rp5zben/RMRibSdtm9w/l0obJ23A51oF68Dnw6kUiZC3Ha5HBV7lr9QaMZjXg6GAJ0QIlTIUXfb0/YRF3maz0S1AcdV+deIjv7rgdlNTAQQ81DB8KgaZ9ZjDKO0auCiX/6S6gZoAWyLc2KDhhxjlKZeiZxzCaTFC86exDo4pjanJsKGn7cMkEOq2RvQHNkmLJzp3xuxBeq81ItcwWd5BsoCzyBea9/QtYUR9nJdgkDEaYnhkE269Ncxg22OC7IXFKgVhfUgPjdPOtmud7kQ3aFs2fhCe/4wWMAD/CEt6kkNnQEZid1eMwyYLfQuNTlJ044ABModT5EUsP+ELwnqS0GSwgTijaImbseed73ti3XtL154H6Au/djp7vjP5ieov5uza9AHDj/jPjoNwHL1QxCwQ4XNqjy4Zqs15xJPEmRvotg== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 42e1cd6a-b1dd-44de-e7ea-08d41ce066ae X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:MWHPR03MB2479; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2479; 3:MsYpUNOMY1aai4ORYvyenDMKPZN+0fr4L425VIxCiUYHNg6keRs0NuYW1KlRn7RNaxG0cq5kcgnMRfYxJ0HtskpDx9cYXMFk6kF1AT450P/3pj2S/jBBo8hCER2qjufDdj4lBajyEz/FghoCP7Bv8yBHG/dxuJyiJ3+ZoLjkBreIxuc9shrz2Wa7XNagJq5U4AJgDMPkqBFW+i/sJIUvMKqcwlh7mj55I55hvoWlb7n2PcudMoJma5U5HHrzu1UHab1FXlwLJVNLmJEc6k0yfjL30mluNkyzebFgYCxIWCccKGjN91H6WLDuIqdDZNMF9uAaqunzT5fyrOvAHRSPwqAS+RyUZzD0Sm4d7a1DHCz1ztqBZrNRaeKL+z5iPwt9; 25:zOJ8yvB8oGrbtUDFIjfaiB6svqX4G/238iLLVjaUvPewN9rc1rqmZjaAS5urZZ/Wuehm4TlnQbsLn0K9izcR0MJcSXW+ENw0CsV82giFR2lzlCmiBtWP6B7NFVIi6UreNRmf+QJ7THgw5WqZzlMM928Ztlul51k+p0caCott4cN9OroclvLWeiyDQU6gKNbWd2kYI7zE2vderiXYtc42gRn5gLAKTAz8dzrkJocuXb/y2B3svUPlxh+iHMZyRE8jqKywBtkOWtL4pDivC2coOfKAWCGzqxzRjsQ7J/KhWGrITKCP/rJ1vinGseago5009H0GKfw3deQR4jfvVYQ1BOyMSlLnu7r3rF8GM2iW1zWVOKL4dPy/8aBOxIrSP/+wShOsgaLlWZnGeFAQxrvdlkuT/1rFe1ivyeY8IMJXUUNUMvICzux8VbCWKxbAupm1PpjobBFigVKl3wmyD6ZFCw== X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2479; 31:L4fvYqQB31aCXZt5KO472rp3NgiHGITYxVhWWMju4rfLaDn5TaOAE8/Ce9F7jaiOV0/aSjr41AWyqdegt0OojNqOQ5fIfndk96rnW46gcBehS4w8bEofR4rEFmIVv3q2SAjIRYcW6+rVaNDA/Ewy7c+z/JYRApkfEPkXODOlkV3IJLj4BeyYlFu+5CiItcNbmxZr0lJojF3kRWeyHyhg/rjdeeckjBgB0BcHWl3wZOy8MjLO+gXWROzr2jt7JP3f6/lUE+xrEA5esTlihCd+XWQ2iQGAaMlr6Mx2fztcr68= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13024025)(13023025)(13018025)(13017025)(13015025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6096035)(20161123565025)(20161123563025)(20161123556025)(20161123561025)(20161123559025); SRVR:MWHPR03MB2479; BCL:0; PCL:0; RULEID:(400006); SRVR:MWHPR03MB2479; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2479; 4:SjW/ATkA66D3gw0fJjJXjK/CN6AJHHAkaN0cg42zlmfnFtZXXryfBWjno3a4JMCQuJX3RQ1Pd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5pPtFx9HxZgwg3OXX17qXGbfYjDlVtx5cCVTGavDf7Mu84gFdv09xwjz3k9GDjKGN2XBASpaaQSSuVbhc7WJswPGv4y9EreUJa8qbJIjXNUQ3rCG6kTqzHtcxXmw2d0dhuKvZUehhw+Q1HpQlrRs25WAua7ux+H4o4kvwBMQ6MGaYWJSt/bniBzhS1MyPVEZad0bppglOEzbb4jkQ4IRW8z1OA7oFd9jKrWD+X5U8YQz4CDHOllWy1vSlYKKVdTgSlp/oErrHjnWtwHbDDHuJoOyv1ef27DomS0w== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2016 07:29:08.5045 (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: MWHPR03MB2479 Subject: [dpdk-dev] [PATCH 8/8] app/test: add dpaa2_sec crypto 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: Mon, 05 Dec 2016 07:29:11 -0000 Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- app/test/test_cryptodev_perf.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/test/test_cryptodev_perf.c b/app/test/test_cryptodev_perf.c index 59a6891..8de80ed 100644 --- a/app/test/test_cryptodev_perf.c +++ b/app/test/test_cryptodev_perf.c @@ -201,6 +201,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 ""; } @@ -4270,6 +4272,14 @@ perftest_qat_continual_cryptodev(void) return unit_test_suite_runner(&cryptodev_qat_continual_testsuite); } +static int +perftest_dpaa2_sec_cryptodev(void) +{ + gbl_cryptodev_perftest_devtype = RTE_CRYPTODEV_DPAA2_SEC_PMD; + + return unit_test_suite_runner(&cryptodev_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); @@ -4279,3 +4289,4 @@ REGISTER_TEST_COMMAND(cryptodev_openssl_perftest, perftest_openssl_cryptodev); REGISTER_TEST_COMMAND(cryptodev_qat_continual_perftest, perftest_qat_continual_cryptodev); +REGISTER_TEST_COMMAND(cryptodev_dpaa2_sec_perftest, perftest_dpaa2_sec_cryptodev); -- 2.9.3