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:
+
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
> 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
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
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
5 matches
Mail list logo