Re: [dpdk-dev] [PATCH] devbind: don't display non-existent device categories

2018-11-19 Thread Burakov, Anatoly
On 18-Nov-18 11:13 PM, Thomas Monjalon wrote: 13/11/2018 17:42, Anatoly Burakov: --- a/usertools/dpdk-devbind.py +++ b/usertools/dpdk-devbind.py +n_devs = len(dpdk_drv) + len(kernel_drv) + len(no_drv) + +# don't bother displaying anything if there are no devices +if n_devs == 0: +

Re: [dpdk-dev] [PATCH] devbind: don't display non-existent device categories

2018-11-18 Thread Thomas Monjalon
13/11/2018 17:42, Anatoly Burakov: > --- a/usertools/dpdk-devbind.py > +++ b/usertools/dpdk-devbind.py > +n_devs = len(dpdk_drv) + len(kernel_drv) + len(no_drv) > + > +# don't bother displaying anything if there are no devices > +if n_devs == 0: > +msg = "No '%s' devices detecte

Re: [dpdk-dev] [PATCH] devbind: don't display non-existent device categories

2018-11-15 Thread Wiles, Keith
> On Nov 15, 2018, at 7:27 AM, Hunt, David wrote: > > Hi Anatoly, > > On 13/11/2018 4:42 PM, Anatoly Burakov wrote: >> 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

Re: [dpdk-dev] [PATCH] devbind: don't display non-existent device categories

2018-11-15 Thread Hunt, David
Hi Anatoly, On 13/11/2018 4:42 PM, Anatoly Burakov wrote: 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 --- usert

[dpdk-dev] [PATCH] devbind: don't display non-existent device categories

2018-11-13 Thread 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 --- usertools/dpdk-devbind.py | 27 --- 1 file