aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/vnet/devices/dpdk/init.c2
-rw-r--r--src/vpp/conf/startup.conf6
-rw-r--r--src/vpp/conf/startup.uiopcigeneric.conf18
3 files changed, 4 insertions, 22 deletions
diff --git a/src/vnet/devices/dpdk/init.c b/src/vnet/devices/dpdk/init.c
index 01ef48cb0f3..7249cc52e9b 100755
--- a/src/vnet/devices/dpdk/init.c
+++ b/src/vnet/devices/dpdk/init.c
@@ -1165,7 +1165,7 @@ dpdk_config (vlib_main_t * vm, unformat_input_t * input)
}
if (!conf->uio_driver_name)
- conf->uio_driver_name = format (0, "igb_uio%c", 0);
+ conf->uio_driver_name = format (0, "uio_pci_generic%c", 0);
/*
* Use 1G huge pages if available.
diff --git a/src/vpp/conf/startup.conf b/src/vpp/conf/startup.conf
index bce002027bf..a100e3e6ea7 100644
--- a/src/vpp/conf/startup.conf
+++ b/src/vpp/conf/startup.conf
@@ -80,9 +80,9 @@ dpdk {
# num-rx-queues 2
# }
- ## Change UIO driver used by VPP, Options are: uio_pci_generic, vfio-pci
- ## and igb_uio (default)
- # uio-driver uio_pci_generic
+ ## Change UIO driver used by VPP, Options are: igb_uio, vfio-pci
+ ## and uio_pci_generic (default)
+ # uio-driver vfio-pci
## Disable mutli-segment buffers, improves performance but
## disables Jumbo MTU support
diff --git a/src/vpp/conf/startup.uiopcigeneric.conf b/src/vpp/conf/startup.uiopcigeneric.conf
deleted file mode 100644
index 03a89dff70f..00000000000
--- a/src/vpp/conf/startup.uiopcigeneric.conf
+++ /dev/null
@@ -1,18 +0,0 @@
-
-unix {
- nodaemon
- log /tmp/vpp.log
- full-coredump
-}
-
-dpdk {
- uio-driver uio_pci_generic
-}
-
-api-trace {
- on
-}
-
-api-segment {
- gid vpp
-}