From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0045.outbound.protection.outlook.com [104.47.42.45]) by dpdk.org (Postfix) with ESMTP id F2F0610DB0 for ; Thu, 22 Dec 2016 15:52:02 +0100 (CET) Received: from BN3PR0301CA0035.namprd03.prod.outlook.com (10.160.180.173) by CY4PR03MB2472.namprd03.prod.outlook.com (10.168.165.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Thu, 22 Dec 2016 14:52:01 +0000 Received: from BL2FFO11FD040.protection.gbl (2a01:111:f400:7c09::134) by BN3PR0301CA0035.outlook.office365.com (2a01:111:e400:4000::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.789.14 via Frontend Transport; Thu, 22 Dec 2016 14:52:01 +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;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.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 BL2FFO11FD040.mail.protection.outlook.com (10.173.161.136) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.789.10 via Frontend Transport; Thu, 22 Dec 2016 14:52:00 +0000 Received: from netperf2.ap.freescale.net ([10.232.133.164]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id uBMEp6TM013482; Thu, 22 Dec 2016 07:51:57 -0700 From: Akhil Goyal To: CC: , , , , , , Akhil Goyal Date: Fri, 23 Dec 2016 01:46:59 +0530 Message-ID: <20161222201700.20020-11-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161222201700.20020-1-akhil.goyal@nxp.com> References: <20161205125540.6419-1-akhil.goyal@nxp.com> <20161222201700.20020-1-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131268919209558583; (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)(7916002)(336005)(39840400002)(39860400002)(39450400003)(39380400002)(39850400002)(39400400002)(39410400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(50226002)(50466002)(48376002)(8676002)(5003940100001)(69596002)(36756003)(104016004)(8936002)(81156014)(81166006)(68736007)(189998001)(2906002)(356003)(305945005)(38730400001)(6916009)(85426001)(105606002)(33646002)(4326007)(106466001)(8656002)(2950100002)(626004)(5660300001)(110136003)(97736004)(86362001)(47776003)(50986999)(77096006)(2351001)(92566002)(76176999)(1076002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2472; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD040; 1:2jrTPH5GnoB3bVgroZeyt+pfLtP5zD0hdvE2mBkD1n0Poi1DrjOpvHTax2rtViB4zWc4rRxl8d7LHTgMKiRduUpLfoOy+BkNIzbuXVplmk9NoQ2GJ4IZVh3dfDjdBnp522eU5O6g4IezHQ3vu5ZysReadEWbRj1Q+SMDjrMcNaZ2UlIvulX0rh1fRbQQxBIxAU98aEWqjEbxtrMusmcPJK7CDu2YazxSAKBxOFomYlrnPKGC7N6U65i78qYFyX7FBSyMr9dMLhwfe6Qtsj62cUHcwTukHxXHdLbls1FLaFnJKuV8V4eTUNyZFio/xda/rb3vfdjL6Y2R4qH1MZSZgQZ9fA0NToREQ9uQyy3jWw1DQ4wMrSSoYHMSy0XvyndWQ+wEPcN74llR+LTJ99uP6uZ4xfdyZ3eGabnw/82FTOHX816YPodhbAAvyUMPFpwFV6jLY9j9jQ0IefI1Bw8Mci9PqxXuC6y6sBYXct3+K2ZZYbqiu/ZtkB6HwCcfJ0HXEjH7hxE+4x7Xv7zx5oa+aSLd27TgzxXWquA9SbQ5fSLdcfK1sfuhBvJrgrhnGoNMaAxTrj8qYZozz5dvdgVKTdOfMpv842cQ8md93xF7ZZwEOXxpMGljH5JWYrLQdoou8NRSi9F8yfXIUtqb9NEvkW7hy1iKI8RXPIdqKp7jIUvTx+8DB0M6t4n78M/pk//IlXYk4x0+dtMORYaXDAQturPNW7jE60XidbTGIso3iQ5NzrW+6SwSlhIGPoeUVrkcVgLz2H10KzKfTQa+9YAsjA== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: ac9022e7-9aa3-440f-a0d6-08d42a7a15fd X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY4PR03MB2472; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2472; 3:orTZgMBCZfFbvACiUZh8r2mCjQ0gvf1hf4rRZRjOq3QmbssMN2hoi0T9nVV1RYjOdMZcmh+vGy90m8Zzs+tuqOnfDSP90OGbY/q+JPCZIzkb7Q2xj/Kda8qoCAAAAdVEM8Y111KlYOTUFxvvwMbr5/XzQhhU2p/xWydT6FXP5ZhrxjNEyNT38DFOV9nCv8IMcGMwnTcNDUhIDygdVFe1UWpNtJ+MIYQqIlE+abdLwFCasdNhlth+OlZhZP8L4vGmW3mcCM/CPEcPSIlLNb6zT9+M+xDOqZyyu3IbGW9fiLi31EO8CsqzMW8wQDdHixjOOasrlNVH/bBDDdl8j9wbfDUzYYpLLGH3bjjpy9Y9aMk=; 25:zBNz+JHNQiQkvDKp4kSgKhelXqVv1QmU40A/E2WIga1+I/wVru1s5TmYOrEomhR6AghqXrwrX58yi0e1MAwMLZ5q3WUNR17b0Ie7l9HrY/0SK7uaqPzePf91kXyCHKDMiPNPqOvhl+dsulIGUsZWGI8IbxZOpAPBFmk7E8YI7L+VIZRxpnuGhL1xn64bv5H78xAGPeFnsJpwt1ufTkaMrYiHJnliYQAiIEMiyQ9aLkbo2yD9DsGD1mYuTDmAzMZdfyXmS8l87KnTVDOCJinK19/jJq1nLiWPvfwBxknQYOjuq1kJP2S+KE6FXHAZTh+N6IlqemFLOi7YkhfBokNqxhRI0vOofRzhebDjUjp+lZMwdH63UxvK/7Sc+nk3OURSJkvIR3axgRRSwjtsrsRBHGc/484qCryPoREY2UILu7Jin0M3PQ87qGo9XdycQK1XMkm0RDi64mYWXeM//m1i/w== X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2472; 31:XbhNCXBkUvZU9W/e8k9RVLUIB9QO9DXdZkmkmlTrOeZgpV0fmISq9i8FxXFnOUXmsheKNkajIIv4vbDZnd1Cpi4bc4ubis8ZW9et54NOU0y3P3a/CSGX+gUcxBCGb3TlsFwh0CoAqtSqUyrcq3zxhc92Th9MVVyBjMugMNee/8NObrM4Jl0UsHZEMWl2NCDjWjl6E+vLkNIuIYY7d40L2Y1orgI85y10BpyuptzrOUiGxxelbUN7iLVeep0ua9IFhKAmG7HZw7FCGblkauIdUg== 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)(13017025)(13024025)(13023025)(13015025)(13018025)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123563025)(20161123565025); SRVR:CY4PR03MB2472; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2472; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2472; 4:7nthz0w9HNQYt75uenCOcsckMr3Q19vnStSrOvuqFU1s1m/yS1e/55cBcNa/mZML8p5rVecqxeAh1x65qgxxi3Y1J34s0hX8a3r4rz1ks4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WQFvAk4qrO9NMuAXHRfPcYTh?= =?us-ascii?Q?6i1AeH5y9ScVrV9WmWDULfE6riR91LhK/HmaNEpH4CBlTGW9l8P2mZGciI6T?= =?us-ascii?Q?UeYap2slC2B9l1EXYYaOhP7vhYmqRc7UR7RS0x1xzrSVKFMhaBxf6UolSjR+?= =?us-ascii?Q?Z5B902PgJaq4VGacXbHueY=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2472; 6:TmOI3ff+IqfhuQDayfDDhNuLzlM/gtRTSgEQ0ewlOvgA6uppU1Mam/MA/JC4GJ3NTE/SpMuOd7yTsi147+azHfW8q6TyCfMUyR0UUadBaZH2o/imXNW83LNj/K+itrxhFYra/9YrGEJZPcfKmFpDhcvIgm9YrC+OrFN/qcnupBHlLREWz0oUjXXaqy6MzE3OZ8YG96rhkhqWdHO2eI4OwxQ+TMs2i3OmXNkPCdUIj0Wa66MviOqEbeK91YmpmqqcKCV83siGlkwDf9MVoOUZTqNuF7lsqDumXcIHOedVy9KfMWQckutvAcJSif9YPwPMBBn56K/DxkXI/1+OkeihNm9kA4so6fenST6ohgZvgFoiFK8uZ7uclPigkJtlZ/NHlwnHI5sFiPujYTmIRq+6d+8/U+gKoHVG0HjWBhBn07ZOQPco0dbv1IqyX5BX621i; 5:fDxmkQ7aetso6ykxOq/eOBPk6wxiKG7boVnT/+4PSGN3laCgzPAbDk/z5nbbvdyIJY+gFrl69AnAyb2aKrla7QUZuLiJ0rHPQGGfVLBRSOIO4G9mdtA5pmmuXb6A3kqEMrgX+UBpi1Ll1h9uq6z9kkWEunEci59+zmTLoyCPsvl7znwVpEt12VPgVCcqIYUe; 24:OWxv+j8qa6Ktj7jjOracWA/ppsaiD19+OK4K+ZkVV80uLCiMIz8NQGBJA6uz2rHvEkTuzTSZ18s41xWiLD5yjiT4Bm0+t2qUz84hH/9zqkA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2472; 7:N7oQUI58hUsavAaRl+XlMoKs42H9qOO35rgYmnpo756syTh+MYRGyHjyT/tGyS2pRnG58pnxS/xnJ4DSXKvQuIbuUAHJxDg4g9mopP1X3ynrdKXRNf6P6fVA1I3NlO6LBwuSawo0aJxtYuf+xA7XaT3TYgObvNVsXvjk0hVt1B13gXNYDxTGPhmDIlHXTULHVwG9ciVZYMhC51/vpkF7MBtAHZuxKTfEvY0QDDtoOij7QN8RBzebM0w2DHTPz84m4ss7Qsl/AP4BDOtv4v/CYINWc3UjKwmw8fzk/24r47FLmS5myvtBP5H8O+lwlMVvPdU0LA4EziWrfou6Rmt2z+WIjxPYgBSpIx1A/9Il/z+JbEMa47Udco4qzswYR8+r33xQZ26C4DPfgR5d+fQZnA63G5BUzsMYvXYet3uWieEiWZlYfbMbbR+26HBmtaVChjj298JP3+WhaE8Q+9my2A== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2016 14:52:00.6750 (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: CY4PR03MB2472 Subject: [dpdk-dev] [PATCH v2 10/11] 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: Thu, 22 Dec 2016 14:52:03 -0000 Signed-off-by: Akhil Goyal Reviewed-by: Hemant Agrawal --- app/test/test_cryptodev_perf.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/test/test_cryptodev_perf.c b/app/test/test_cryptodev_perf.c index 59a6891..2d9b78e 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,5 @@ 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