From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0085.outbound.protection.outlook.com [104.47.33.85]) by dpdk.org (Postfix) with ESMTP id B6C47F937 for ; Fri, 3 Mar 2017 15:12:09 +0100 (CET) Received: from BN6PR03CA0033.namprd03.prod.outlook.com (10.175.124.19) by DM2PR0301MB0736.namprd03.prod.outlook.com (10.160.97.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.12; Fri, 3 Mar 2017 14:11:54 +0000 Received: from BN1AFFO11FD045.protection.gbl (2a01:111:f400:7c10::192) by BN6PR03CA0033.outlook.office365.com (2603:10b6:404:10c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12 via Frontend Transport; Fri, 3 Mar 2017 14:11:54 +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 BN1AFFO11FD045.mail.protection.outlook.com (10.58.53.60) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.933.11 via Frontend Transport; Fri, 3 Mar 2017 14:11:53 +0000 Received: from netperf2.ap.freescale.net ([10.232.133.164]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v23EB3lg010625; Fri, 3 Mar 2017 07:11:50 -0700 From: Akhil Goyal To: CC: , , , , , Akhil Goyal Date: Sat, 4 Mar 2017 01:06:45 +0530 Message-ID: <20170303193648.30665-16-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170303193648.30665-1-akhil.goyal@nxp.com> References: <20170120140509.4495-1-akhil.goyal@nxp.com> <20170303193648.30665-1-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131330239141747031; (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)(336005)(39400400002)(39450400003)(39860400002)(39840400002)(39380400002)(39410400002)(39850400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(626004)(105606002)(50466002)(2351001)(48376002)(77096006)(356003)(106466001)(53936002)(36756003)(92566002)(8656002)(2906002)(54906002)(6916009)(5660300001)(2950100002)(86362001)(85426001)(104016004)(6666003)(50226002)(8676002)(305945005)(47776003)(4326008)(38730400002)(110136004)(8936002)(81166006)(189998001)(5003940100001)(1076002)(76176999)(33646002)(50986999); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB0736; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD045; 1:25NAEpvkI0RG7Hu8utVHTjohtwCsEoCNwK3kQskZvXAVyK/KYvpJvmLwFvUkS7+3e/HwCvzCm/nW3PKBFUXxEbL8tKXYmbtDIR+hboel6BQcRFSpfnhCPUAOj4jcM9rwKsm3a7KHgSOuLzX07GXtAQsLwq5xaRt/EcDwrunKabGSiO5oTNHSOfYBP/QlRa8DUs4tt5Al0yvq/YMZ79T/LzaazlwlRnBdMlliqViIpsp19qySGv9+UmjHQtGix4OzUqQITgd5dZwDqr5B+ApXnYgQPNO7aN38ZIPkIJHNoPR1w+cnUOeeAynbfnpJnlhZsAtPx6VPdEIiZ+0UkV8gCqZ/eC1Risk6DGThoMQHED/FsoLCzzrx++A2iztoF4Kt61AWUSCw4rY98o0TmkEXA27nOFGT079wN6yBx92ZZTTwAiz+fZMMWNhVenAKEMnnSdEe4KxMOSTRbtCer5cyyogK2D7Y+GlPnxAp4SoveTwnKl3gAnjcR0YCtQc17+/5mTtshdUWAUX1MV4lZb8mlplq3PZLQZ7PpqmGZrchXXFAUNw2JlBCm8m7sQB/HUJvwMzDVUm/jJitGSmPybt913dMCzLXljdW+/FlWdtrvmUmTt8zWHmDHM3fpUAd24ewiD49fPY+RmnuJ4pA0pzaluzymC7qbQ8O8XB3XPksdbbFAIAgXSavP7r87DeN4snpS89m/DkvwSAy525SpvNJRbhl2VZmnGTw9IxJR+lh9NwNL3EiGJYo4FopfOFsTNpN MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 0462796a-bff4-443f-8e5f-08d4623f3eb3 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DM2PR0301MB0736; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0736; 3:WkBsR4iquAp28/ZPEpY6zUFRqPRHuKIEFz2TSvm18riaUgR+duPmy9C14mdNqdx87ky6eeIsTXfaG/DUb+9oQkKsV8nzOXDNCLPrkkc7i8LCsuXx95ubZU/MKCg3vSMOvroVfa/MGwTA1qMRFeJsXrs98rhE2Hg2t4xOkrnubf/30PayN+IVMiPmNzRmXIzwj0sfMsql8BoW53EclvGDmJp6iRAS1LRt1vBgiqHG4TCyqEGC66dGUE+JtRsu3n5bcjTrlSTI9YvPj3J/2cJSoE6FJ/wkRTqaMEOe6qAZOgEz1EHhux1qc8Hs/Jb3jJ/D2BwrIZU8whq2E5p2BLCxVj2OtbriHik2mOuIMyUniVIrbmDJAh06PiJMyqkeoegT; 25:xnSDvYkeMJAerixPv/M6heh3lnl0VCCEzP3JMwsntEWl+ccI500DM7OxhQEpmSQuunWfRhNcVSBbyWFl05S4zDi8vKk6Sd9q0fc4lWHiV+Yx2H+sBJL1ppKoHMgsUKJvVu4k3M6TpGDzpr9zYKM6IYbXIeIEjSvFq54hoUQvK78kmHNytwiq6XIdIgmjUHgJVTGAXtQfHW1QJlCQAzn+nrO2s+eBIyt6/Ebtvfpi+8mNvbT4kOADQ9WnAhbES140XOSyuEaEy5bWhYBZWctvLj6ITmU7OiH+IoX5X00vIC94iabMTaW69S+R8MQrbnD3DbxSg7XZWpf1dt4/LC30nU7Ysxr+yV0Mkp+yrO3hbepvhWHhtvckSOAIOtIlAqlPuVDMtv7EJ0cATXBmlnj/S4LGBbfIuiTs7bikcrubjBnNdn3PacPYt0tH8wr8/fR1xcAeME9CDBoAzrBoG3GROw== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0736; 31:1mHazmTloWYpNIeEndGWup8wDzzQ9aoEOvq6dDhMuwA357voRjvh6zc+Wz71BGaruMQTsOa6NS+1yA6TjPSHgmL/iv7c1ejumyywOWi078HdJrViSBiiH9P+34Sp1sIXGdScLXMvc8MGuEguY0cohWKm2BXZu8I4JPrrVx1EVzpdXn96XED2Y7tR10pmOYYpvK6BMvW7C4UpnYXv97yTbw+46DlOQF0TNcpF6th4aDNFVMYxGsOfcvCiAjOC3T/3 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)(8121501046)(5005006)(13023025)(13017025)(13015025)(13024025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(20161123556025)(20161123559025)(20161123561025)(20161123563025); SRVR:DM2PR0301MB0736; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR0301MB0736; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0736; 4:WnGRep19jGZlnF1DUJ66KtVjjpQk7yB2p2eZrNER7TNpPnYEbhGkO9kU2SIg/EBZ/IZy6N4IqBlFN6X4coMUaDP9IdmgwVLrZDc1H1I/hxzrkQ4YtsGe8WSuFwiS0qez5CeeqHXdciiS47dbSeZP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U/YWJ36Q0GWHPrAAbTJL1m6Yx48ZHBIXBN44PBC2QZ08ZD?= =?us-ascii?Q?Ggp38s57X7AtzOUcnYflMjRLk4nHT+h5ZZzdyvv+tD0lGmUsh3NdS4T94Kh7?= =?us-ascii?Q?ZoA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0736; 6:8B2vEEMSayMkfoM+YxWD9/P0JjSOcyYSs23La092Ekup+eAVuG/cu71ihHM/MT8/bjP+iCGnRh1G9Isx/DY9MpjX27an4D1Rs3cC8ujeU6CyfONyh5WMIhpFiINZgjZ7gkJdQuF4UZ2G6YEwIfpnh6+UY7WpRmerbosEZ59yp/Za/GHl8fN7L5/aYftvcU017RAoBDmx7DbbqqmIrSrhdubwkaAEBjcUwhoQ/r3Ne0vy/yp7goTYNs/dzQK1TOlbuXwReQQUFSy7Fisw3Wu6F8+phTSVKQRCq8NJGbvHGUJZMVDUOxRTFMiqXAOFayZvAu9bxfU7nOP+Sr2DkP4LfuH7hBlZmgx+X33WCvY0MEajP3mAKOidpwKgfILYCfJLOk90im2rQ0WjHrjtQ3C1O2ROEwe3eCa2qhZtNZVreNM=; 5:i6stDNAwePxuPwRkbNY30s3+IbkNfFZlwjJayeyxNl6UhBtv8yOvrvPgGpw2hQW+UWt+TFfHuWxjX/jTc5tvSd4fuRiVlTxnL5f/EeGpNa7vtE3O2IFXxs4wk2uA87Rj+7Wko30VpP8Rtuj5zoELBycck9nLW+XINASKGXd/tYPOqXpuvi/ABPBfPyHuSoud; 24:Am+pBZS1gFq9sVoogoJxGZbpb0dvNLSZ+LpRZq409Broz/2oxcZXghulxMTukzMfFPmQxvnis1aQGS3p/7QcC9ESIRZXq2HWpLn3puQ4KnA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0736; 7:JEFLbZvtJESqXBUFZ10+rbyDhkB9hEwk8O32j+2nNaU4QZzFZI/PAG2KrIc73XegITeGSzrgyVbs+UGUIhCMG34obR8sy1JYJB1DF/KwDBelf/lOyy1cGnVgFCKu17ONnxmyxzuNixRlBk/elRbGUryVDDaKWvCan2jHRh5ednJcUvP7+kfWCXVomUGpssT1UAjKEl1Iq6pzl6+gzWkSobYv6HBsV7uYhmXBDGANP8Cm6UCArdAETxHzdmDWHLAQZK0mVaSMxRu13oKha/NwZ+qHRY+Pk1IXewV1AHLwLqc1KGLcx6hQmhlvl7MBgA8/h1t2iZkqkJlsPj1nGX3QAQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2017 14:11:53.8627 (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: DM2PR0301MB0736 Subject: [dpdk-dev] [PATCH v4 11/12] app/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: Fri, 03 Mar 2017 14:12:10 -0000 Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- app/test/test_cryptodev_perf.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/app/test/test_cryptodev_perf.c b/app/test/test_cryptodev_perf.c index 7f1adf8..9cdbc39 100644 --- a/app/test/test_cryptodev_perf.c +++ b/app/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 ""; } @@ -4659,6 +4661,17 @@ static struct unit_test_suite cryptodev_testsuite = { } }; +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, @@ -4784,6 +4797,14 @@ perftest_sw_armv8_cryptodev(void /*argv __rte_unused, int argc __rte_unused*/) 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); @@ -4795,3 +4816,5 @@ REGISTER_TEST_COMMAND(cryptodev_qat_continual_perftest, 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); -- 2.9.3