From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0054.outbound.protection.outlook.com [104.47.40.54]) by dpdk.org (Postfix) with ESMTP id E01DFD4CE for ; Fri, 3 Mar 2017 15:11:58 +0100 (CET) Received: from BN6PR03CA0035.namprd03.prod.outlook.com (10.175.124.21) by BN6PR03MB2945.namprd03.prod.outlook.com (10.175.126.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12; Fri, 3 Mar 2017 14:11:57 +0000 Received: from BL2FFO11FD014.protection.gbl (2a01:111:f400:7c09::173) by BN6PR03CA0035.outlook.office365.com (2603:10b6:404:10c::21) 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:56 +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 BL2FFO11FD014.mail.protection.outlook.com (10.173.160.222) 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:56 +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 v23EB3lh010625; Fri, 3 Mar 2017 07:11:53 -0700 From: Akhil Goyal To: CC: , , , , , Akhil Goyal Date: Sat, 4 Mar 2017 01:06:46 +0530 Message-ID: <20170303193648.30665-17-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: 131330239168662424; (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)(7916002)(39380400002)(39860400002)(39840400002)(39450400003)(39850400002)(39400400002)(39410400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(5003940100001)(8936002)(47776003)(76176999)(81166006)(104016004)(50226002)(8676002)(2351001)(50986999)(77096006)(86362001)(106466001)(85426001)(105606002)(4326008)(110136004)(8656002)(36756003)(626004)(1076002)(33646002)(38730400002)(356003)(2906002)(54906002)(6916009)(189998001)(48376002)(50466002)(53936002)(92566002)(2950100002)(5660300001)(6666003)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2945; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD014; 1:98YG9ICEbeVTw45DwLB37vU/s91ZbBO22pWX88qeynerUJhEynadHcmmZxeW1NhzlX1kzsRfoN8seC6Sanl3dCMrSgDZqCcPao0f+dfzbqe6/b9nonK6I8pv48o81KC68ZuiYxXHt3SiaJbS/FEo/uY4qn1cYAGUy4Z6iVBO2a+dYFRTJcRjtRtJjfkChK5t2a2InPFN+N13HkVTkZuE/85J1PfFoOY5Udcn4/b786jRPFbAyW/Jih04rdG3nzCD8y+9hCISJ7O0Vf4FKTl1XrPClayXnqEHXyNbBsEqIWItIaS/ybYjEIiUqhKARG2QnlDDchR0d6WAXB4vEOMkcJksX7kth86r1B49RCfv5wICzoUPz4NwV2Sw9ipmv3xTir3RxylRxwlnayPCaKg7lSNdEPNBFP70Hj9ePhFwMTlNRVHVHk/6RqWmys/qpGc9DArFwm5yCHqi+gYseeWiV8Cnd402HPHAFBbGnGErcuzhC7ZZH6FwKIsF+1GbmzzSurjQVkdR4QWLYClNAm1nVCq8nzIQtKflQvLiAdKedVqq9oDEBWB7ezZGQHOsZbmRSU7LaNFfPcK3w9SAW/MsJBWjzNDZlfV3WYwqR/1bMheJoxOLSkOSM539EldmHgcxTfKSJFPoMXj60i2Zs8xaohidySxAXd/uqf9+GY25hYaZr8EsBxR6G25bBJ7Nf4I0rJFSzkhdK3NfkhKZyVzOpjyT+IinyZYw/BqwHsrtIkJWJ6fCK0u1TrYwGZuM1wTb MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 9479ad41-e193-4933-ea38-08d4623f405e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN6PR03MB2945; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2945; 3:tTHYNhZH1PkU02Yvb7af1ph6ztRj/xCVZugUKSwCFkFLuNDwqKD2Pey1HWl5JLhgabS7Oi23Ih3id8gGgMsJCX51ImigRCWezUS655gIJSdnSpsjWM37+0fLeo9tMrfvw1GxyurJpUzYlJ6kLNFj/yXFSsAlGH8A3spHXyjVd66477NI/40BG8U1YnQZagxydXQ+wl7QV0cCEUQ3ArqvXz83BWwbpnXs929afDCLEhbVyVCutUzDsgixqtmMZU0TQHumLK4OQmw/jy31xvhLqqc7qr8LEWXQjngzJmbGIecJvg6LUj2Nsi5jenI6fjfu1ZH1mXvL5830ma3Osmp7nB+RXdkQ/gmCaQ0z4KWbpuA8VV+0zLz5pzOro4+zrWx5; 25:f4MO6dT24lCozCwYjavu59G/1JkcTA5v6xlI3cpIAmUApxLi+ZUdNYKPUphz+T7WHLq+Ld2Zoo3kFFDqZQHKjW/6/GWe9y2Di5JE/b6pfOTppW3wgTHefYfNlbKsF2Iqb2zTiJT2pxdZ9dYuffgiQKPl3ft80BYGtxqV0v6Vy3fuziExt/t9h1a1SttvvjeiIOeuNIzpBaVmJxC57bEkS8FpczBUZpeQl6d3ADel9WYaRiyKm2TNPwb4w9n/cA0W0parCmQi+D7Fc6pSWq7lj+WQss4TWY/03evtPvZFYuTxDYJ61l6DOBCCwVRVIL/KalN+4WOzUg9O4nZJnjhB21H8YRAk5p5Ycg5nl4pQ68/4zHYGBMWGvPt4eMwo/NrmSGXIwLmdSMIH/kQDqaKg/pWkZRHO9LD0z6fmFnITRRmByF0nNaaUT1XmoeA47gqj X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2945; 31:Xlw0Dmo/ReJd7jc4Rbr8z9jPBlq8VVnsJuWdXV0xBjcXfrFWw54NJm+bWi3A9/tMtVZdkiIVusKtcp3YHDPXVacm97uzvnUBbHY3YqFIC1AuG+s9Xh/GwiF73OgRHtRNnYVqoloJIX+CcU3RyIQ3fgJG6l5K0SG2xRoDmdKnjCB9zlyp3K1qbAz0QBaeg6Xt6fyzFnX4xXCLldUPNVNwH2bXDgOxf0wdHhgMO8LNwa/T4tX1wj9rcjLWrloTTiEx8SALovzsDEAP4p8gLWM2kA== 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)(13015025)(13017025)(8121501046)(5005006)(13023025)(13018025)(13024025)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123556025)(20161123561025)(20161123559025)(20161123565025); SRVR:BN6PR03MB2945; BCL:0; PCL:0; RULEID:(400006); SRVR:BN6PR03MB2945; X-Microsoft-Exchange-Diagnostics: 1; BN6PR03MB2945; 4:TsVFDi/aCs49TWWri8w4Jg1NKrvcSU+YEDkyBOgAE/VAF3k7djCB734qLDrEBedKLZ8i4IbfyiuxIqUSoZL34uJJILHcS3PA6i/mnZjIJR6Ef08R316b1BvK30FWrrPhUP6lmFp4B/aEF/9UVMlm2Z6OMkv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nHkclh3xa5gQIhmCsyjwVQNKU2omaTQwHqWNA91KCh2DtkIcK5mRLiyStyvGw6CGnO46uWn//NPRYa2rcMhHx0ZSXwgvkfLovaC/IYE8tJ1Doy2HPld5awdcVpvn4dTJkMOCcK0ZHeuvpq/vXycLh0lEiBP8nDlUNCixilzmsiy8Lt5J31age+3xwHctAHS0nAsv/rZEZfaJIo3ZO80QiMAAu7q40lwEVzwq3z7vi0o8QvQpBsn/e8uR6Xms3Uh9QK1w7uxrA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2017 14:11:56.6790 (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: BN6PR03MB2945 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:11:59 -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