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 8CB39A034F; Tue, 9 Nov 2021 17:20:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5795440E03; Tue, 9 Nov 2021 17:20:49 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2045.outbound.protection.outlook.com [40.107.22.45]) by mails.dpdk.org (Postfix) with ESMTP id 02D6B4068B for ; Tue, 9 Nov 2021 17:20:48 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QgseDQvPNPk7t3Uj+5q+yR+13JhH5hzVt/d5vfdRyEbeMzs/OJs5HaaEQVPrdwvqeruEa82TI0jMf2TSxDGQcC2RHlHM7RnnOhfvAiVULnNFRSJLoaAW7CeQglnHPWrdUfDN2sPm49pgGwLHE9MOhJvuYckgjOHV+psRKJ5BkXww9BanT64EyFUL28sDcmKZBxdYYoQfNEJFCS1P8N0Bs7EI8DDeYx5nUS8+jUuqbVv2xnNO37pCf1Fr9G3HWXpG2anjsM53WAr1QKCxQTg5OKKIvSujnLED/fJ9yx5pkIbsiN0T52+smKNm6nmMmGLhFapCMUGL4Ux/ouPVzrqowA== 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=ztOr5bQDw95R1TxmDbVZGNn1V6KF69FmKJ2tH3miv6M=; b=i8esLTdeYvbQX1pn0Je1V5R2FTfVBRMQFt+i+GQxyx4D0icsGPDG5VcnE8hFB+jNp27ZRqSfe3Qv1ZIFQyh5EtopNmcPOjQ60LiYA7WMpt483ipJTHVy7h/8xOiWvTRMzS5qqE+5BTSi3Y/xxZo8avevRN5B3MfQFhWJ8GyRFNphFhjF5QQxjX+l964TPKCFzyJgNvHd+XuWvWrZSM4u7JKq3zzMpkdu5LHTixkH1d+uhpxMtQPGJPrs0F+PwEWOCZqFqHD3HLZ1ksnqNkdikzm5tr4v3dZiR8nZvpELxj8ulRRH9WwNEIiJeTx9UlA0/FOFNkNpqjxF9L4oRMAFkg== 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=ztOr5bQDw95R1TxmDbVZGNn1V6KF69FmKJ2tH3miv6M=; b=YExhauuImARApCm4nr6mFCQM1buFd2tthMenlVme/uPQGzido2H5wqWaBoTeWR2Tk8Atso8tcuvOuXuleqnsuxownghSHcU5gqoIuaaR6gB9I56t+SJbZvORtdCgmWf4Zc9+yXFAiUWMBjF/u4XKf8fhVqDkHj2rVoAfxk27h5s= Received: from PAXPR04MB9445.eurprd04.prod.outlook.com (2603:10a6:102:2b4::15) by PAXPR04MB8943.eurprd04.prod.outlook.com (2603:10a6:102:20e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Tue, 9 Nov 2021 16:20:47 +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; Tue, 9 Nov 2021 16:20:46 +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: [PATCH v7 4/5] net/enetfec: add Rx/Tx support Thread-Index: AQHX0Ofz4SFNJEM6xkqzgAtua4SjdqvzsakAgAZnvoA= Date: Tue, 9 Nov 2021 16:20:46 +0000 Message-ID: References: <20211021044700.12370-2-apeksha.gupta@nxp.com> <20211103192045.22240-1-apeksha.gupta@nxp.com> <20211103192045.22240-5-apeksha.gupta@nxp.com> <319deb68-dd42-d7fc-d398-d8e1b4904cf6@intel.com> In-Reply-To: <319deb68-dd42-d7fc-d398-d8e1b4904cf6@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: e5f92c1a-58db-4b54-0ca7-08d9a39ce306 x-ms-traffictypediagnostic: PAXPR04MB8943: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3173; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wUVLgdVjw5rWuhRkxGYlzZnieKcyknc3WjCsykLegHxKsuUQ7x+llI9qJMBjBDLRijeCs4UbASRW0mX6OBBLERKW6+7RE1zX9sDu20q+YIZRHgaA1GkmgHTCfsbJHYoc83sMd8jtaF8dAn3Rig9WhlPC8dcbYoXyLeIgOCRsYMulOLBDej6+dm9O1565ShVVNkb0mH9n1tblDVeP2njSsIcGh1GR/t5So8p4ZJLE6b7RAYvf9ynGnPqUGh9lwa/D5brPjSnAOjpblYHTtzAMI/FuGO/r3cqEl6Bpj5gqzkk5HDk4savXUIEnymBUII6JbV26GCqxNBMBx+wAbR4PU55hzGCE6UgyeO36pe1vEYW8K9AQMqIfPwlhJD0l38Of0CJCr3FJRPa55rGkZdx5cb/Ee6IAdxymYwiqjwRWDJ6nekHlV5YSGlyU5Fmf9+yse/2lRs9/6Hjx0HiCjJ6rP5RzVSASTAIptXvUP/PZV5SP7hsfRfbiydYLe4ccAGHVA098xZN4RK6ilwHs+eBIj2LGRHlHZJmIcAyzZd/lXfsSiDrUSPE8QtEtUBqgqvEA70atD5RLJPeRhk0aaBdW1ScNjDgAj7DHT+B7YUFfskOkJvMTS/fsmhVOApEvKvDNGr1FQMb1IRoGfAte0Ac2iMjSg8MM3sR1fsJlmIlzNp+CcnopuXdY71FrqG824WYjkVnNehWjeMQ9Bjze8SycLQ== 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)(86362001)(55016002)(9686003)(38070700005)(83380400001)(186003)(66946007)(66476007)(7696005)(316002)(76116006)(54906003)(64756008)(66556008)(110136005)(66446008)(71200400001)(6506007)(26005)(8676002)(44832011)(4326008)(53546011)(8936002)(52536014)(508600001)(5660300002)(122000001)(2906002)(33656002)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?NXdnbWlQZWo4Q0lFNWV2b0hGcVA4MFVneGNZRVZ3a1lyVFJ0R3RlOS9UNXJV?= =?utf-8?B?L0JoTmRZRE4wZVA4cXF0UFdNWnRLejlpWFI5ZEc2eitNSE55UWZLUTFuRUF5?= =?utf-8?B?MzROZitmTUlHN1IvNnUzUStjYS8xMVoxSkVFTXhFaTc4blI4SG5ZclZBeGF4?= =?utf-8?B?WUsvWUg0VW50djZvQWlablJYZ1B0ZU5UemduNTJKTTQ2dTR5eGExZmxtV3py?= =?utf-8?B?L0NTbERFOGV4d1MybzhSQTMyOGdvK3FqM3M4citYMnl4M1FvRHdtMlF5VnRK?= =?utf-8?B?cWt1MjdlYm9IUkY2MGovN2sxeVo3L3c3bjNxTSttQUcxOTdvQUM1alI5b05Q?= =?utf-8?B?REN5NFE0cmdSdG5xdUhJaVZJM1M1Q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?B?Y0E9PQ==?= 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: e5f92c1a-58db-4b54-0ca7-08d9a39ce306 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2021 16:20:46.7371 (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: TVw7lhyTc6uec86inxJ09hXkNCCOXbtPWnwXgZt7ObcYN0q6GMhq3+slBaO3O7XRM3/xMsqvvX8wUVDIoEU4vw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8943 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH v7 4/5] net/enetfec: add Rx/Tx 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBGZXJydWggWWlnaXQgPGZlcnJ1 aC55aWdpdEBpbnRlbC5jb20+DQo+IFNlbnQ6IFRodXJzZGF5LCBOb3ZlbWJlciA0LCAyMDIxIDEx OjU4IFBNDQo+IFRvOiBBcGVrc2hhIEd1cHRhIDxhcGVrc2hhLmd1cHRhQG54cC5jb20+OyBkYXZp ZC5tYXJjaGFuZEByZWRoYXQuY29tOw0KPiBhbmRyZXcucnliY2hlbmtvQG9rdGV0bGFicy5ydQ0K PiBDYzogZGV2QGRwZGsub3JnOyBTYWNoaW4gU2F4ZW5hIDxz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GluZGV4ID0gMDsNCj4gPiArDQo+ID4gKyAgICAgRU5FVEZFQ19QTURfREVCVUco IlRYIHJpbmcgZHVtcFxuIik7DQo+ID4gKyAgICAgRU5FVEZFQ19QTURfREVCVUcoIk5yICAgICBT QyAgICAgYWRkciAgICAgICBsZW4gIE1CVUZcbiIpOw0KPiA+ICsNCj4gPiArICAgICBiZHAgPSB0 eHEtPmJkLmJhc2U7DQo+ID4gKyAgICAgZG8gew0KPiA+ICsgICAgICAgICAgICAgRU5FVEZFQ19Q TURfREVCVUcoIiUzdSAlYyVjIDB4JTA0eCAweCUwOHggJTR1ICVwXG4iLA0KPiA+ICsgICAgICAg ICAgICAgICAgICAgICBpbmRleCwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgYmRwID09IHR4 cS0+YmQuY3VyID8gJ1MnIDogJyAnLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICBiZHAgPT0g dHhxLT5kaXJ0eV90eCA/ICdIJyA6ICcgJywNCj4gPiArICAgICAgICAgICAgICAgICAgICAgcnRl X3JlYWQxNihydGVfbGVfdG9fY3B1XzE2KCZiZHAtPmJkX3NjKSksDQo+ID4gKyAgICAgICAgICAg ICAgICAgICAgIHJ0ZV9yZWFkMzIocnRlX2xlX3RvX2NwdV8zMigmYmRwLT5iZF9idWZhZGRyKSks DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgIHJ0ZV9yZWFkMTYocnRlX2xlX3RvX2NwdV8xNigm YmRwLT5iZF9kYXRsZW4pKSwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgdHhxLT50eF9tYnVm W2luZGV4XSk7DQo+ID4gKyAgICAgICAgICAgICBiZHAgPSBlbmV0X2dldF9uZXh0ZGVzYyhiZHAs ICZ0eHEtPmJkKTsNCj4gPiArICAgICAgICAgICAgIGluZGV4Kys7DQo+ID4gKyAgICAgfSB3aGls ZSAoYmRwICE9IHR4cS0+YmQuYmFzZSk7DQo+ID4gK30NCj4gPiArDQo+ID4gK3N0YXRpYyB2b2lk DQo+ID4gK2VuZXRfZHVtcF9yeChzdHJ1Y3QgZW5ldGZlY19wcml2X3J4X3EgKnJ4cSkNCj4gPiAr ew0KPiA+ICsgICAgIHN0cnVjdCBidWZkZXNjICpiZHA7DQo+ID4gKyAgICAgaW50IGluZGV4ID0g MDsNCj4gPiArDQo+ID4gKyAgICAgRU5FVEZFQ19QTURfREVCVUcoIlJYIHJpbmcgZHVtcFxuIik7 DQo+ID4gKyAgICAgRU5FVEZFQ19QTURfREVCVUcoIk5yICAgICBTQyAgICAgYWRkciAgICAgICBs ZW4gIE1CVUZcbiIpOw0KPiA+ICsNCj4gPiArICAgICBiZHAgPSByeHEtPmJkLmJhc2U7DQo+ID4g KyAgICAgZG8gew0KPiA+ICsgICAgICAgICAgICAgRU5FVEZFQ19QTURfREVCVUcoIiUzdSAlYyAw eCUwNHggMHglMDh4ICU0dSAlcFxuIiwNCj4gPiArICAgICAgICAgICAgICAgICAgICAgaW5kZXgs DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgIGJkcCA9PSByeHEtPmJkLmN1ciA/ICdTJyA6ICcg JywNCj4gPiArICAgICAgICAgICAgICAgICAgICAgcnRlX3JlYWQxNihydGVfbGVfdG9fY3B1XzE2 KCZiZHAtPmJkX3NjKSksDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgIHJ0ZV9yZWFkMzIocnRl X2xlX3RvX2NwdV8zMigmYmRwLT5iZF9idWZhZGRyKSksDQo+ID4gKyAgICAgICAgICAgICAgICAg ICAgIHJ0ZV9yZWFkMTYocnRlX2xlX3RvX2NwdV8xNigmYmRwLT5iZF9kYXRsZW4pKSwNCj4gPiAr ICAgICAgICAgICAgICAgICAgICAgcnhxLT5yeF9tYnVmW2luZGV4XSk7DQo+ID4gKyAgICAgICAg ICAgICBydGVfcGt0bWJ1Zl9kdW1wKHN0ZG91dCwgcnhxLT5yeF9tYnVmW2luZGV4XSwNCj4gPiAr ICAgICAgICAgICAgICAgICAgICAgICAgICAgICByeHEtPnJ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