devargs: replace --use-device option by --pci-whitelist and --vdev for bsd
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 25 Apr 2014 11:59:43 +0000 (13:59 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 29 Apr 2014 23:31:19 +0000 (01:31 +0200)
commit4bf3fe634a4d9dfce90c4167f3a47d0e2ddf1e64
tree8c503e26099d11da87d9749df21aa52528658304
parentc431df41bce3f9d73febea83964b351060f17887
devargs: replace --use-device option by --pci-whitelist and --vdev for bsd

The bsdapp part was missing in commit cac6d08c8bde2fdb57806c49038187cdb54219a8.

This commit splits the "--use-device" option in two new options:

- "--pci-whitelist or -w": add a PCI device in the white list
- "--vdev": instanciate a new virtual device

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_eal/bsdapp/eal/eal.c