Fix: unnecesary uio binding for Mellanox NIC
UIO binding is not required for Mellanox NIC and calling vlib_pci_bind_to_uio() should be skipped. Change-Id: I10ea457bc3c8d4be8117dec51d5bd940ee416a44 Signed-off-by: Steve Shin <jonshin@cisco.com>
This commit is contained in:
@ -692,7 +692,9 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf)
|
|||||||
;
|
;
|
||||||
/* Mellanox */
|
/* Mellanox */
|
||||||
else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1013 && d->device_id <= 0x101a)
|
else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1013 && d->device_id <= 0x101a)
|
||||||
;
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
clib_warning ("Unsupported PCI device 0x%04x:0x%04x found "
|
clib_warning ("Unsupported PCI device 0x%04x:0x%04x found "
|
||||||
|
Reference in New Issue
Block a user