From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0049.outbound.protection.outlook.com [104.47.41.49]) by dpdk.org (Postfix) with ESMTP id 65E4DF8C0 for ; Fri, 3 Mar 2017 15:24:26 +0100 (CET) Received: from BN3PR03CA0094.namprd03.prod.outlook.com (10.174.66.12) by BN1PR0301MB0724.namprd03.prod.outlook.com (10.160.78.143) 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:24:25 +0000 Received: from BL2FFO11FD015.protection.gbl (2a01:111:f400:7c09::167) by BN3PR03CA0094.outlook.office365.com (2603:10b6:400:4::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.12 via Frontend Transport; Fri, 3 Mar 2017 14:24:25 +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 BL2FFO11FD015.mail.protection.outlook.com (10.173.160.223) 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:24:24 +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 v23ENi6e000351; Fri, 3 Mar 2017 07:24:21 -0700 From: Akhil Goyal To: CC: , , , , , , Akhil Goyal Date: Sat, 4 Mar 2017 01:19:34 +0530 Message-ID: <20170303194935.30831-12-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170303194935.30831-1-akhil.goyal@nxp.com> References: <20170303193648.30665-1-akhil.goyal@nxp.com> <20170303194935.30831-1-akhil.goyal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131330246647168675; (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)(39850400002)(39840400002)(39380400002)(39400400002)(39410400002)(39450400003)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(47776003)(85426001)(54906002)(6916009)(189998001)(5003940100001)(626004)(48376002)(2950100002)(5660300001)(305945005)(50466002)(8656002)(8676002)(356003)(77096006)(6666003)(104016004)(53936002)(4326008)(105606002)(106466001)(38730400002)(110136004)(36756003)(81166006)(33646002)(1076002)(2906002)(76176999)(2351001)(50226002)(50986999)(92566002)(86362001)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0301MB0724; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD015; 1:rfT2CQcUqGaNl65CglO5ulo9TzwdR/tGTcANipph8HrarRvLccUdfjB6iIcpLmqBH8ZacDiSn33QR+IihPGsHZ2pltSgtkyI658zlJCrwDQIhAgC1Fw+n7KjAdMBbjtrCFZmg4fx6WR3XpqBCKEWsBTkBKM0rWpWAeGEfe07aL7dRKt8xCXusDyX7vKHGiZNeVRkmFuqmr12HXz3IPAsXyg4RfjRgSJ/ZpS2nlz4GZxpq7JSUVyzy2huzF3Qao+24y5OZvi6rX250bkFxWaMbEyh1y+bzI2iPIJGcLdPgQmGz9rOCjfSDJZCoVazWiezROt0Lye64LCR62HyieciwDO2QUPWmFEGji4o/U3tOiQNb1V07nC4zV5TRJ+0mRdNYlSI7Bdb8lmiiek+0SRWMR/sRv5iiG2W9znYZhVXfZlB/vB7E+dyZG5+UrlUKkvwjBxHCvIcP2a0ox20UaoVlRBzVykN+yPtnQhJbxBLlhyYOFyQkCi8bkcgKuScxaJNM4Eo8vk4LtSD8akRKPzOYRx6sV4Hc18/FgsDfbqwq4yVOaIe+VGi38iefHo7YHyElZulnUI4tqWGrPsqq0u13TOx0dbhM3iPmfBlEZSL59Tg44xKO87rRL/uasc02EfPgYGwybZbyz4fxJD5FcD6JNIjl6oOy0l6+SrAYuScTltCtHpg4rvTnxeWXW1cKG3bVoPkOqvG+YECI3KV7j6bjKkZJcXChJfhjVImj8Qfg3BfFBX1/kCMjoIektH4DAXK MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 9af202b6-efba-4432-3ea3-08d46240fe22 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN1PR0301MB0724; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0724; 3:ynOFuYBL/M7cgZ+0a8+cOyru0Hwah9beVOcZVaSPGBYakVI8A0Y1Wjbs0NLbZpXgqPXsD5OV3y/UIdpfzLor01UePlHnZ/12G0ADITIQr7EUWarkMt6Q0FghO1k558yBBNTBEF+MJlMeUwPZ8Kwrp3aIEPhpzAcMxuvHhVcnLq3v9lMnlHj9wdh7MJdJ2Izbd4qPHdbfAGYHG2FLFHvKTLCToGaAruMv2tHM9mP5dyu1wRj73UE+/4hgx5nJKRcVHwExdGI+LYczGOS7+zjoPRAR8IszCrNMW94zzhEVBh87rJxGsxWmgNr7uk/TmD8lhplff1rxMg3OjM8qRv4VTByMkjFf3UPl2oxfgk3UwC7VlQhKSzGHDNzZ/h9djlRb; 25:BvluaScrUxTIeUHn6DH9O6C0yhGOyUd9TjMFl8ISxTkbHSrgMDnSsBSfEHnGLPVRz8gCBDkHLc8CWDil8tcmf6LIB7Qt6PAPSxiZ6xi/mgUDBw5ZY6A8x1sbDApobHGX/YYThcZ/64Ensnjec56rsTvYvIKeQsLQv8ygpGhBQa/8m+Ub6Zo6QLGftbOXrl1MZToCjEtY87x2W3Imvw2ise59n8+zbf/N7RkaZ1Vf8qqMaZSkv25Iyaubzg6IgxcLOjHdJDMrAxb4O29eMG7vFno8BTZO/PmwHFiNMq2Cg90sg1olYE3pnCa9NEdaxqimDtqWgLJpbfmQwYCvL0afv4nPk4yS3lRz+FQMjHYJVUtSAdEMEr8Cq22U95bMRMB7gcXyESPn71JjRt2DpKQrBCTtOqFBj2kKfZC9/Krfsknkb6VaUWcgkBR0TGo3pUggcL6rtS3q0BHqviCpHaFFBQ== X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0724; 31:9sUcN5JWkX6u08gZW6xf6YiqadPgmy5RR8yFjJumsUa5ge5A0qYoIvfyuTc32NtRdhk6oqtANhgQkp3D03+rHpDnnnoOKIGZ9rDvjr6zlqs91vUW1x9Xbdm59x7lMxdIE3olgSo7wFjjhTUXq8hcjfEI4ijhqKlcU3RQIQ2VMOYt/Pu8sr0CRkbE1Y0jWVgj0osz+fKlmUTqpmg5VT4McQAg72hwdDehtHVroYHR9pJD/gFmgbDuB+2Q96+Q8VGeMDwawBZ8SzQolPTr0ZYYBw== 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)(13015025)(13023025)(13024025)(13018025)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6096035)(20161123559025)(20161123563025)(20161123561025)(20161123556025)(20161123565025); SRVR:BN1PR0301MB0724; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR0301MB0724; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0724; 4:VpbyQ6G5nfSpZXv2tUaJjpBFUrzxiWyNHy4wBASl2RVuR8phLhDS54NVQSzGHaaCcRyuO4HwEUn2pFtP7zOm4wYwShmvSS7QzOQeEi7l0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syhUNgbj6LHoYTKak2WlRYQuNxnX1CWfa4GZafqEnPl?= =?us-ascii?Q?fTzfvhdTbLa28pD4HFl2g431bVcw361+td02dyKP4jT21T556ON7ekqJOQuF?= =?us-ascii?Q?/C4otMjl5ZUCOD2+jk3gyHvZgI0Df8nD1SWKFbEfxotGkBxOulZLg1R3d1Kw?= =?us-ascii?Q?QqQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0724; 6:LuG6wF96y6fRdcHRqOY6ojFlrnrt5G+R7pitcDkJHZEcpJ1DoNfSP0YJq7OARWOSVd8Bm7FBks/iGe26+GEo6g+GT2qqlNWCpKz8Mtx+tnrQJuCHdaA65ZqBJWySjeZ9aUk+UeTf3VsMICr6yBpQb5qSB6zZV6nMz8HS3/wvlu6PBOpEJ4Kb4O2k6gq/0ibeFMbBIVcg4+sZNziegRJei9+49JVWROhAnL01uSKP+79ntQqvbXpzuQKsOnxp1VFkrzExPTUyCffk2RJ4j7fs28NlLLvVmV6xf8AmQhclJFZgkw6yWnpx458xem2iaCar3F2ZtT6ONsvP6zmfRtSACxC77ts/Lsn9mjep8aqJ0034OQa9BKUKiMJKfEUPvq9H/C3gVJcOjSXWTTDUuRx+/APSV6kS3UQGYzr5OpY7ACk=; 5:sh1GGjnId6mBbEIV2pT8oOy2GkoCbCsUkjtZ52ibYd6ei692RQpNIRdn8ZqUdM1LLsTbIvz6n1Gi7AipnNkOqlOiG9aFvBcSY6iaDHLPzfq4+6H4BQMhNYckfzks7fKAS3Mds1OHsk0hO/SBoLOBMWkD7/BNW/QLKtd3OY4TOn7KtZvVgBQ1WtxX4RvEqo1n; 24:7vryrvXALteodKKlfycXeJq2sZ7muyVSZWqr8T53QWxG8WmJMm35M2ar4l7wPuP/4oVJ9n6TiM2YEuLaS6jeceqDVEwy3OV8RJFJDImmtBc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0724; 7:bPAhya+91e6rFyDe7VbzBEba0YjB3JK44dYje3aoC5MEnEq5UjMuOQpePgsBf+baF/VBqvDLn5rBHXtEvPrk9KTWRCqtxjY9fjx62KYUtHJLqKjepVC71+bwQI5WLJP49ps8vo19Xmh4yoPYZYhaca2Vl0NHxoXnv5k0CIDHLg0kXtG3QK495DzLMltlDtEuAAr0MFhpJECx0fIewVnkLnDrS78+f1UgP9oEaenj1e+nTwyWCj8tfjK6ylSJlNwlbCg8pcFTG9agvhcGo16BtZ+D2C9eYxIwCBEmAnEm+cVGONWkOfOWZK3aEFjeTV9bFALqpYKtZ8wF0Ni8SIf1+A== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2017 14:24:24.5452 (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: BN1PR0301MB0724 Subject: [dpdk-dev] [PATCH v5 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:24:27 -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