From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0047.outbound.protection.outlook.com [104.47.37.47]) by dpdk.org (Postfix) with ESMTP id 938E9D004 for ; Mon, 10 Apr 2017 14:32:07 +0200 (CEST) Received: from DM5PR03CA0049.namprd03.prod.outlook.com (10.174.189.166) by BY2PR03MB287.namprd03.prod.outlook.com (10.242.37.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Mon, 10 Apr 2017 12:32:06 +0000 Received: from BN1BFFO11FD029.protection.gbl (2a01:111:f400:7c10::1:122) by DM5PR03CA0049.outlook.office365.com (2603:10b6:4:3b::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17 via Frontend Transport; Mon, 10 Apr 2017 12:32:05 +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 BN1BFFO11FD029.mail.protection.outlook.com (10.58.144.92) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Mon, 10 Apr 2017 12:32:05 +0000 Received: from netperf2.ap.freescale.net ([10.232.133.164]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v3ACVCIX014402; Mon, 10 Apr 2017 05:32:00 -0700 From: To: CC: , , , , , , Akhil Goyal Date: Mon, 10 Apr 2017 18:01:07 +0530 Message-ID: <20170410123108.26305-13-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170410123108.26305-1-akhil.goyal@nxp.com> References: <20170324215754.21751-1-akhil.goyal@nxp.com> <20170410123108.26305-1-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131363011253352364; (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)(39410400002)(39850400002)(39400400002)(39840400002)(39450400003)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(2351001)(106466001)(47776003)(105606002)(5660300001)(8656002)(305945005)(33646002)(356003)(189998001)(50226002)(81156014)(77096006)(5003940100001)(81166006)(8676002)(50986999)(76176999)(104016004)(8936002)(85426001)(2876002)(4326008)(38730400002)(2906002)(110136004)(86152003)(6916009)(2950100002)(1076002)(54906002)(69596002)(36756003)(48376002)(86362001)(53936002)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB287; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD029; 1:on2x88VdY5E5GsIPrWsm+nxn5mOYAsitJB6/+2Ju6iHvnxPxlOT3VQyRnRZ7145iIngtYK5Z8N87tGI2PAGU6aRB/siruACKMpIpJygS0gI+4gfqIM2FkZ/FeYNBsHiVShgUueFcYgh5HXw4Zi8W8/5S9DroKDqJ/bb/SXEytBiMptUZIiN+KnMb4kN9wMKxiYI4PB9GwUzQl84JFXg2mX+gVeuZEoLkiIMdK1mQauY1F6QjrHUBjcnqHKl9BowUti0yRRxAMXznh+jUy/3zeUB+ipSYswIvVBPUHy+PLTFpZ38kJHi9Rkqc/bsF4jTNBA4Fr/keWl0dvgauyAfnRwlx2DWlmr+0pGWEpu3FkpEjijGQthcjItt21Xg9dRO414Yj/Qjz6rCBO+rMFgjlNXRdpXsC75SYRRozDGTFzK72ll4uudGKuC/WBzuOEoDp5Rcptyg/voqbsu8FI0fW9R6zXczUonHHEVFO+YLf/3rGKcjNuyXoEC/3dmYtWyUGZpxpo59fWNMts3UD0hHOBEWdoKxSxdepu79Yy7LM/Hz/5ZnH51HBUuZe0CiAq17WmFZpDda1CaJvsLOoL1uzfkGUUikNlE96EN5/xKqibdCulnvTDD+DlEVe0XhI7lrP++SbE7rqqld47OEP4FtNSHOE0JqKkI2AwHbTm70WxRCrwS+D8o5WvPGui6XnnIPwQmHeuSOW55EJyZHD7pnNT/F3/+IVs/WjZ/d66ixTrHakjFfuFmOQBBaP7G2deb9/09mW6cu6Ays/dX9LyzPVtg== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 5a4da787-854b-4c6f-564d-08d4800d98d6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BY2PR03MB287; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB287; 3:BJOdWlAMdv/KaFkQwSuh0e+IjyaRsq7ENzQjaogFKqvave1mXFNoN0xcbIZeD4USaVnCXqU4CvYahq66MkzKm/afaONCBFTDheJGVTB1cOCN4/cYYXyXA2kxlmurAOFfY31kXlOl4SUVOP5AUGYHOAJUOyv9LujKsppUv/OoHl9ux4aO2HMV2V7wpJgSWayu9NJ40MrGbefZD5uHQNKizo5uPtHBm7YtTVm/NoDZNUg5ENheDkTf0qlu6o4orm54ceKJ095pxS+STtZzUOVfeNmllHkd9LF6kAZ1qKMor76n5qQypND48U7jY/Ms1laNXQJm+m6eC+q8TiumSDPADnoA0r4iEyekQYguQ7GEKOoRP4gU3UEz2hp7suh4+06Zpxfj6cI9TqinAc4+IfpdqrzGTNGM8DiJGdHiYKkudha3Fs2RNzHXpzEgzY6YcYI1; 25:zeNs1olYMP+1NxdrbaiX+e4qhXHcaWmDEsYxyjfS9UMCyHNwKBGHIkQc1yxRpYF/gsa9hHync+oT62ha7uoaBm5FqeZwQv7K1t5SWIC7BcKjTkeEvsaZSxEFXxx9PPwGI00FyTMfvOo0wtNrpHIFC0euM4sKmvJcVF3kH/uCd+rG5mCJ4zg0iyvnf71BqscqqU83sm2RwnunOMCEHEixipizmnpO6C9pa6Im/gOVEF7gFwdRpJIFpwD2IczQKBVttd9MTiCOpNuE1Gi9J2HIAdqTS4oNq56/vHrTjkLYn3mGzPxyObviTcEEtaIIUc7mbphhJ1WB6TzsV2AkfjEkGvYfYvXsV19c260ArJ5W8qBqutU86jrAS8dZdxXM/cdwD8wHybhISIELDmpyMpJHg6yjYaiC92shbtVqsMxi4UqmEWFV2/pXThxfw4cCztcr8qWuZuYAjeEonrGqOMH6AA== X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB287; 31:oIHntikB5M4m/fvF+kSYTSDAyDDI19BNGmLAIJdOtHlZI7BgVbxamfloXDc0xtw1rQe1+10oEvRmMd/3eQLpAfRDgn6DogZhVDIoYJFZzppowOBnoJNbIAmUNAb2RjH3azjzi+f4wc16cXnJXOGpK6QyfZWAzeIgBmz+dhLTtcqhAaQYgLmB1aeAfew6MoalvOQVzx0Wjn8WRrXdrPexvaKWm4qpEeJDfDVB91OmnSTQJI+nhhaejpsEieEDBNA1ZvXRczVd6GKHXJHtitKg7Q== 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)(5005006)(8121501046)(13017025)(13023025)(13018025)(13024025)(93006095)(93001095)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123556025)(20161123561025)(201703131430075)(201703131448075)(201703131433075)(201703161259075)(20161123565025); SRVR:BY2PR03MB287; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB287; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB287; 4:MF5IJH2H3rhdIzXUkWMspRwXTeEV22srzbhd3hEBas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oX3EIqgInhde3de6gy6l8?= =?us-ascii?Q?fAuAlBSW6Bwusm9G66G1SDPGL+RIoigqKbAu7B5+lJm3nmqzfl1NEAdaWzIL?= =?us-ascii?Q?kQycBCzjxkaN6K4zEwCu1Na90UsW5+JeYnexMNOQus6YgwH9hgQdqWoryaob?= =?us-ascii?Q?qZWt+8xYPzMMKpoCHu92h4qjlsGQYOevht6psehBRukYhScbk4bSr0zDyDTv?= =?us-ascii?Q?doNmYa3s3v18wKA/J+TCMOU/qQQW+5TGHPbtIT0xXcv13t7uUAu8oxk4i7qw?= =?us-ascii?Q?D/EHb/KWKocatRGiA+WubjnafJvA3kkAyZeB8Aaw5Pa5algEKC7rpazUiAw4?= =?us-ascii?Q?MCAbW97qXu27ccvAc6Xd/4pxy1O2NpyEnDRxRY5B46stxG13lv2v39slrGQS?= =?us-ascii?Q?KdZkfoqOH7MZd7rn/DRfSLmHSpAMH2QuGr5nVSCnDKXEopzFlFsOxrW4+cYi?= =?us-ascii?Q?xEBkolSdFeulMtoLFgnaYoeDSfT4hxVsUXW4NC/z6vcIRqbCy9nFR1FzVJBW?= =?us-ascii?Q?0wFHyJqetvIWlktSZI7RaO+m2r+iv9n/HIKhCaDwr4+nurECq4kkqEUcucyt?= =?us-ascii?Q?nrxgx6VXWIBg40JZKEXBjhu/7IYCevHvhtxHjFc475R3WNrVjWN1OsOyV7J6?= =?us-ascii?Q?CfXOax+KSImh4tVVPWxAB5QvKL8NVsRAyaK6wa/O33irRV5XyxhSFkZzNVSb?= =?us-ascii?Q?+HOBuD8nS9vvV4a5L0PSfH5Nk6H3Vm2sQYY/x0OUCJF7tO796LRYDsqy19XI?= =?us-ascii?Q?ovZCZRuRRwv3F7uSfae2Wma7bQ1eCAozIm9b3ZP5L8+ktqpHgygBYp6jxHOm?= =?us-ascii?Q?Axr0nTzCilPDYhIYvdyXZip1Jt7tUsYMCZZDR9Dh10dfIKv98YFiHu55/g9y?= =?us-ascii?Q?c1hahtLFISj+b26pm066KrYZc8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KZVrTQ5rCUpOgNF0cy/mjMUj/Z9gj4IwRA65TO6E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB287; 7:qs02Z/h8ZJ2zHymD9JeIsxEXXS2sgjtM5hCO7S1B+AT1Ppo3TZrYc7V6iAbGZAmYp0biyTliDvo9kegQKPEMQa4hK7x1b9JVV8YSPiW7448o6gJcmz3Qax9rxkUGjistk/U3bBdL39oh2Py+E8vuyPUz653BDGPRKNMMeCUX7EJUcCmSyZnOFkclxxJsXhLGiKEb6KjkQnI7HgEyU90SU0o71J2+KOHwGURiem2uxd3Km4xrXJcgYQ6fx6EFrtqT/YUzYCjNJASp0zm5gjZmZDB/yxiW+IgNK3k1qjltelR36DqsE9w/4N2sbjHl4YPLAX9wfzx1S6U6cMf5Us0RLg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2017 12:32:05.0856 (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: BY2PR03MB287 Subject: [dpdk-dev] [PATCH v7 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: Mon, 10 Apr 2017 12:32:08 -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 7f1adf8..9cdbc39 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 ""; } @@ -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