From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50057.outbound.protection.outlook.com [40.107.5.57]) by dpdk.org (Postfix) with ESMTP id 13871D58C for ; Sat, 12 Nov 2016 18:45:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=CTzAe8njNDdldFi6lUWJPjIhGECNrDs1sMbDXRbz+tM=; b=IxmtICmInhSZhWOVPu4L13F2YuJfzLMBbCo59QDXIzqsm16KEqbEapXl8MYo+4fAEgsGD78V8M7J3di7OdZrgixyRVTRcSH5D6/dLTnWtyyF9Tmt+FY3KWMPGYl29JPjziy81zezDwNhIFxnscYqIhyrWoHpK0icajJigLsDb4o= Received: from DB5PR0401MB2054.eurprd04.prod.outlook.com (10.166.11.137) by DB5PR0401MB2055.eurprd04.prod.outlook.com (10.166.11.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6; Sat, 12 Nov 2016 17:45:14 +0000 Received: from DB5PR0401MB2054.eurprd04.prod.outlook.com ([10.166.11.137]) by DB5PR0401MB2054.eurprd04.prod.outlook.com ([10.166.11.137]) with mapi id 15.01.0707.013; Sat, 12 Nov 2016 17:45:13 +0000 From: Shreyansh Jain To: Ferruh Yigit , David Marchand CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] Clarification for eth_driver changes Thread-Index: AQHSOyrXU2+Y4uwShUib0r/jImzvFqDUKdKDgADRLqA= Date: Sat, 12 Nov 2016 17:44:57 +0000 Deferred-Delivery: Sat, 12 Nov 2016 17:41:11 +0000 Message-ID: References: <86ece536-1574-6d84-661e-9b9e77180344@nxp.com> <1a19615c-1121-fed4-b34f-aa0f4b654085@intel.com> In-Reply-To: <1a19615c-1121-fed4-b34f-aa0f4b654085@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; x-originating-ip: [122.177.37.213] x-microsoft-exchange-diagnostics: 1; DB5PR0401MB2055; 7:LKGL2Ena4NOTkgC+ViSw552ia5ux/xC8VtWUsIKHkTDxZcyw0be8RPUfOuD2EPOktrHOQdsyvqrpZTODTB/di6W2TveBSFeVWaoa5y2ccj/SGKjOSOZl59Ea1Xh9C5TdxHF1b5erxoRn7A78oNQqTsKmfCFBJKO0URm5/2woYpfCkr/l7wwBdUss8RPCOB+COVmcrl4C79/5clX8gdtliR8BbGTptQucZ7dG1JK8bYL9/RfpOfB/axC4AQ1xDcaeURE7FtdwT2l1wjXzp8zXBzHaTxhy7dpUj1NWnBn7Mtsw83GenSf2ecXJC5/ONyTywQVo4DIEks+j22qxodt0Bbi6H586C/P74+XvNQPCPwo= x-ms-office365-filtering-correlation-id: dbb36a33-f6fd-4ebe-826e-08d40b23a826 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DB5PR0401MB2055; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(278428928389397)(185117386973197)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(6045074)(6060229)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6046074)(6061226); SRVR:DB5PR0401MB2055; BCL:0; PCL:0; RULEID:; SRVR:DB5PR0401MB2055; x-forefront-prvs: 01244308DF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(189002)(13464003)(377454003)(24454002)(199003)(76576001)(86362001)(3280700002)(8676002)(8936002)(92566002)(106116001)(106356001)(68736007)(5890100001)(2906002)(9686002)(93886004)(3660700001)(122556002)(2950100002)(189998001)(6666003)(586003)(2900100001)(66066001)(50986999)(3846002)(102836003)(6116002)(76176999)(54356999)(229853002)(33656002)(7696004)(74316002)(87936001)(4326007)(81166006)(81156014)(5660300001)(7736002)(305945005)(97736004)(77096005)(5001770100001)(101416001)(7846002)(105586002)(21314002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR0401MB2055; H:DB5PR0401MB2054.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Nov 2016 17:45:13.7298 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0401MB2055 Subject: Re: [dpdk-dev] Clarification for eth_driver changes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2016 17:45:17 -0000 SGVsbG8gRmVycnVoLA0KDQooUGxlYXNlIGlnbm9yZSBpZiBsaW5lIHdyYXBwaW5ncyBhcmUgbm90 IGNvcnJlY3QuIFVzaW5nIGEgcG9zc2libHkNCnVuY29uZmlndXJlZCBtYWlsIGNsaWVudCkuDQoN Cj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRmVycnVoIFlpZ2l0IFttYWls dG86ZmVycnVoLnlpZ2l0QGludGVsLmNvbV0NCj4gU2VudDogU2F0dXJkYXksIE5vdmVtYmVyIDEy LCAyMDE2IDEyOjQ2IEFNDQo+IFRvOiBTaHJleWFuc2ggSmFpbiA8c2hyZXlhbnNoLmphaW5Abnhw LmNvbT47IERhdmlkIE1hcmNoYW5kDQo+IDxkYXZpZC5t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NCiAgICAgICAgICAgICAgICAgLyBcICAgICAgICAgICAgIFwgIFwNCiAgICAg ICAgICAgICAgICAvICAgXF8gICAgICAgICAgICBcICBcDQogICAgICstLS0tLS0tLS0rICAgICAv ICAgICAgICAgICAgLyAgIFwNCiAgICAgfCBkZXZpY2UgMXwgICAgLyAgICstLS0tLS0tLSsgICAg IFwNCiAgICAgfCBvbiBCdXMgQXwgICAvICAgIHxEZXZpY2UgM3wgICAgIHwNCiAgICAgKy0tLS0t LS0tLSsgIC8gICAgIHxvbiBidXMgQnwgICAgIHwNCiAgICAgICArLS0tLS0tLS0tKyAgICAgICst LS0tLS0tLSsgICAgIHwNCiAgICAgICB8IGRldmljZSAyfCAgICAgICAgICAgICArLS0tLS0tLS0r DQogICAgICAgfCBvbiBCdXMgQXwgICAgICAgICAgICAgfERldmljZSA0fA0KICAgICAgICstLS0t LS0tLS0rICAgICAgICAgICAgIHxvbiBidXMgQnwNCiAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICArLS0tLS0tLS0rDQoNCiAoKikgTXVsdGlwbGUgZHJpdmVycyBzZXJ2aWNpbmcgYSBCdXMu DQoNCk5vdywgaWYgd2UgaW50cm9kdWNlIHRoZSBhYnN0cmFjdGlvbiBmb3IgZnVuY3Rpb25hbGl0 eSAoYXNzdW1pbmcgbmV0L2NyeXB0bykgYXMNCnR3byBmdW5jdGlvbmFsaXRpZXMgY3VycmVudGx5 IGFwcGxpY2FibGU6DQoNCiAgICAgICAgICstLS0tLS0tLS0rICAgICAgICAgICArLS0tLS0tLS0t LSsNCiAgICAgICAgIHxEcml2ZXIgMUF8ICAgICAgICAgICB8RHJpdmVyIDJCIHwNCiAgICAgICAg IHxzZXJ2aWNpbmd8ICAgICAgICAgICB8c2VydmljaW5nIHwgKCopDQogICAgICAgICB8QnVzIEEg ICAgfCAgICAgICAgICAgfEJ1cyBCICAgICB8DQogICAgICAgICArLS0tLS0tLS0tJyAgICAgICAg ICAgKy0tLS4tLS0tLS0rDQogICAgICAgICAgICAgICAgICAgIFwgICAgICAgICAgICAgLw0KICAg ICAgICAgICAgICAgICAgKy0tLS0tLS0tLSsgICArLS0tLS0tLSsNCiAgICAgICAgICAgICAgICAg IHwgYnVzICBBICB8LS0tfCBidXMgQiB8LS0tIC4uLg0KICAgICAgICAgICAgICAgICAgKy0tLS0t LS0tLSsgICArLS0tLS0tLSsNCiAgICAgICAgICAgICAgICAgLyBcICAgICAgICAgICAgIFwgIFwN CiAgICAgICAgICAgICAgICAvICAgXF8gICAgICAgICAgICBcICBcDQogICAgICstLS0tLS0tLS0n ICAgICAvICAgICAgICAgICAgLyAgIFwNCiAgICAgfCBkZXZpY2UgMXwgICAgLyAgICstLS0tLS0t LScgICAgIFwNCiAgICAgfCBvbiBCdXMgQXwgICAvICAgIHxEZXZpY2UgM3wgICAgIHwNCiAgICAg Ky0tLS0tLS0tLSsgIC8gICAgIHxvbiBidXMgQnwgICAgIHwNCiAgICAvICArLS0tLS0tLS0tJyAg ICAgICstfC0tLS0tLSsgICAgIHwNCiAgIHwgICB8IGRldmljZSAyfCAgICAgICAgLyAgICArLS0t LS0tLScrDQogICB8ICAgfCBvbiBCdXMgQXwgICAgICAgLyAgICAgfERldmljZSA0fA0KICAgIFwg ICstLXwtLS0tLS0rIF9fX19fLyAgICAgIHxvbiBidXMgQnwNCiAgICAgXCAgICBcX19fX18gIC8g ICAgICAgICAgICArLS0tLS0tLS0rDQogICAgICB8ICAgICAgLi0tXCcgICAgICAgICAgICAvDQog ICAgICB8ICAgICAvICAgIFwgICAgICAgIF9fXy8NCiAgICArLSctLS0tJy0rICAgKyctLS0tLS0n Kw0KICAgIHxGdW5jIFggIHwgICB8RnVuYyBZICB8DQogICAgfChOZXQpICAgfCAgIHwoQ3J5cHRv KXwNCiAgICArLS0tLS0tLS18ICAgKy0tLS0tLS0tKw0KDQpTbyB0aGF0IG1lYW5zLCBhIGRldmlj ZSB3b3VsZCBiZSBhICduZXQnIG9yICdjcnlwdG8nIGRldmljZSBiYXN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AgICAgICAgICstLS0tLS0t LS0tJy0tLSsNCiAgICAgICAgICAgICAgICAgICAgIHxydGVfYnVzICAgICAgIHwNCiAgICAgICAg ICAgICAgICAgICAgIHwgZHJpdmVyX2xpc3QgIHwNCiAgICAgICAgICAgICAgICAgICAgIHwgZGV2 aWNlX2xpc3QgIHwNCiAgICAgICAgICAgICAgICAgICAgIHwgc2NhbiAgICAgICAgIHwNCiAgICAg ICAgICAgICAgICAgICAgIHwgbWF0Y2ggICAgICAgIHwNCiAgICAgICAgICAgICAgICAgICAgIHwg cmVtb3ZlICAgICAgIHwNCiAgICAgICAgICAgICAgICAgICAgIHwgLi5zb21lIHJlZmNudHwNCiAg ICAgICAgICAgICAgICAgICAgICstLXwtLS0tLS18LS0tLSsNCiAgICAgICAgICAgICAgX19fX19f X19fLyAgICAgICAgXF9fX19fX19fXw0KICAgICstLS0tLS0tLS8tLS0tKyAgICAgICAgICAgICAg ICAgICAgICstXC0tLS0tLS0tLS0tLS0tKw0KICAgIHxydGVfZGV2aWNlICAgfCAgICAgICAgICAg ICAgICAgICAgIHxydGVfZHJpdmVyICAgICAgfA0KICAgIHwgcnRlX2J1cyAgICAgfCAgICAgICAg ICAgICAgICAgICAgIHwgcnRlX2J1cyAgICAgICAgfA0KICAgIHwgIGZsYWdzICgzKikgfCAgICAg ICAgICAgICAgICAgICAgIHwgcHJvYmUgKDEqKSAgICAgfA0KICAgIHwgIGluaXQgICAgICAgfCAg ICAgICAgICAgICAgICAgICAgIHwgcmVtb3ZlICAgICAgICAgfA0KICAgIHwgIHVuaW5pdCAgICAg fCAgICAgICAgICAgICAgICAgICAgIHwgLi4uICAgICAgICAgICAgfA0KICAgICstLS18fC0tLS0t LS0tKyAgICAgICAgICAgICAgICAgICAgIHwgZHJ2X2ZsYWdzICAgICAgfA0KICAgICAgICB8fCAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgaW50cl9oYW5kbGUoMiopfA0KICAgICAgICB8 IFwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICstLS0tLS0tLS0tXFxcLS0tKw0KICAgICAg ICB8ICBcX19fX19fX19fX19fXyAgICAgICAgICAgICAgICAgICAgICAgICAgIFxcXA0KICAgICAg ICB8ICAgICAgICAgICAgICAgIFwgICAgICAgICAgICAgICAgICAgICAgICAgIHx8fA0KICstLS0t LS18LS0tLS0tLS0tKyArLS0tLXwtLS0tLS0tLS0tKyAgICAgICAgICAgICAgIHx8fA0KIHxydGVf cGNpX2RldmljZSAgfCB8cnRlX3h4eF9kZXZpY2UgfCAoNCopICAgICAgICAgIHx8fA0KIHwgUENJ IHNwZWNpZmljICAgfCB8IHh4eCBkZXZpY2UgICAgfCAgICAgICAgICAgICAgIHx8fA0KIHwgaW5m byAobWVtLCkgICAgfCB8IHNwZWNpZmljIGZucyAgfCAgICAgICAgICAgICAgLyB8IFwNCiArLS0t LS0tLS0tLS0tLS0tLSsgKy0tLS0tLS0tLS0tLS0tLSsgICAgICAgICAgICAgLyAgfCAgXA0KICAg ICAgICAgICAgICAgICAgICAgICAgICAgIF9fX19fX19fX19fX19fX19fX19fXy8gIC8gICAgXA0K ICAgICAgICAgICAgICAgICAgICAgICAgICAgLyAgICAgICAgICAgICAgICAgICAgX19fLyAgICAg IFwNCiAgICAgICAgICAgICstLS0tLS0tLS0tLS0tJy0tKyAgICArLS0tLS0tLS0tLS0tJy0tLSsg ICAgKy0tJy0tLS0tLS0tLS0tLSsNCiAgICAgICAgICAgIHxydGVfcGNpX2RyaXZlciAgfCAgICB8 cnRlX3ZkZXZfZHJpdmVyIHwgICAgfHJ0ZV94eHhfZHJpdmVyIHwNCiAgICAgICAgICAgIHwgUENJ IGlkIHRhYmxlLCAgfCAgICB8IDxwcm9iYWJseSwgICAgIHwgICAgfCAuLi4uICAgICAgICAgIHwN CiAgICAgICAgICAgIHwgb3RoZXIgZHJpdmVyICAgfCAgICB8ICBub3RoaW5nPiAgICAgIHwgICAg Ky0tLS0tLS0tLS0tLS0tLSsNCiAgICAgICAgICAgI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