From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0063.outbound.protection.outlook.com [104.47.41.63]) by dpdk.org (Postfix) with ESMTP id BDB82D218 for ; Fri, 24 Mar 2017 22:59:14 +0100 (CET) Received: from BY2PR03CA049.namprd03.prod.outlook.com (10.141.249.22) by SN2PR03MB2269.namprd03.prod.outlook.com (10.166.210.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.961.17; Fri, 24 Mar 2017 21:59:13 +0000 Received: from BN1AFFO11FD020.protection.gbl (2a01:111:f400:7c10::170) by BY2PR03CA049.outlook.office365.com (2a01:111:e400:2c5d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.991.14 via Frontend Transport; Fri, 24 Mar 2017 21:59:13 +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 BN1AFFO11FD020.mail.protection.outlook.com (10.58.52.80) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.977.7 via Frontend Transport; Fri, 24 Mar 2017 21:59:12 +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 v2OLwRmp007000; Fri, 24 Mar 2017 14:59:09 -0700 From: To: CC: , , , , , , Akhil Goyal Date: Sat, 25 Mar 2017 03:27:53 +0530 Message-ID: <20170324215754.21751-13-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170324215754.21751-1-akhil.goyal@nxp.com> References: <20170303194935.30831-1-akhil.goyal@nxp.com> <20170324215754.21751-1-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131348663529543542; (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)(39450400003)(39840400002)(39860400002)(39400400002)(39380400002)(39410400002)(39850400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(76176999)(86362001)(2351001)(6666003)(48376002)(106466001)(8656002)(5660300001)(8676002)(105606002)(86152003)(5003940100001)(305945005)(54906002)(6916009)(50226002)(2950100002)(53936002)(38730400002)(8936002)(81166006)(47776003)(4326008)(104016004)(1076002)(33646002)(50466002)(2906002)(2876002)(85426001)(77096006)(50986999)(36756003)(189998001)(110136004)(356003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2269; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD020; 1:X3L7itW3jAK94u2fwVU2U/LC0ywqZgjd30Ar9STPlF53ZppepKmUKC/Cv0K+Ghfaqt2g55H3kIbZr79vkuTvzZXPUnZ55xGg9A/HJuDs7gHc4vA3oddlgzElUaui7IKkBEp4Wx4mDoPuTcrj5RaVQRV3dtuYmk88gVi3+jGxb1FhQTQ5RhFadLPS/ffQb9CsT20GD1WfPuFMPCYYmpHuTeUfQhweFJVha46lkzLFFIaBSELKs2dEUUKZJFsosnsVuo8ZyYNXwVeyuFoO9+p3sszzONbQhtnp16PJSNw+PP+DJDS43Cl1pMX2Bd+QSz7Gy8Ct2znt0VtjYbQBBL4DLBbdb2hVqD9lxn6iS5moEib83xUC1OIEM8EbLZvbxJnEmuvwY+9TV/6G1ZHwMaoKKhKMgtFV/PbbdImtXP/4O48lh3e0+42RcDqeMb/PpuTum+7n1Q6MhiInTZFVZ9X5caIYmM2L1lwu+vGn5KKKjvvsf6hQcSUkXG9oR3NnDe4jezqJXlyy6z2oubRgmsqup7gcOBfg+DfZzbBPGy0Wycnk9uW71gUwHxQaC4iqhTNi+B9Vppec8xTgXDx1+ab8LdTFJp+xl4e+7/wdbohfxuPe1DV/RE/ogV6oeOBXeTDM8uOMUlz+lw3w/dl4/rQzKrjVLo0P9VDZvdbCGJREMF1FkwaNs8cQsrYcJRoHKozyxpxToZSk8xKT+we/JLyoUqAlKhRiuLQwHXF9NsVHSOtHmRIqEIRg00TAs9HG/uqm MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: cadcc8c3-5059-44cc-9776-08d4730101dd X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:SN2PR03MB2269; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2269; 3:ZIt+gCNNteEQuRMAzfvr108JiyFg2P5wO82xZ9Hes3y8gQJiQGSNjUyPfnWJS8uM0+XAB1J8ZTSNXPxvHGwihBgxYXRsedFkBlod1L2SS9z+P4BqyDYMNM0mxjRZcpGIY71/+LEoIAXEbhz65O3sOezXye/0kcEY13PMCGv6+Hvp32ErLQgjhcmaWbpHo2l59T4z+3pzNDE7AEANTOzdsMiPY8zSPNdhlgRJeDUMvEoxTrtLAfhtf27C1x3ISDevjy+aBcOoNdTqS9ZhpWjcbvm+qTVjBPRnbzzGpu5qV9EJUu0RrxsB5F0/OdwxKysB19vLD5LR0//jFf4buSMin8ozrVfQe/hVdU5WXugvTGGhPZdv0xYAoT85xf1gixKr; 25:LvGF8xI/mMTlKzQOmasHjmtzoPSgLizuvag5TEFQW3tbMlt/YKEQTgvw1yvMZXRd7FjxulL93f9dhsYe5ae/NnYZyq5XLrRn/BRaekfHal1l1D8PeXnQvRCWpLVr/lsrCvxlc6Hu/GMf/UxKW/APKUuimqLW8GGPNdBLIkHv1zqW1DZiDkyHzKghNQd9c5iS600aJIeG2ASFJcWO7WoCloubaWZ6gtpyML2RM3O+2R6JcP1TPVJQCKMeY70SsJmxb/q4r82R8GcApELSgSZWyMqpQKM73oxvR3yNyFENbSyQjYd8KokIjnCdLn6J1cwxXT5Sr/MzxVdjlDU1WB1cnMh4YwlfoADXYKxjuaAPoTpUwvf96lT4AklMQnvYHLPg9Sm7BXChBCCtO6KrFZCLakwh1NNQCJ4+wPLBSz1PkKE3PGhqsYOZyapzsRBGBLDCj9cd5nBJrwuuMqNlqbDUNA== X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2269; 31:YQUJhWmyHJqgcrUzZcqN4ZJ68vcerD2rrdg654gzlbPsMSYTa33N4Pv9PAzwp1V2BTna9KzHsop4JULR89vfvAMgD9DziV9Z20HzJQ84qAERj3h93w6qlsBTiGQgj5graWMzhMM1bWCa7xcswjeJ4wJEczv6g5Psbh5MI2fzGbypMMXC3Lv7D9txuXDfZ50jdm95w5bIi3UdHaSfRUqHHGgMwJ86t3wfYsBofBdc7lu6ypKIbtCBfVk/VQDOqrk3 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)(8121501046)(13024025)(13015025)(13023025)(13018025)(5005006)(3002001)(10201501046)(6055026)(6096035)(20161123565025)(20161123556025)(20161123563025)(20161123561025)(20161123559025); SRVR:SN2PR03MB2269; BCL:0; PCL:0; RULEID:(400006); SRVR:SN2PR03MB2269; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2269; 4:gndfCnpqCirx/bKJo32WflJ3t66qi/y0AyB4C9q4/pYbKyuy7SCX58XOEt8rZgzbgU1qGHm1u6ArglsS420Xv1Cm7Pix7baV2clAAXT4Ac5MUTRirTxDUo0YiCn0H9tl+BZB4u1y+sR8+EfyylaEh7u8QLMSuMk/CPczu5i7xJsXRWPPkE5oKJq3Pqz7vl9kgCU0wsfwF16AZENcD5gttHP75acKGjwuxTyerLmd8uEXXehB89AAmW8O7tqoJ/GkZKysMr6L3LtxSq9o6Eu1OXnxJYLA4QA58XUSViA/6+V2+c4J+p/oYRSr58ZnL9mhfFijomF3Udydpluw8mqK2SFr8Wo0BKUY00AZjA14jqekUDmq07p9WtyEvOqcYmWnzEGAjkGpc30dByQXizHI3b26MjkQ31VyK6HVv1jdnc2AnABT0TaTi5XnrjU/5rEi1VXWYN21t5B0ssWen0F4j4snRehh9U2n0A8psJfqTlk+l0BYUTbefkHtvietroRLUd+R21zDvyyAUsnbX5rGOlgSLmA77eLWuMLtB6sQMwB+KcQclIc8Rn2h9crEACKow5WySi4uTkHu0Hv/KEkFxoqBqueQ/1SCx4TaVL72G0qrK1Bv/1ulPg04yQxIQCmyO3MfvhoBoJRDWDbwMedHjbsazLFrwPRdptR6vcXxajIiexwTGlpmjfQCf/9vhC2hd8aenNJUdqPAuBdZNOwsGJFfYZT4IT+G3UnKzdiO+X37Bs48+aVHHl5NW/UgVdKJ X-Forefront-PRVS: 0256C18696 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2269; 23:C35/4eTapqwsQ+S9GzdDNGWvVpuelFyC5Y8Z13d9w?= =?us-ascii?Q?p3iKzZwcoW7h2Yq9p+UEZz2oZ5vIRjwrETd9N7pnISqS1aIGfn1k8R3CsLOz?= =?us-ascii?Q?T0jzDz4KCqBwUdUtzcfYSAi6V5rxmG3naRZm2sbkObM2RIJEHq3gPIjOxKfR?= =?us-ascii?Q?tNUj80hjjUuohnGrHHLG+g62kZJOPc80udTrOsShF6uTz2DjctK5/L/hygS0?= =?us-ascii?Q?h/RDDZuP/IRhH/7dvtw+Ql4JIWKF3jV+Jtcl27TD7MJhQHx36KP08Qey3leu?= =?us-ascii?Q?Dc3CgXAwE3FabmY0cGLusmlRHlYYYV/IVBpbeXuCXYl4gjh6vLUyFAvRWB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TdLK1SVlyr926qLNrQU/+6bbZhMolMLmVnwtTPrMykjh91Io8aiFgsF2TJumSo92Yo/75ATy5dATHT3DkudthsCEnWP0C/FN4PtJK7whyoYLA3KVfbmP+8zO9PPW0JilyPXQZBH4slKaHFeTjCKhPuZeqd8c3Ju1ydydJGA/KZzGNo5jVA1z4940W3OikK8jMjRsvAetfsPDtERDw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Mar 2017 21:59:12.7671 (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: SN2PR03MB2269 Subject: [dpdk-dev] [PATCH v6 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: Fri, 24 Mar 2017 21:59:15 -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