igb_uio: don't bind vmxnet3 and virtio devices if disabled
authorDavid Marchand <david.marchand@6wind.com>
Wed, 5 Mar 2014 15:16:28 +0000 (16:16 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 21 Mar 2014 10:25:32 +0000 (11:25 +0100)
commita6bb9c8ced31b8873c29ee827046a210f5afeb70
tree05adb4c6b8023877db77766bda5d424edc6dd007
parent5dbb84c0a8200bfcc60c201aab884e7877576ec6
igb_uio: don't bind vmxnet3 and virtio devices if disabled

When not using vmxnet3-uio and virtio-uio PMDs, prevent igb_uio from binding
these devices. This way, vmxnet3 and virtio PMDs won't fail to initialize
because of a device silently bound to igb_uio.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/linuxapp/igb_uio/igb_uio.c