From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 0F0974CBD for ; Thu, 15 Nov 2018 15:06:20 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2018 06:06:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,236,1539673200"; d="scan'208";a="100490037" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 15 Nov 2018 06:06:19 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 15 Nov 2018 06:06:19 -0800 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.70]) by FMSMSX112.amr.corp.intel.com ([169.254.5.114]) with mapi id 14.03.0415.000; Thu, 15 Nov 2018 06:06:18 -0800 From: "Wiles, Keith" To: "Hunt, David" CC: "Burakov, Anatoly" , dev , "Mcnamara, John" , Thomas Monjalon , "Yigit, Ferruh" Thread-Topic: [dpdk-dev] [PATCH] devbind: don't display non-existent device categories Thread-Index: AQHUe2/htky5ymZs0kiyBkmYWoDJbaVRXT2AgAAKwIA= Date: Thu, 15 Nov 2018 14:06:18 +0000 Message-ID: <7E971A8F-C647-454B-B396-A6E7CBA97D53@intel.com> References: <07b7c67be5adc770b028212ef8918d4ae8f11255.1542127066.git.anatoly.burakov@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.254.103.175] Content-Type: text/plain; charset="utf-8" Content-ID: <802890C2AE92E94ABD07EF1194F8345D@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] devbind: don't display non-existent device categories 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, 15 Nov 2018 14:06:21 -0000 DQoNCj4gT24gTm92IDE1LCAyMDE4LCBhdCA3OjI3IEFNLCBIdW50LCBEYXZpZCA8ZGF2aWQuaHVu dEBpbnRlbC5jb20+IHdyb3RlOg0KPiANCj4gSGkgQW5hdG9seSwNCj4gDQo+IE9uIDEzLzExLzIw MTggNDo0MiBQTSwgQW5hdG9seSBCdXJha292IHdyb3RlOg0KPj4gSWYgdGhlcmUgYXJlbid0IGFu eSBkZXZpY2VzIG9mIGEgcGFydGljdWxhciBjYXRlZ29yeSBvbiB1c2VyJ3MNCj4+IHN5c3RlbSwg d2Ugc3RpbGwgZGlzcGxheSB0aGVtLCB3aGljaCBpcyBiYWQgZm9yIHVzYWJpbGl0eS4gRml4DQo+ PiBkZXZiaW5kIHRvIG5vdCBwcmludCBvdXQgYSBjYXRlZ29yeSB1bmxlc3MgdGhlcmUgYXJlIGRl dmljZXMgaW4NCj4+IGl0Lg0KPj4gDQo+PiBTaWduZWQtb2ZmLWJ5OiBBbmF0b2x5IEJ1cmFrb3Yg PGFuYXRvbHkuYnVyYWtvdkBpbnRlbC5jb20+DQo+PiAtLS0NCj4+ICB1c2VydG9vbHMvZHBkay1k ZXZiaW5kLnB5IHwgMjcgKysrKysrKysrKysrKysrKysrKystLS0tLS0tDQo+PiAgMSBmaWxlIGNo YW5nZWQsIDIwIGluc2VydGlvbnMoKyksIDcgZGVsZXRpb25zKC0pDQo+PiANCj4+IGRpZmYgLS1n aXQgYS91c2VydG9vbHMvZHBkay1kZXZiaW5kLnB5IGIvdXNlcnRvb2xzL2RwZGstZGV2YmluZC5w eQ0KPj4gaW5kZXggN2Q1NjQ2MzRjLi45ZjE5MGUyMjcgMTAwNzU1DQo+P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