From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 65FCC6904 for ; Thu, 6 Dec 2018 03:54:02 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Dec 2018 18:54:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,320,1539673200"; d="scan'208";a="125491509" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 05 Dec 2018 18:54:00 -0800 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 5 Dec 2018 18:54:00 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 5 Dec 2018 18:54:00 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.182]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.46]) with mapi id 14.03.0415.000; Thu, 6 Dec 2018 10:53:58 +0800 From: "Lu, Wenzhuo" To: Rami Rosen CC: "dev@dpdk.org" , "Yang, Qiming" , "Li, Xiaoyun" , "Wu, Jingjing" Thread-Topic: [dpdk-dev] [PATCH 03/19] net/ice: support device and queue ops Thread-Index: AQHUgvkFW5fHGAcgNESBMBgjr1ONmKVsrGGAgARrQ+A= Date: Thu, 6 Dec 2018 02:53:57 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093FE11568@shsmsx102.ccr.corp.intel.com> References: <1542956179-80951-1-git-send-email-wenzhuo.lu@intel.com> <1542956179-80951-4-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 03/19] net/ice: support device and queue ops 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: , X-List-Received-Date: Thu, 06 Dec 2018 02:54:03 -0000 SGkgUmFtaSwNCg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFJhbWkg Um9zZW4gW21haWx0bzpyb3N6ZW5yYW1pQGdtYWlsLmNvbV0NCj4gU2VudDogTW9uZGF5LCBEZWNl bWJlciAzLCAyMDE4IDExOjI0IFBNDQo+IFRvOiBMdSwgV2Vuemh1byA8d2Vuemh1by5sdUBpbnRl bC5jb20+DQo+IENjOiBkZXZAZHBkay5vcmc7IFlhbmcsIFFpbWluZyA8cWltaW5nLnlhbmdAaW50 ZWwuY29tPjsgTGksIFhpYW95dW4NCj4gPHhpYW95dW4ubGlAaW50ZWwuY29tPjsgV3UsIEppbmdq aW5nIDxqaW5namluZy53dUBpbnRlbC5jb20+DQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQ QVRDSCAwMy8xOV0gbmV0L2ljZTogc3VwcG9ydCBkZXZpY2UgYW5kIHF1ZXVlDQo+IG9wcw0KPiAN Cj4gSGksIFdlbnpodW8sDQo+IA0KPiA+ICtzdGF0aWMgaW50DQo+ID4gK2ljZV9kZXZfc3RhcnQo c3RydWN0IHJ0ZV9ldGhfZGV2ICpkZXYpIHsNCj4gPiArICAgICAgIHN0cnVjdCBydGVfZXRoX2Rl dl9kYXRhICpkYXRhID0gZGV2LT5kYXRhOw0KPiA+ICsgICAgICAgc3RydWN0IGljZV9odyAqaHcg PSBJQ0VfREVWX1BSSVZB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