eal: parse driver argument before probing drivers
authorJan Blunck <jblunck@infradead.org>
Tue, 11 Apr 2017 15:44:09 +0000 (17:44 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 18 Apr 2017 16:58:27 +0000 (18:58 +0200)
commitd39670086a6357b11326b61deeb5d599ffdd42cb
treea5290b81f763b29e4a36f576806ba10514a42fb4
parentbeec692c515774d5b44cbcf580c8b90bd283b398
eal: parse driver argument before probing drivers

In some cases the virtual device name should be totally different than
the driver being used for the device. Therefore lets parse the devargs for
the "driver" argument before probing drivers in vdev_probe_all_drivers().

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
lib/librte_eal/common/eal_common_vdev.c