dpdk: allow interface name to be specified from startup.conf
[vpp.git] / src / vpp / conf / startup.conf
index 7ed2798..7532f50 100644 (file)
@@ -28,13 +28,18 @@ api-segment {
   gid vpp
 }
 
+socksvr {
+  default
+}
+
 cpu {
        ## In the VPP there is one main thread and optionally the user can create worker(s)
        ## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically
 
        ## Manual pinning of thread(s) to CPU core(s)
 
-       ## Set logical CPU core where main thread runs
+       ## Set logical CPU core where main thread runs, if main core is not set
+       ## VPP will use core 1 if available
        # main-core 1
 
        ## Set logical CPU core(s) where worker threads are running
@@ -65,7 +70,7 @@ cpu {
 }
 
 # dpdk {
-       ## Change default settings for all intefaces
+       ## Change default settings for all interfaces
        # dev default {
                ## Number of receive queues, enables RSS
                ## Default is 1
@@ -89,6 +94,11 @@ cpu {
        ## Whitelist specific interface by specifying PCI address
        # dev 0000:02:00.0
 
+       ## Set interface name
+       # dev 0000:02:00.1 {
+       #       name eth0
+       # }
+
        ## Whitelist specific interface by specifying PCI address and in
        ## addition specify custom parameters for this interface
        # dev 0000:02:00.1 {
@@ -109,7 +119,7 @@ cpu {
        ## uio_pci_generic or auto (default)
        # uio-driver vfio-pci
 
-       ## Disable mutli-segment buffers, improves performance but
+       ## Disable multi-segment buffers, improves performance but
        ## disables Jumbo MTU support
        # no-multi-seg
 
@@ -130,7 +140,7 @@ cpu {
 
 # plugins {
        ## Adjusting the plugin path depending on where the VPP plugins are
-       #       path /home/bms/vpp/build-root/install-vpp-native/vpp/lib64/vpp_plugins
+       #       path /home/bms/vpp/build-root/install-vpp-native/vpp/lib/vpp_plugins
 
        ## Disable all plugins by default and then selectively enable specific plugins
        # plugin default { disable }
@@ -143,4 +153,4 @@ cpu {
 # }
 
        ## Alternate syntax to choose plugin path
-       # plugin_path /home/bms/vpp/build-root/install-vpp-native/vpp/lib64/vpp_plugins
+       # plugin_path /home/bms/vpp/build-root/install-vpp-native/vpp/lib/vpp_plugins