From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 53B5D2BD5 for ; Fri, 23 Nov 2018 10:23:56 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Nov 2018 01:23:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,269,1539673200"; d="scan'208";a="107037435" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.251.82.123]) ([10.251.82.123]) by fmsmga002.fm.intel.com with ESMTP; 23 Nov 2018 01:23:53 -0800 To: Thomas Monjalon Cc: dev@dpdk.org, david.hunt@intel.com, john.mcnamara@intel.com, ferruh.yigit@intel.com, keith.wiles@intel.com References: <07b7c67be5adc770b028212ef8918d4ae8f11255.1542127066.git.anatoly.burakov@intel.com> <9ee6c634ef079abef070a72fff26d06e364a609b.1542623365.git.anatoly.burakov@intel.com> <2321597.iDRxu9RN5K@xps> From: "Burakov, Anatoly" Message-ID: Date: Fri, 23 Nov 2018 09:23:53 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <2321597.iDRxu9RN5K@xps> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] 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: Fri, 23 Nov 2018 09:23:56 -0000 On 22-Nov-18 5:12 PM, Thomas Monjalon wrote: > 19/11/2018 11:33, Anatoly Burakov: >> If there aren't any devices of a particular category on user's >> system, we still display them, which is bad for usability. Fix >> devbind to not print out a category unless there are devices in >> it. >> >> Signed-off-by: Anatoly Burakov >> Reviewed-by: David Hunt > > Applied, thanks > > I think we can strip output more and remove "no detected" messages. > I had an idea to do that, but for now i decided to keep it for the purposes of providing just enough useful information to the user with little expense. -- Thanks, Anatoly