From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0068.outbound.protection.outlook.com [104.47.37.68]) by dpdk.org (Postfix) with ESMTP id E8B9A5A8D for ; Thu, 20 Apr 2017 07:45:16 +0200 (CEST) Received: from DM5PR03CA0013.namprd03.prod.outlook.com (10.175.104.23) by BY1PR0301MB1191.namprd03.prod.outlook.com (10.160.195.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Thu, 20 Apr 2017 05:45:11 +0000 Received: from BL2FFO11FD031.protection.gbl (2a01:111:f400:7c09::174) by DM5PR03CA0013.outlook.office365.com (2603:10b6:3:118::23) 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; Thu, 20 Apr 2017 05:45:10 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) 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.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD031.mail.protection.outlook.com (10.173.160.71) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Thu, 20 Apr 2017 05:45:10 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v3K5iavi015982; Wed, 19 Apr 2017 22:45:08 -0700 From: To: CC: , , , Date: Thu, 20 Apr 2017 11:14:26 +0530 Message-ID: <1492667067-21968-13-git-send-email-akhil.goyal@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1492667067-21968-1-git-send-email-akhil.goyal@nxp.com> References: <1492616268-6307-1-git-send-email-akhil.goyal@nxp.com> <1492667067-21968-1-git-send-email-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131371407107446661; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39860400002)(39450400003)(39840400002)(39410400002)(39400400002)(39850400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(69596002)(305945005)(36756003)(105606002)(50986999)(5660300001)(2950100002)(50466002)(6666003)(48376002)(86362001)(104016004)(47776003)(6916009)(76176999)(2906002)(53936002)(86152003)(38730400002)(8676002)(85426001)(8656002)(77096006)(2876002)(189998001)(81166006)(8936002)(110136004)(4326008)(106466001)(356003)(50226002)(5003940100001)(33646002)(2351001)(54906002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0301MB1191; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD031; 1:3qrHL2NmqmkQ8v7LnSu/z5LUlbpCfrl0xIoryWdTlO4v+Tioxqtx91QD4E3vEG87OEpmNnpe99STojJQq50OJNrlUb6kPEKYVDQTbAmCorvOT4E2GpiA/Y3wVEFKpHY30ChC2F23RPUyLo4kjL+enkqWPtFjSXzaIsc6U9FJ76YafBscHFlwVSglJ/qY8XnFyelfq+Kqq5FfpqRMUuNzfQRy9hNKJOA5RGC+7eI/sYIDUGz1HM39HQon7mGPoDG4P9TfyI+5YxqX5E97Rrv9sRyb7uyqVlyuPVWAengNPetiHnsYicTX1ZX/b2YssBbC2ZCYHG4w1+d6V2kOFojCcHU7hPNJtFNdeMHj+H8tD9oxNyjt9AU/RThRth8G0N1VdDXSrMvWD+CyRyiqxMNN5j1KXSyMi0OPAnB9nh45mZSQwI+82GJ3Q2eFJhShvyjR0LL0s60/cqneOFzhWq6UmSyhtIN5LpokjV0IuVjUV1iYWr9v4vpNhKD8cuiu82hhsPjKeAp7aL8L+8Gbl2hUyZb8vHExs4VvvHtAW+lr9D1h828r6Cia8cwxeAcyHc4l/lHLM8qloB1onKdCc/JnbPShl8liz0OyRR3SwZmfw0U4Ng9i3cbJjiYEbgpUjkT5q/qmQKCOHLfttCtfYExpsr2rclnH8lB9jFbKnMziSNEIqEaJhDEwkgCpu5xextl9/RK9Q+/njrryYYmfGIGEvTmNwZA1idkicGTK8VlegpgZ9vFcf/obhMB0R7xSKb/xUCuLN+NjtBQX7AYQFQ1xpA== MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 258a6ca3-b039-4c7a-5785-08d487b068bf X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BY1PR0301MB1191; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1191; 3:laqRWYuBS4lshVUqJmV46+qtXWeFt8kmSun9QXaVirawoODtr0mBebFeVEqOHHOpTTFHRL34j0J1POLyFZVFnE6RC3bJiWPH3kaIuF9C6B9w24iTSbR4TICSlm/YNuPZx03JJIuDIbuheIPDp60taMumEDL1ku4CAyq4PQHJL0E6X02I0hBEiF8vG3OdkoR3T9f8k7Q0qrvbqnhHQU12ODDVYjZVScc5wR1jWS485pmOHZ4/4yzxNQ9Mj45i/Tkz1O0l77U1NBrfLnPLZT9dtbTwKavkbSGKpgrfsUyXOezrkDpd+DZwenwNllr8C1krkW6HkvU90y3rfG1raXQ8c52dUY2pyqRnLxdQaP2hA19jZEHWgzQycbaVL+7xfeuh0aTSQ1K+j6UKJMyylMUgjRmu2g1NJXtNpj4YSK5QMAFDbPBNjmVTCjXVF6MTvgGn; 25:VF1hP35IPXi/Jp5QSUF6Umlz9dNpxV/CL7PCaAEx7mFbWA39ksKFhHrRKY2uZNvs7gogDfckODsVcpLQ7rrqJf0gSFHeqKWPRNrHEOrppQnTrNnoHb80jHxRh4uxPcc1dsBxINQHgxouzecijHMzFikar+TO97P/mxvful6pxb+YOVTfc6Lg7N80TIskDlhuvZ7kZx1NXSBoQX3KO0GMH1S6QxQR7JiCm7ffZmUQFdi26wzkHulQNqCxVJWu3F39t2dMhU3KqCevMrCmsBi1UvgHuSqLr1YdD7o6dikkSc4bayJsyE+avfvsejzSOkgfyrjH6aE4Oerd/O5kLyWheqkUSrraoXHQcWQF6E09sxjVumgkcmVSoq3p2CnCJYZSgv1xcLvxvDJRw2aNSGuY7LbawKiqPtsemQ6Mb7YOtwEF/v+TwClmXR1G9NU8Rh4SH4dtSMqpuFygLArriOCiWA== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1191; 31:BGa9/zpNCuYF4ycjbbdvHC8h2jYnyQikkqkbiLP9x3i4hfICA27z34kuAjrl6XIEIoqMADgdwvvZAhP2wKslyodVYDbxRPh/MVf3maFKylBjTJj1lak7m/7bCNMySmmI/GgWouAt0rBcAQdkjfw5UKDVClNBAjuKKw8ooZqfeWTEtw1AXlQKIcLPbhP8+ISXahuvLpqaB0m+sQ9l6FVhE0nPyXvVJ+50KQnNjlOBVq48WQ6DbwRGFQT/uqJN/oVoKA5LgqW3bnqg9ADD7v9pRg== 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)(13015025)(13017025)(5005006)(8121501046)(13023025)(13024025)(13018025)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123556025)(20161123563025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(20161123565025); SRVR:BY1PR0301MB1191; BCL:0; PCL:0; RULEID:(400006); SRVR:BY1PR0301MB1191; X-Microsoft-Ex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dBffkvxoaXvyHqQpa+IMd25GT4//0jdWPIW5OwF+4AtROv/1Uk8RgChtBAAJLy2Q4OwSzZskR64kVBz8sD4clh2Wrsg2g; 24:ggXdZXyUtoOmGo+sv45v4T6wU0wLsUxKwkvbNB1RIiquI7Pk5yUD/fjYHulOHHmyF5ophBpykJrkB24lREw+BdLLVCO2faUObDkRo9ZTh6w= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1191; 7:jq/83F9JUIpJvffr3nILX9HhKfcFJUPcuSylfmKu48c1vUuTcUQ4+bgVemQ/P9rppT6yyCFUiQOSo7pZRepThjxEnjjVkqFDD4Ctai3QRww2n9TU9vtpQf/ALzbFJq35iPExjjGgl3OGIZpaFyNVWegDNSxan2IIV7JIrVhj1VtMYOHhD4LhGZoBNLInBsNVBLDOiJS2TQmYZWDnHHwKmPU0a3m+Y3JBY0Z2Zg4nnL2gEKYtVVE3k6XDst1p1r//MSH103l7/3p2SIX4T/BJQ1algCm7l04J+TFwN8ac0TFh9TwyguYkNYLfIwxQ3Sj+uQs4Zs0YD1FHAzhAUAaphQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2017 05:45:10.5262 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB1191 Subject: [dpdk-dev] [PATCH v9 12/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: Thu, 20 Apr 2017 05:45:18 -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