From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0078.outbound.protection.outlook.com [104.47.40.78]) by dpdk.org (Postfix) with ESMTP id BB8FB2B9B for ; Fri, 20 Jan 2017 09:39:57 +0100 (CET) Received: from BN6PR03CA0036.namprd03.prod.outlook.com (10.175.124.22) by BY2PR0301MB0742.namprd03.prod.outlook.com (10.160.63.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Fri, 20 Jan 2017 08:39:56 +0000 Received: from BN1AFFO11FD024.protection.gbl (2a01:111:f400:7c10::155) by BN6PR03CA0036.outlook.office365.com (2603:10b6:404:10c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13 via Frontend Transport; Fri, 20 Jan 2017 08:39:55 +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;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.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 BN1AFFO11FD024.mail.protection.outlook.com (10.58.52.84) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.803.8 via Frontend Transport; Fri, 20 Jan 2017 08:39:54 +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 v0K8dNVG021447; Fri, 20 Jan 2017 01:39:52 -0700 From: To: CC: , , , , , Akhil Goyal Date: Fri, 20 Jan 2017 19:35:08 +0530 Message-ID: <20170120140509.4495-10-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170120140509.4495-1-akhil.goyal@nxp.com> References: <20161222201700.20020-1-akhil.goyal@nxp.com> <20170120140509.4495-1-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131293751951689192; (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)(39410400002)(39840400002)(39380400002)(39860400002)(39450400003)(39400400002)(39850400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(48376002)(2351001)(106466001)(105606002)(1076002)(86152003)(54906002)(68736007)(76176999)(50986999)(4326007)(2876002)(2906002)(189998001)(97736004)(38730400001)(8656002)(86362001)(33646002)(36756003)(626004)(77096006)(8936002)(5660300001)(5003940100001)(356003)(53936002)(92566002)(305945005)(104016004)(81156014)(81166006)(85426001)(8676002)(50226002)(47776003)(2950100002)(110136003)(50466002)(6916009)(6666003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0742; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD024; 1:VuvyZCww8wHy9y5IpY8H2lYR0IKupVTTXt4RDnVf+/myEfKYR9xoXnGy/G/4lh1bygWXOPbLtzicmFguujB4oa1eGtbpdYSTkFLa9Imk2BWvOQPCRobrHjkXGW+gY9s9qpaQDeTqO//bhNUq2IFozGYObSLLA8BIw5gLCbQt3escGRBO2akUHu6OXfvR3MpCUQjVNIqY9AZYPAScZom0tTWHvUXr9p5NSmWYh/ddGDjhAhE/BCqrnnB7BaABrZ1EDTGmLq3JCeQf61Y7+AxK/J0xCB4FGqeJXtiHuEseJZISbnwWEeNpT+DCrUNFfjknRsik2IP8s9ks67wb5hOGunVzqNiajIc/KiqOlx92SwvLQPANqOTUZmEkm5pQfOl7T2CX6uXLwiyC+9CVhWHPBhhBFDerqPSEbIacSs2Dv1r9fPIOT46hgTrpVFkTuzNJhVlYDW0DBS+0WXtMm9g4GA05+CFPKFfAZ10N0/UFV/LH9WtgUiPFbAZnIpAP4N7hBgX08sHo4h8xx9FHkX+PIf/5ifvOOWaJF/VccOXUchTTnVg2LJXn55Qm5fuugNsOhhv60z06AVbaZTgPhTOaGKGKt+QozuXH01KxTOl5JRtGYHBBPXwQOsMagJzTKxXvJuZ6fku+y+Il5CsteUb3+QiYeFmRFKo4WnHkgDohgWALIGMW5jzIPCXM1V98txJhcMg6cdMTd8bswzlnq93/U4CowTJEuAN8lDPHMWVW8KPQuk+qgh9wLu7iGGMNMAYX MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: b43e6958-4491-48dd-5c5d-08d4410fe8b5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY2PR0301MB0742; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0742; 3:qUH4SrCmbaOTA4TdjVKupkAZkvU/MYZ4Uj2cxKxmJXcrx7gZSf+m1GnFuLI1nuCspVP/+gVo22Xy1p/naKpqpyf8/UpwDW0n94IqgV0gZY+HSknxnc48MVRN4imtCOgTMPA6dEs3cLFSw2MHmjKYpfwZSfzsBQZwmF7/76QPhIezOPIpWGeZ14PtfkwzogD+on4+28JKmnpxahIyiVw4hXTO5DucheTXVR4rH7/BuasNgAht2N6+6b8OcFzfnZLx9+sgijkqNWDyJpAB6gyhDuYLfxcCPvTd3tyNLj6xAVIncDA9p0Zv0POcO8tN2LNQFm+mWX2uE8XodITS6jUNfKsxEv8PoSUp+f/3qmZ3b0KEoO05y0X4WgVFNtmdUMYs X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0742; 25:qzIujxXfH2HGwG018CyZ8oRVA7ddUYMysTDdsW9O+lu19x8S2SzR4e9LfOjYYdOpEaL3044BgAN73DwsYMnYAnHFS7tOG0ESWUHW6DMPmWIE143hjgZu4a42ETwpj3y1PB6iuySrNeUbyp6wQRTq3wrYNsGXrh6znYChA4/EnvKFv2/yg/kkPTbUEpuy2Mxad0Nfr4rWhY+q4+r8EED5KO7FL6ciKxsn1o7r05IgwVr3fnWIREA+vpWdpl5VIGeR+8EVo1AwimZSOGAR57UdjoIVo+B1aI0Lz0jDxA2dV/Haybe4+OKb6KJE5L8c+2XJNLPh9J/QS8sENarZ6vVHwgvRjLjN6dYJAt+mmOwNVyMLczO1CDw5mLEhn8kTOCrktsRQWlIdHDWueZdrjwq+K1bvhe3cMYjJfo4AtWYzf1DF1A+vZindx5/Mpcqi10n1+EtbaAZrQujbZVc5+kh3ZxpjKlpU3wPwTClbNk3axAM9i9mRMgZYN8v1rf8eB6XzD1IioMKiA5ODLWjAuUXGr1lMUlWq3HshX8korPQLH6gNjRsSA2F7s6xTAh94Q4jk9fBNuC87TsiL5jHtufwzhXxqRrjY/o+0pKLHoiYFHIbw2i+wrt9iPqaaaSVLou7VnHditJaANWjTXIuPy7gI9D6ffFiu0lA0FskWAjQFwUQRXj3p6BcDOX4+Q+14eMl8CcLgNxhkigjfcZG5+BRUK/St4vQlYmulUJa+Ix1WPU6damDuGypOefgv/AR0RDr0 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0742; 31:tdq9aH8PLUUMf+3LhEdUQxfxzUrW/CFXfouYbOWbLM2mSXCr77gyC0+jxAAjfgpg17F0RW+kz0hapEVUKTiUIIfaXb1hyWH+zCJtMVbAb2o9eWwW2p2DOuqyLfbxE3KxQBeOecfdzH0t9nhbS8lKAcn31r+96dEawXMF9Yhk8q5j/6tlFvKVxPQSMQ+9hh6mO6ZRqarMNnStd5NwJwcu4bCS3MVtu7mhvf2c82BVcAccka0irWqb/Eoj83EkssvJPr/qFU06azxchL6p0JmR5w== 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)(5005006)(8121501046)(13017025)(13024025)(13023025)(13015025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123559025)(20161123565025)(20161123563025)(20161123556025)(20161123561025); SRVR:BY2PR0301MB0742; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB0742; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0742; 4:Wc9xOIU0RufsC9ScYBVkaN18Lgc0WB5G/Yx0+5K5DGs5ecF1qqMsTRZAuvXQhbNu/RXEMxgZIrjUpAg4+t9ualvAIDpuo0cVKvIXqnwt3NxQN7jDioY4Kfp4uTg1ki0gNv6Nhflr1g4MbUyWCzTG6hv79wfbAY78o6R9swuJ/io5fvu+/PMcLNxIlSbVwCV2b81GveQPts941UAbCfA6PMRBTJn5pYC0VUKf3r0MKcs6OUPsqttbEnM6hCiC4RiUBm2+IVMY5Yk6Tlj3s8fLgnMWCbnWEZl1UyrmnmMcAF8arscRWR+HRR3S0zP7A61bLflrPA2QqQW4tlKpiz5MG/nl1pwjmhwVEjTZwPbnPAKL/uLhehPyjV88xWYl4B6toYLNBYmd9JXEZTpqn5TViPIH7flulZxzfEmFbC/1LInwZmR1LYqNdsPr+bZNqBmDH/7HB7IVFsUQXM75dwSbaG47Zs/1vPT3AzNYCZ79L3Z4cqVTxKPDMraFIm+h+xqu4yHwRwuoVqcIikXNs1djEHpkvnObtyDGuPFN/ZyHMd56kNdqd4iHzZb38HNwx2FoyowuhH/bs/m7prJq+27C31+R+VFsypQDhPpBTaFwu/tQpryasxAts1d3QjFUQmycO+k8/KAu/9TMFBLvV28b6DUCwWym2Dl8vgBmJsvQS89N6ldsQaKsh24mRuM+MYUixIWpWP6fjf7hTb05bpFp4JHxBkNVGzDxr/KR78P9Hs3KrUL39CXCAN8aIkvyEfH/ X-Forefront-PRVS: 01930B2BA8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB0742; 23:oBn+f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?= =?us-ascii?Q?qB81k2B9nNXd1gTA4sOxBHnhVYhGrjOMrV2m5XFLw10Oo7HANizfPQ1C1YdV?= =?us-ascii?Q?E/eJnUnX8H3WI591qpschkdj7j125uWcu3cePMB0wPPLH3QzaQr9N8JHVdvf?= =?us-ascii?Q?Yzr42Osl9DEdFNH2zAYfHec3pADjk1SZc6vqdixQVviDVnO1RKIkC93GCR6W?= =?us-ascii?Q?pJlE2h0/31cToFsGx699dlxwZP2QARBYHLayL/gWlsH300gvDQSrcrQzDeC3?= =?us-ascii?Q?bFcp7W9uB/jn/tGoR373lG37v46xsV/eLr1KB/SpBRxiAwtUADsozVjH7ZpE?= =?us-ascii?Q?+J6LoScb81ji2QWkJlRLAezOwjMuzafVDNOe7V7tGb5ghBcvTnOCOibtNwyc?= =?us-ascii?Q?m230ndwhSeG/ptjPRANstq/FI1ib+NbE7EVbCcmCBvQBJltEl+H56GMTtNaR?= =?us-ascii?Q?Ha4i3Ll+lwhvzXdWgV6ZVs+N8Qp6tzvX6zaRJVP4Qgs9uS7YuuJlV0XfxdPI?= =?us-ascii?Q?S1UwZcRjKHHWOzKT52tdO0G5wBMM=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0742; 6:QXFXIOYDD9MJp6u/47hR0w1b4RU35+woLw/prDFlF+4flmDBzDQqOcnpRCN6T+S2SPf+T1590GuUapy7zHTMahNuAys/Isve1DvZ21pm8k7BhU2/3Lh472CwGhhJqo16i/YtJZXpS89NHmSFUqqTrKgUHtg97XaeiZQg2KgZvQt0NyCo9M3JPEaP1bLgsn/Y1P6QFMF5juMQlPqjr6gK4zxjCDNOs3do2qLgR9QZwGp0V2ZikCzPY7QQhQB98YwfFLTSbSVTvIPZWuQ9wQQF+7guIyrXMABtOf+Z+Wtw3izjcY74Xj0Z3GnbMASw4xUOOE0UwyAAGwbHVet41h29V5iOGP+PCTL0xqy4nr4ziG6xm4P99olbG/iEH0LByeJb3KMupvHDuwK2BudnBdRX6SnjcKqEKITQvsRtTKJ5FltZ/hYc/slshAUgSbglP7gP; 5:/s/OCWXes4+y9Of6TEagBYYdOPmKGysmgSflI5lamfY627rEACVSKaDT7CGtoSldPoRJ4nlxJb+MEV4MAytGEoV0OirIyApHHB/79CbDuks2dfU4Sd3gyexV50g0GJeVXAaPDKXp0RA7nOq5rexYxY7rr8EW9Apt57DR/5JcqD86pDVuLotOiiw+0u1QBK7z; 24:ijcMgYie0JLCefHnuCuXeO2IDBWpS31uEeK55+dvswl3z6j2K+xwR/5udrLoffa5azT6rCkpDx1Iv2f/QyXqWiuarxTqWe7jrpSwjaTkPzA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0742; 7:GK/LZrdBkM6U6dXToNreszRFFh4lpC/19LkMXkGQTgj6nBJPjWM2vXHKPa1R9oIB64fPF7hdMDbmpDAMSRKNuaqm6HRm3gmeJJT43cxSxhgJ0rqbuK6FmtWDbA5686nSB0Uc2YVsrIDQ54+yGlf+ZX6CA4R3KhCkxc6PVXbbW+4B1j36iw7YSTgqJTX7hLlZQnZrasaXmTetg+OVCcmtZdvvYNn5VZBVs6CDfJayr1MqLkRfHz4Hn3SF7aXQ9sgu6RtJ70QhjVtMnZ9F1FuxaOTEEcoEnE4bojBNpJaQwMmFUVb/my20sRTiiufb0pGxJ/Dss6JM2p3gUXl9Lo6yExkL0TyxSXoLeZa2FaaMaqZXTnWy8yIo9d7JpR2tvDTlStRq4up/lHBFySq9LBhltYuCYXr159jzn7I8CytvpUQ+x+pUZoLEkmXy/o4ZubpNe6envXSDCU/zjGApOlDYvw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2017 08:39:54.8725 (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: BY2PR0301MB0742 Subject: [dpdk-dev] [PATCH v3 09/10] 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, 20 Jan 2017 08:39:58 -0000 From: Akhil Goyal 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