From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C81F7A2EDB for ; Tue, 1 Oct 2019 16:14:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 030064C8D; Tue, 1 Oct 2019 16:14:02 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30047.outbound.protection.outlook.com [40.107.3.47]) by dpdk.org (Postfix) with ESMTP id 3766D44C3 for ; Tue, 1 Oct 2019 16:14:02 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HwpLaEECPzKELKfZ2OD+US7dDLaLaG32ctQOSvOKpDa81w1tQgzzbwoAVONEJ665nyc0+PEjCducqK4bUky/QsTxicjcExOU+/Ti69dJtSzRkt75FGU3ClVKo+9BZ9fUd4IWiGkB/h8bqJrtRMv4IfaAGzLh2gu6eScwBi2SK2KUQ+HgR+f4dKlRkxbvjxzvCHlYTCt5/wdjlU5+spPuMllLULUW6vWDInR2rxmcNcD0b+A3+ZQx0L7uXYDXX2Q0EjNFO81zOtC0+ihgF9J5hqCblCekXCRHVmFph2U4NcPxBnueBZ0IL06XUgpWseqHzX0DWcse8wJVDgrBEpgAnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1ub1Dp3draUiDv+piOjwDeOue0y+Kw6UO5yblSW2RYk=; b=EaEK1DWPikDtZAp/rBkO4uNusX44LFwXO3buXQ0S3EioNO7turzW54GTdsCpAy1Uu3foOoDCZVh5MzalnNKRonZdKCM5EjD/FNHLYZrF0TWVVo1UkNlc7aAnnhl0IMD4GzBa5cottXNruAIa4wI0brUt5uNztElHW3/2jquz6+J+NG16xTYyIiMXs/uL+1CvKehqteJurUP57I6JpsO42q9v2ie2NEiJvThXL+7RFr2bzkKeHiyovvD7HGtEJ2a0w8Xh2XL6XqCGZzZ8gfZOcEZ4VpJlZriLNA0gCaOI4ZafD19r6QC3W6eNUhwsrsNy4MF1bzRsNEEIIv5hUvgEqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1ub1Dp3draUiDv+piOjwDeOue0y+Kw6UO5yblSW2RYk=; b=TDZ0SGJzfx/lu8PXu8dHY55VtOrFvW5AuMp/WgSC/az8x8dsygsNsZdQWxqrUZG+GhlkMT/vgOMJL5cUk0EVyCUZCnAq1H4YLnYTomOH6RUupn07AauaI7qqsHSflg3YONn5b0nvgTIUTUceb8/FW3WRTE9qQ977HrDrxGw+4L0= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6543.eurprd04.prod.outlook.com (20.179.235.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.15; Tue, 1 Oct 2019 14:13:58 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::c045:5df2:ba1f:c3ee]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::c045:5df2:ba1f:c3ee%5]) with mapi id 15.20.2305.022; Tue, 1 Oct 2019 14:13:58 +0000 From: Akhil Goyal To: Anoob Joseph , Pablo de Lara , Thomas Monjalon CC: Sunila Sahu , Jerin Jacob , Narayana Prasad , Fiona Trahe , Kanaka Durga Kotamarthy , Shally Verma , "dev@dpdk.org" Thread-Topic: [PATCH 5/6] app/test: register octeontx2 PMD to asym testsuite Thread-Index: AQHVZyMZt/S0Q/gAzkOlesck3ZqO4KdF9ktQ Date: Tue, 1 Oct 2019 14:13:58 +0000 Message-ID: References: <1568042799-25982-1-git-send-email-anoobj@marvell.com> <1568042799-25982-6-git-send-email-anoobj@marvell.com> In-Reply-To: <1568042799-25982-6-git-send-email-anoobj@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5bb7e7af-072e-4191-dba7-08d746799a30 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: VE1PR04MB6543: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0177904E6B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(346002)(376002)(366004)(39860400002)(396003)(189003)(199004)(6506007)(9686003)(229853002)(186003)(102836004)(55016002)(14444005)(305945005)(66066001)(8936002)(8676002)(99286004)(81166006)(81156014)(6436002)(26005)(7696005)(6246003)(110136005)(54906003)(316002)(256004)(2906002)(7416002)(86362001)(71190400001)(71200400001)(5660300002)(33656002)(52536014)(66556008)(66476007)(74316002)(6116002)(3846002)(7736002)(66446008)(64756008)(66946007)(4326008)(14454004)(76176011)(478600001)(486006)(476003)(25786009)(76116006)(44832011)(446003)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6543; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: b5yO/F5wRZhlbQPuaWWXSz/PEf0BpNlLJCgZMcbQ3gbmqgq/bQe7mASE6ioC+CYoHxtdjBdu8up7Lz8LAj1PnL52Ac2WQpaPUU94vmDYbcrvRUUIcQ4uOptUB2rBhJFDkhH69Jy5nDNmDa/DmaGPn/qwKlSkkUeYuWreAjxeBADb5spDqYSlqFpIwp0mFFpRefXg/l/PWmzW9x/XtcJLSBrAd/Lbe80qreyoJPdpJYLlerRx/GwQiG8AlypT9oawTb+773oX0HEyePV3EYPyzWJJ+LeVB1fOw1ED4XvpoH9fS6YHO+8axSwJNb+16Ct7VUvhpbrPL6Z56uUhI2boM9hj7aC/ztS7v+oWkQ/LfULykD1Rxzn4NJ64nteGtnZTVLjvg6x2i5ptHTMts7MdC7xPW/tgbxYOmotXo5PfvSs= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bb7e7af-072e-4191-dba7-08d746799a30 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Oct 2019 14:13:58.6855 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: KoDnC59FJzvjpa3iChLXa4pIXaTl8MrU60GRPwHU352dLbcLSzCGgkxNqCYN0PWsNLKOZeG1QM0jzGviQE3M/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6543 Subject: Re: [dpdk-dev] [PATCH 5/6] app/test: register octeontx2 PMD to asym testsuite 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >=20 > From: Sunila Sahu >=20 > This patch updates asymmetric crypto unit-test application to > validate asymmetric crypto operation supported by octeontx2 PMD. >=20 > Signed-off-by: Anoob Joseph > Signed-off-by: Kanaka Durga Kotamarthy > Signed-off-by: Sunila Sahu > --- > app/test/test_cryptodev_asym.c | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) >=20 > diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asy= m.c > index 241c384..edbd34e 100644 > --- a/app/test/test_cryptodev_asym.c > +++ b/app/test/test_cryptodev_asym.c > @@ -1851,6 +1851,21 @@ test_cryptodev_octeontx_asym(void) > return unit_test_suite_runner(&cryptodev_octeontx_asym_testsuite); > } >=20 > +static int > +test_cryptodev_octeontx2_asym(void) > +{ > + gbl_driver_id =3D rte_cryptodev_driver_id_get( > + RTE_STR(CRYPTODEV_NAME_OCTEONTX2_PMD)); > + if (gbl_driver_id =3D=3D -1) { > + RTE_LOG(ERR, USER1, "OCTEONTX2 PMD must be loaded. > Check if " > + > "CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO is " > + "enabled in config file to run this " > + "testsuite.\n"); > + return TEST_FAILED; > + } > + return unit_test_suite_runner(&cryptodev_octeontx_asym_testsuite); > +} > + > REGISTER_TEST_COMMAND(cryptodev_openssl_asym_autotest, > test_cryptodev_openssl_asym); >=20 > @@ -1858,3 +1873,6 @@ > REGISTER_TEST_COMMAND(cryptodev_qat_asym_autotest, > test_cryptodev_qat_asym); >=20 > REGISTER_TEST_COMMAND(cryptodev_octeontx_asym_autotest, > test_cryptodev_octeontx_asym); It looks a typo but it is intentional. Better to add a comment here and in = the description That you are reusing the octeontx test suite. > + > +REGISTER_TEST_COMMAND(cryptodev_octeontx2_asym_autotest, > + test_cryptodev_octeontx2_asym); > -- > 2.7.4