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 A73FDA052E; Mon, 3 Feb 2020 14:25:27 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7E3CD1BFB4; Mon, 3 Feb 2020 14:25:27 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2068.outbound.protection.outlook.com [40.107.20.68]) by dpdk.org (Postfix) with ESMTP id D70A91BFB1 for ; Mon, 3 Feb 2020 14:25:25 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PlUcxYrMKdcF5mnYT3MnOLrPNbiF66sNk5AJgiDa8zvID/NRztOgdXFnajTunFd8v/l3up3S22RBJsEGtfqSQU+IPycebjPC8+c16FYAxVSDb7MYGRFjMZGG9jcSUeBl7llEZ8UWEa/gTVtYtT1YGaQLkifsFtvuQ05UGSRESuVL1jyVItGxBaFJVH0aq1LnKCl8vBhUhZyVDXjB0GbMw9+YIgGJZlGmzEUoWivUgqGneJvSztNfabHDsJ2UJldjMAiHfiZ5Ozmvpn9U5MjnaWbAZWEN/hMynenopg8ByTb5vvkEzqXib6Z7h3QrEIwpNDouSvMPW6G6AEP187BMKA== 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=uOhO6OnTSt3sPQZNUlLst4yBCRP1G41aekWI2sLlndM=; b=U7NiHlLTSaCyjP0GDMKVguK46OVXs26DRN9winhYkuNZTz7lyZFCNYBtKfEQvBDSbGW6WlkstOWM1FMvUS5foWgMm5R8ppssf+nJywEyG4nzJw24dec+O7GG/PuZHZrxsthRWQGuKEWb4pNyPZ7qAbnzUzoRpOtP1azAbj95l1x34xUZF0EeZn0AzmyT8G6522teDt6phn34WgyS81dun9s2IAdQe1NJzkQkwIgEgoZKIN6w5HovsVnjfLfsPOcaa1pOiaWfFD67mmmCGOWj18dgvgFBXl2ntKXu3G41QxtHG8HFT5UmCCdVwBVaShIRAQuzN7c7hCUtY00XcvlgAA== 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=uOhO6OnTSt3sPQZNUlLst4yBCRP1G41aekWI2sLlndM=; b=QKJ7DjRUxEEPBd2qS/+FkZmwvTQORdNXgBwD6zH/JyEQm7AjIRX3qn2v8gE336K3Ry5TRh3RzjCkFo2Jbt7KVlKL+AdPEGtXMGL1noZFxDGpGmttLzhJkssckHfo3REvLRVEIOSCbqu21uPZinvrkv8EEPmu05W6kp0+rT1R7bI= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6720.eurprd04.prod.outlook.com (20.179.234.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.29; Mon, 3 Feb 2020 13:25:24 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::25b0:b1ac:aed0:63e1%7]) with mapi id 15.20.2686.031; Mon, 3 Feb 2020 13:25:24 +0000 From: Akhil Goyal To: Anoob Joseph , Declan Doherty , Thomas Monjalon CC: Ankur Dwivedi , Jerin Jacob Kollanukkaran , Narayana Prasad Raju Athreya , Kiran Kumar Kokkilagadda , Nithin Kumar Dabilpuram , Pavan Nikhilesh Bhagavatula , Archana Muniganti , Tejasree Kondoj , Vamsi Krishna Attunuru , Lukas Bartosik , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 14/15] net/octeontx2: add inline Tx path changes Thread-Index: AQHV2OL6GGs2queiO0uzli0VNqJdF6gJeJcg Date: Mon, 3 Feb 2020 13:25:24 +0000 Message-ID: References: <1579344553-11428-1-git-send-email-anoobj@marvell.com> <1580465035-30455-1-git-send-email-anoobj@marvell.com> <1580465035-30455-15-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: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.72] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 2a302dd3-bcb0-4d43-ccf0-08d7a8ac86f5 x-ms-traffictypediagnostic: VE1PR04MB6720: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0302D4F392 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(396003)(346002)(376002)(136003)(366004)(199004)(189003)(6506007)(52536014)(33656002)(7696005)(7416002)(5660300002)(55016002)(9686003)(44832011)(26005)(2906002)(71200400001)(86362001)(316002)(81166006)(81156014)(4326008)(8936002)(110136005)(54906003)(186003)(66946007)(76116006)(66446008)(64756008)(66556008)(478600001)(66476007); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6720; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: v4YpwCEwEIaTt3nwf89fJvbED3r4CMW/1AI3hydmLXN3+mNhcaQMO3ZFx8leWzlS5hONENqhXWy2KkxWIjk5tH4KZ0Z13kw0Xd5xWlomXkaDKLRrqyyKvwYYBm3gdcRm55y5kJCAWXEmy+Czvmyo7ILFoqS+i41b/XRw6KMjOpmv3l+N1P4RQgM4WRmuzClV4WHHvDflbebzvZ343dul9R81gMm7MG+csfVogt6JFC2V3pLRKenqxnLONfQF9PQ3KJwlzgMOXBAwpX3A5MMdLCiAMVLj2OorGgh157l8BnJa29eD+Nxm+dlhqaB2CYzaPyDIxe4umONmZE+KfxOxNX7l5E3ce1X2/cP5olliXytoNJ0xT/8Y22ptesKO6KR1kK09VP9r/nXp1pkB6mX+I/uxKZYS+8czCDdi8ZH62ZKxpY2LiP1kj1Wn1IiFrK7G x-ms-exchange-antispam-messagedata: Zr4HBVIZU7//vsDFx1Yp9FNNp6hwkO3YrpkpK/bKdZV1ukkgwLSlawZPi6pBrvAk3sTaAsGTkPkIRwJeYlyNjgB06lgNBngfM4VjZ0T1L3Z7oaICxsKWCz+5bCL0fdPRaqKwwys3VpVzBqSnh3mphQ== 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: 2a302dd3-bcb0-4d43-ccf0-08d7a8ac86f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2020 13:25:24.6982 (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: pmTHEAZK77cZcBl59cnrabiQyq7vsY6fQQfD0novw3rHR5BT4/SWX4ZEuJgtFK4QRxPwR0+8iFlosBhTzmTXiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6720 Subject: Re: [dpdk-dev] [PATCH v3 14/15] net/octeontx2: add inline Tx path changes 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" > > > > > > > > > > > From: Ankur Dwivedi > > > > > > > > Adding pre-processing required for inline IPsec outbound packets. > > > > > > > > Signed-off-by: Ankur Dwivedi > > > > Signed-off-by: Anoob Joseph > > > > Signed-off-by: Archana Muniganti > > > > Signed-off-by: Tejasree Kondoj > > > > Signed-off-by: Vamsi Attunuru > > > > --- > > > > drivers/event/octeontx2/meson.build | 3 +- > > > > drivers/event/octeontx2/otx2_worker.h | 6 + > > > > drivers/net/octeontx2/otx2_ethdev_sec.c | 82 +++++++++++++ > > > > drivers/net/octeontx2/otx2_ethdev_sec.h | 19 +++ > > > > drivers/net/octeontx2/otx2_ethdev_sec_tx.h | 181 > > > > +++++++++++++++++++++++++++++ > > > > 5 files changed, 290 insertions(+), 1 deletion(-) create mode > > > > 100644 drivers/net/octeontx2/otx2_ethdev_sec_tx.h > > > > > > > > diff --git a/drivers/event/octeontx2/meson.build > > > > b/drivers/event/octeontx2/meson.build > > > > index 56febb8..be4b47a 100644 > > > > --- a/drivers/event/octeontx2/meson.build > > > > +++ b/drivers/event/octeontx2/meson.build > > > > @@ -31,6 +31,7 @@ foreach flag: extra_flags > > > > endif > > > > endforeach > > > > > > > > -deps +=3D ['bus_pci', 'common_octeontx2', 'mempool_octeontx2', > > > > 'pmd_octeontx2'] > > > > +deps +=3D ['bus_pci', 'common_octeontx2', 'cryptodev', > > > > +'mempool_octeontx2', > > > > 'pmd_octeontx2', > > > > + 'security'] > > > > > > > > includes +=3D include_directories('../../crypto/octeontx2') > > > > > > > > > Why would you need cryptodev in event driver meson.build? > > > If you really need it, then why only in meson.build, Makefile should > > > also have some change. > > > > [Anoob] On our platform, it's the eventdev which does packet I/O during= inline > > processing. So the Tx and Rx paths are embedded into event_dequeue_burs= t() > > and tx_adapter_enqueue(). Hence the need for such dependency. > > > > I'll have the meson and Makefiles synced. Can send the updated series o= nce > you > > are done with the rest of the reviews. The dependency was added in > > meson.build file when some build failure was observed. >=20 > [Anoob] You are right. The above change is not necessary. I've confirmed = that > the build is not failing even without the above. Do you want me to send a= new > version with this fix? >=20 Yes, please send the patches and make sure that all individual patches gets= compiled With meson and makefile properly. > > > > > > > > Please make sure that all individual patches compile for both meson > > > and Makefile. > > > I have not run the test yet. Will run it on Monday. > > > > [Anoob] Sure. From our end, we have all the patches passing the build s= tages. > In > > case if there is any failure, I'll have it addressed with the next vers= ion. > > > > > > > > Regards, > > > Akhil