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 F0EFBA2EDB for ; Wed, 2 Oct 2019 12:52:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 390831BEB2; Wed, 2 Oct 2019 12:52:26 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id D8D4B1BEAA for ; Wed, 2 Oct 2019 12:52:24 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x92AoSS3022469; Wed, 2 Oct 2019 03:52:24 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=50ubFTL6m2+An0u1p/EKqdmJ2akTKXuvoVbfeqAOrrQ=; b=MGHrziTUqhUQ6NsJcoh1QrDxK8l6p7DrjJMtCXhMhaJzKFgSngNZr/F8mVhGxDSyfEM+ CtcWwiuOguyPTUkLfO7/E2Pi6qbV0WpwUI10cm74eDmRYB5elbWkORtWwxSCi9DU3pJM ck1coLXWI5lNuMDd4FpjNrgP6ok5+pWIcfqMPUF8rtS7GQoQg9uDXJBxnb99708dIbdm T34yyrSJDvEsRaHrB0O5fFtHgrTDYsR8UVgpZSm+C7f/6CFcPFaDwFIxkF05Fzot68OJ Rubwnbbph9dLDsubuIuzD+OIiXuTJrlLRTeAs9L/Du5bDAx9eIuzMpnWcATxbFHYdoUI 4Q== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2vcjbn1hy0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 02 Oct 2019 03:52:23 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 2 Oct 2019 03:52:22 -0700 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (104.47.32.59) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 2 Oct 2019 03:52:22 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M+7Z6YkMjBUtzzJd+0foDAwRCWS7kNx1P2/pye3qgQZMOLfaRBEN6Lbua5ZVjse+EqSkpUsQ4nZsTkktHsh5jtlPE0RRb/AsdsGnR/3wKVktNti7QbGHtyKdw9c7Kkq9rKBToVk20hO/Qe8WAI6k2pAAj3sS/0TFkkkgPrTcoDNLaN9gvd9MmDeaMTZo4Q5km6fHJIQmgX5wE7OBozcbgNGxs42cTJ7h9HIe6fWJvkv/t0A0DgQfWy2b8eHrievK1E+DI/+1wWOGtcA+sFbqxmT1UyETLeZi5J4IL9jjtwkCvKUsUrjVYVYkqq/UibuYIw/CL4Oe9nJDGC0OWgxNIQ== 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=50ubFTL6m2+An0u1p/EKqdmJ2akTKXuvoVbfeqAOrrQ=; b=F5imEZr6zVHnebT68pcrnH+xl2HzUFBqchPj9CU603CgTDB1A3j5DYxmqIauUemWeyhyz0rNnWSQ4P20URdnC8LEWzBTwzehw65fWx58UDF1Ru0inl/ackbsa+qCu8cnH/0wz0WBhNQ5rRjlCY0L3CDHlwDtTEiQHIcrIVpY1+rKxF3SLBR2/B+j+BR4wLA6jo5Si/WtfCX18p+ZCZw4BWsWxVHxe84PetNvy92moPHO3NfOCS1/PtmMozGNwhANr8hTTgdVUzrwU64rKfjYdftJypZKG8ogEOMrWayxvD+xLttDMoAl4xcmlkJZpeVifqtaIOUV6GO+ZlQZsg2qkg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=50ubFTL6m2+An0u1p/EKqdmJ2akTKXuvoVbfeqAOrrQ=; b=dH4sh/ekQC06pizBrotaizrg56rpWBK+HLMAfI6OhXjLcn6mdbKddwSW2u89KuWKmESxUURxk8tWu5YGXFtfehFcBohmipuUzvbrwBOS8d9kNob1UXDh+xNJ8vUoToNtNAg7jC0WkPcWkY2hGq7tE9zt4KfpK/hMTyFWbZvQu8w= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (20.179.20.218) by MN2PR18MB2576.namprd18.prod.outlook.com (20.179.83.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.16; Wed, 2 Oct 2019 10:52:21 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::6d15:3367:4c9:5385]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::6d15:3367:4c9:5385%7]) with mapi id 15.20.2305.023; Wed, 2 Oct 2019 10:52:21 +0000 From: Anoob Joseph To: Akhil Goyal , Pablo de Lara , Thomas Monjalon CC: Sunila Sahu , Jerin Jacob Kollanukkaran , Narayana Prasad Raju Athreya , Fiona Trahe , Kanaka Durga Kotamarthy , Shally Verma , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 5/6] app/test: register octeontx2 PMD to asym testsuite Thread-Index: AQHVeGJ9xt29JDunDkChHD1WgQX4bKdHLREw Date: Wed, 2 Oct 2019 10:52:21 +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: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.175.98.131] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8f5dd060-f447-46e8-4d69-08d7472699e9 x-ms-traffictypediagnostic: MN2PR18MB2576: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0178184651 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(39850400004)(136003)(376002)(396003)(346002)(199004)(189003)(13464003)(4326008)(52536014)(25786009)(99286004)(86362001)(66066001)(55016002)(305945005)(76176011)(7696005)(8936002)(7736002)(6246003)(5660300002)(74316002)(81166006)(81156014)(6436002)(14444005)(256004)(54906003)(316002)(53546011)(478600001)(110136005)(14454004)(9686003)(229853002)(11346002)(102836004)(486006)(2906002)(71200400001)(71190400001)(446003)(33656002)(6506007)(76116006)(66556008)(64756008)(66476007)(3846002)(66946007)(26005)(66446008)(6116002)(186003)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2576; H:MN2PR18MB2877.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xBCqtraOy9jKYI5HfdMTU6Y6EpeKKe+6ZSuQ9C26CTb+bMtRd/ukyzEoFVqOInwV8BzrDuiBOb4GYUr9zw8vruA9TqxVvfkI1iz5X8Vj7pGUA6/jLxaZRpeLiOp15Iy9XfFO4LpCkdCVf36fdiP3ywhOHVRZGrE5k8kLsuilNHgpx/dyT+GJ8QxH/6+PjhUFpILC6T43IRCEOKH3c5LL6RQUyvk3my19WqgjJgNxZ2Mw4iSiuAcKQ9SA5eydpJJS47ZrV1mw5AcktVTX389AvVrnw7AcZuvojDuAUOr7knQm/A9aJDeyDBplOzAajHzJhT6eC9zL0dgP5Y6wYRwsgaaCgc6DEtXQBBGfYyRnFzoPanGsvJDJp5Utj3oUa8TY5nAsTEvDNm+4Sfp1G68cQ4S1Cg8C8vYf2PyJedOgX9g= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 8f5dd060-f447-46e8-4d69-08d7472699e9 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2019 10:52:21.0938 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: kSxSqfTobofU7aFSnhzB1aOrnMJGXcrCm78h3hhb+3qRFj3L8S6oBGiQ53IoAwffS3zakPv2F53mByo2MeaYgw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB2576 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-02_06:2019-10-01,2019-10-02 signatures=0 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" Hi Akhil, Please see inline. Thanks, Anoob > -----Original Message----- > From: dev On Behalf Of Akhil Goyal > Sent: Tuesday, October 1, 2019 7:44 PM > To: Anoob Joseph ; Pablo de Lara > ; Thomas Monjalon > Cc: Sunila Sahu ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Raju Athreya > ; Fiona Trahe ; Kanaka Durga > Kotamarthy ; Shally Verma > ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 5/6] app/test: register octeontx2 PMD to a= sym > testsuite >=20 > > > > From: Sunila Sahu > > > > This patch updates asymmetric crypto unit-test application to validate > > asymmetric crypto operation supported by octeontx2 PMD. > > > > 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(+) > > > > diff --git a/app/test/test_cryptodev_asym.c > > b/app/test/test_cryptodev_asym.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); > > } > > > > +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); > > > > @@ -1858,3 +1873,6 @@ > > REGISTER_TEST_COMMAND(cryptodev_qat_asym_autotest, > > test_cryptodev_qat_asym); > > > > REGISTER_TEST_COMMAND(cryptodev_octeontx_asym_autotest, > > test_cryptodev_octeontx_asym); >=20 > It looks a typo but it is intentional. Better to add a comment here and i= n the > description That you are reusing the octeontx test suite. [Anoob] Will make this change in v2. =20 >=20 > > + > > +REGISTER_TEST_COMMAND(cryptodev_octeontx2_asym_autotest, > > + test_cryptodev_octeontx2_asym); > > -- > > 2.7.4