From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id AD35DA0C4E; Mon, 8 Nov 2021 19:47:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8D257410FC; Mon, 8 Nov 2021 19:47:22 +0100 (CET) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40070.outbound.protection.outlook.com [40.107.4.70]) by mails.dpdk.org (Postfix) with ESMTP id 68FA140E5A for ; Mon, 8 Nov 2021 19:47:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PI4PrbadU9mZPpH5UwpUfaTHjp+9W6j2gBs8EGho1S45MRmxhLjgYA/CkosWDU+iCFsOEFCJIwGfqOMiTjEHDVa3kvWjk9HKgmYyt4eNVezuDO/G/TWe+FD3Wu60Ib6TyF8urZG1mC90cfNokKS8J5UOKqjcchJ2+fU9zSUmILBAbR15FqoXSeRK/iCTssw7VniBg0Yduy5/rvSn5FiE+0NYNzDmuqcIkeU6Phvdm/6gi92gbxBEM/jJM0X2f3XjV7NX+fWJye+Ag/Ksbn+UMO4cQMng1DRZpMYw7rf08lCyEU4mJfua8coH5lb4gMueoGTQ+XIncGXO+r+w97NUrg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IU/v8HyFZub+GRq1ok55Ms0r4XoiH5biMUq0LMHXcVw=; b=k6yIZotZYXRe0PEYnxl5q75ul5rU9ofWL9kjzNYVY58XQD0Nze6PC6znfkkBcM/GTKWQR5IlYjX4t9OeTEPOxaEKM24dIPLE4czikLwS6VI6OuTAwErEGpqYxhPLDodeEUFNLhlD4v/MGcREuTupPJCSORXj2wMNsfhSd+PqCidugagsu/b1X3YAQHj6QfLHHmn3VOwIhv3xviEx6/YHr7gUU31BdzhVOJfS+ARsTIq7i5uUfj44oSORyvbjrKrrTxAvqOZlnb8cHwRi158n2RfoQXT/E+MyQn8L+In5pIKPgSvDyIeqJzvEgV9WE8hmkpdPmnaBAlKYFiNmtxTQbg== 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=IU/v8HyFZub+GRq1ok55Ms0r4XoiH5biMUq0LMHXcVw=; b=NmVMz9lY0CGuTl9rTvh2xJawEQikln9RuVnREtckK9K9xzZz4Ao86gJCkfI1GYxM3KblfouPM0PeJaGqpUMbSXJivMAT3GbETM9/BYalDvCoDz4i639onZ+Plbns2xPrH14+8CfFxxfFt3/jlQTt5RsPzYMeQRtk2EQzRDd+ov8= Received: from PAXPR04MB9445.eurprd04.prod.outlook.com (2603:10a6:102:2b4::15) by PAXPR04MB9231.eurprd04.prod.outlook.com (2603:10a6:102:2bb::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.15; Mon, 8 Nov 2021 18:47:20 +0000 Received: from PAXPR04MB9445.eurprd04.prod.outlook.com ([fe80::5814:adcb:2173:921]) by PAXPR04MB9445.eurprd04.prod.outlook.com ([fe80::5814:adcb:2173:921%5]) with mapi id 15.20.4669.016; Mon, 8 Nov 2021 18:47:20 +0000 From: Apeksha Gupta To: Ferruh Yigit , "david.marchand@redhat.com" , "andrew.rybchenko@oktetlabs.ru" CC: "dev@dpdk.org" , Sachin Saxena , Hemant Agrawal Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH v6 4/5] net/enetfec: add enqueue and dequeue support Thread-Index: AQHXxja51rSQY+GqjEK/g4anf35fb6vm8K2AgBMH/TA= Date: Mon, 8 Nov 2021 18:47:20 +0000 Message-ID: References: <20211019184003.23128-2-apeksha.gupta@nxp.com> <20211021044700.12370-1-apeksha.gupta@nxp.com> <20211021044700.12370-5-apeksha.gupta@nxp.com> <75edae1b-0a13-74c2-e393-01c2d3dab670@intel.com> In-Reply-To: <75edae1b-0a13-74c2-e393-01c2d3dab670@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6dd17248-f318-4246-44d6-08d9a2e831e9 x-ms-traffictypediagnostic: PAXPR04MB9231: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1265; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1J4Ykw4kL1vIHLR8Nj+fnNLgLhowazmtMQv6UlvEjR62TAflzhh2ZOktVVm2X/9hc/IWhse1H5z6UMvyaObz9HggSU9h52qQN50GZxSR+WYQAPZT3BThC6JqRvtUqbeNt4SSBWHKkwHovHefmJddD/A/0F7fqSSl2tVDCiG2cNdWr+0A5m5m3W8hRHFEjHVNuzwMEJ2pCelIslJww8zUDxlb8Xewtt/ZRCT7N6xVsUObOrUFacvpgFCzUGcwdrv47ApkZoNstoEBTESnwsf+mNyxrDM+13peTlq6KCRLE0yOYIAz2v6w9DEBctfccJiM+uANyREB5ANh/kR5tQccyUJxmn/9osutXOq0QLdMoJ1LMFPWMajIQcixKEmtYgRiJCcd+MCyMYr5U/SRjC/Gm6HEw2ZpgZiuzBBPZgTwGRE+hgXo1QMLEJ14v/3RHUBHVwaUOnx+Q1BM4lLRtB589nVCmtJruIsC0ArsZqv7bXUD4mRo+p3I1o6c0mTwz8xgKjqcfjKyI5Quon/ZyjjEyuRL4mTLxU8pPk6HhtaXwbIwpJW2ETaHdSGsN4fu2EwaHMe8acrj163rxOCgJ1bXe1rZJfxyXvbBtOBvSZUKivGr9ExlSpRIhS17jqj9lKUAG7TTrssNsRrvUaoq03StoOGdXH46oMVe8jSYKWVzIGVgk8zON3zaZWwREAXxGQ0d6XZ+zeD8cHxvmR6BepSG9A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9445.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(38070700005)(54906003)(186003)(508600001)(52536014)(8936002)(316002)(33656002)(110136005)(5660300002)(8676002)(86362001)(26005)(7696005)(53546011)(6506007)(9686003)(71200400001)(4326008)(76116006)(66556008)(44832011)(66476007)(64756008)(66446008)(66946007)(83380400001)(2906002)(122000001)(38100700002)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RFR3bnV2YldOcVZoeWIyUTkwSjdneDhRM0hlZE9IUmRjZjVudUVya05aTUNB?= =?utf-8?B?aElGK3laNWlEWWxGNFRmU0hOZW9TUEc2dFBpOUZXYVRYU0ZMaVpWZjNsQ2RZ?= =?utf-8?B?WkNDeVBkWWJrRENvaER6c3ZoeDNSSURpOER6bExCb1pvN0ZoV1YrNVdYenVY?= =?utf-8?B?M2F4aS9tODFpV2pqV2tPMEdBZGZrL3ErSGVhZlJXTldFZlBxTkJFZUQyWWtE?= =?utf-8?B?b1hENjJlVFNZS3llMWdmekgrMWUzVVJJR2ZDQzdaMDRGVHh4Q0JaOC9STjFp?= =?utf-8?B?MmpCUzVMRnp5U0puSnhaTk5qenFYc2s2YmFURWhFUlpCdUpGVW9SWUVCV2xw?= =?utf-8?B?bG91OE1aZi9ONVpJNmRBSk42akpENDJQS2pmOU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qFffPXJKOoaSw=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9445.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6dd17248-f318-4246-44d6-08d9a2e831e9 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2021 18:47:20.1596 (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: OWQx3DmCAOz0N+SNCfUXBlXuXbcsseaiioL0m1KZsN4CJemxPjG7gDLd3FeFpmubFaXpA9G9zVIM9FwCbNFLyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9231 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH v6 4/5] net/enetfec: add enqueue and dequeue support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRmVycnVoIFlpZ2l0IDxm ZXJydWgueWlnaXRAaW50ZWwuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIE9jdG9iZXIgMjcsIDIw MjEgNzo1NiBQTQ0KPiBUbzogQXBla3NoYSBHdXB0YSA8YXBla3NoYS5ndXB0YUBueHAuY29tPjsg ZGF2aWQubWFyY2hhbmRAcmVkaGF0LmNvbTsNCj4gYW5kcmV3LnJ5YmNoZW5rb0Bva3RldGxhYnMu cnU7IGZlcnJ1aC55aWdpdEBpbnRlbC5jb20NCj4gQ2M6IGR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AgICAgICBpZiAoc3RhdHVzICYg KFJYX0JEX0xHIHwgUlhfQkRfU0ggfCBSWF9CRF9OTyB8DQo+ID4gKyAgICAgICAgICAgICAgICAg ICAgIFJYX0JEX0NSIHwgUlhfQkRfT1YgfCBSWF9CRF9MQVNUIHwNCj4gPiArICAgICAgICAgICAg ICAgICAgICAgUlhfQkRfVFIpKSB7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgIHN0YXRzLT5p ZXJyb3JzKys7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgIGlmIChzdGF0dXMgJiBSWF9CRF9P Vikgew0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8qIEZJRk8gb3ZlcnJ1biAq Lw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEVORVRGRUNfUE1EX0VSUigicnhf Zmlmb19lcnJvclxuIik7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZ290byBy eF9wcm9jZXNzaW5nX2RvbmU7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgIH0NCj4gPiArICAg ICAgICAgICAgICAgICAgICAgaWYgKHN0YXR1cyAmIChSWF9CRF9MRyB8IFJYX0JEX1NIDQo+ID4g KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgUlhfQkRfTEFT VCkpIHsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvKiBGcmFtZSB0b28gbG9u ZyBvciB0b28gc2hvcnQuICovDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgRU5F VEZFQ19QTURfRVJSKCJyeF9sZW5ndGhfZXJyb3JcbiIpOw0KPiA+ICsgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIGlmIChzdGF0dXMgJiBSWF9CRF9MQVNUKQ0KPiA+ICsgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgRU5FVEZFQ19QTURfRVJSKCJyY3YgaXMgbm90ICtsYXN0 XG4iKTsNCj4gDQo+IGR1cGxpY2F0ZWQgJ1xuJywgYnV0IG1vcmUgaW1wb3J0YW50bHkgdGhpcyBp cyBkYXRhcGF0aCwgYXJlIHlvdSBzdXJlIHRvIHVzZQ0KPiBkZWJ1ZyBsb2dzIGluIGRhdGFwYXRo Pw0KPiANCj4gJ0VORVRGRUNfRFBfTE9HJyBzaG91bGQgYmUgdGhlIHRvIHVzZSBpbiB0aGUgZGF0 YXBhdGgsIHNpbmNlIGl0IGlzIG9wdGltaXplZA0KPiBvdXQgYmFzZWQgb24gdGhlIGRlZmF1bHQg dmFsdWUgaXQgaGFzLCB0byBub3QgaW1wYWN0IGRhdGFwYXRoLg0K