usertools: fix binding regex or misc device
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 24 Nov 2020 09:46:56 +0000 (09:46 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 25 Nov 2020 13:04:58 +0000 (14:04 +0100)
commitf32fed83db8ba3f929d520bd370df612728a130b
tree2d2aa00d73ac4a3737c0b738a136fd77b2d2c277
parent72bf1b5d80fb3151e361a78d5f607c20e95a7f0c
usertools: fix binding regex or misc device

The "misc" and "regex" device classes were missing from the list used to
check arguments, preventing them from being used with "--status-dev"
flag to list only devices of those types.

When adding them to the list, the list is also sorted alphabetically for
consistency.

Bugzilla ID: 582
Fixes: 81255f27c65c ("usertools: replace optparse with argparse")

Reported-by: Wei Ling <weix.ling@intel.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Tested-by: Yu Jiang <yux.jiang@intel.com>
usertools/dpdk-devbind.py