usertools: skip empty categories in devices status
authorAnatoly Burakov <anatoly.burakov@intel.com>
Mon, 19 Nov 2018 10:33:12 +0000 (10:33 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 23 Nov 2018 00:43:20 +0000 (01:43 +0100)
commit109cb989d9a9c55ca80256cbde184b6a22be3b86
tree69ae6a42ab4b4a93b22f5fe5350377e7d43690a2
parentd82e5db6f6561356990000cac40e78b59ba0c65f
usertools: skip empty categories in devices status

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 <anatoly.burakov@intel.com>
Reviewed-by: David Hunt <david.hunt@intel.com>
usertools/dpdk-devbind.py