diff options
-rw-r--r-- | src/plugins/dpdk/device/driver.c | 4 | ||||
-rw-r--r-- | src/plugins/dpdk/device/init.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/dpdk/device/driver.c b/src/plugins/dpdk/device/driver.c index eef191e5fdc..4b13e03b06f 100644 --- a/src/plugins/dpdk/device/driver.c +++ b/src/plugins/dpdk/device/driver.c @@ -125,6 +125,10 @@ static dpdk_driver_t dpdk_drivers[] = { .n_tx_desc = 256, .mq_mode_none = 1, .enable_rxq_int = 1, + }, + { + .drivers = DPDK_DRIVERS ({ "net_gve", "Google vNIC" }), + .interface_name_prefix = "VirtualFunctionEthernet", } }; diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c index 74181ead11d..847affea243 100644 --- a/src/plugins/dpdk/device/init.c +++ b/src/plugins/dpdk/device/init.c @@ -676,6 +676,9 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf) d->device_id == 0x1614 || d->device_id == 0x1606 || d->device_id == 0x1609 || d->device_id == 0x1614))) ; + /* Google vNIC */ + else if (d->vendor_id == 0x1ae0 && d->device_id == 0x0042) + ; else { dpdk_log_warn ("Unsupported PCI device 0x%04x:0x%04x found " |