4 log /var/log/vpp/vpp.log
6 cli-listen /run/vpp/cli.sock
11 ## This stanza controls binary API tracing. Unless there is a very strong reason,
12 ## please leave this feature enabled.
14 ## Additional parameters:
16 ## To set the number of binary API trace records in the circular buffer, configure nitems
20 ## To save the api message table decode tables, configure a filename. Results in /tmp/<filename>
21 ## Very handy for understanding api message changes between versions, identifying missing
22 ## plugins, and so forth.
24 ## save-api-table <filename>
36 ## In the VPP there is one main thread and optionally the user can create worker(s)
37 ## The main thread and worker thread(s) can be pinned to CPU core(s) manually or automatically
39 ## Manual pinning of thread(s) to CPU core(s)
41 ## Set logical CPU core where main thread runs, if main core is not set
42 ## VPP will use core 1 if available
45 ## Set logical CPU core(s) where worker threads are running
46 # corelist-workers 2-3,18-19
48 ## Automatic pinning of thread(s) to CPU core(s)
50 ## Sets number of CPU core(s) to be skipped (1 ... N-1)
51 ## Skipped CPU core(s) are not used for pinning main thread and working thread(s).
52 ## The main thread is automatically pinned to the first available CPU core and worker(s)
53 ## are pinned to next free CPU core(s) after core assigned to main thread
56 ## Specify a number of workers to be created
57 ## Workers are pinned to N consecutive CPU cores while skipping "skip-cores" CPU core(s)
58 ## and main thread's CPU core
61 ## Set scheduling policy and priority of main and worker threads
63 ## Scheduling policy options are: other (SCHED_OTHER), batch (SCHED_BATCH)
64 ## idle (SCHED_IDLE), fifo (SCHED_FIFO), rr (SCHED_RR)
65 # scheduler-policy fifo
67 ## Scheduling priority is used only for "real-time policies (fifo and rr),
68 ## and has to be in the range of priorities supported for a particular policy
69 # scheduler-priority 50
73 ## Increase number of buffers allocated, needed only in scenarios with
74 ## large number of interfaces and worker threads. Value is per numa node.
75 ## Default is 16384 (8192 if running unpriviledged)
76 # buffers-per-numa 128000
80 ## Change default settings for all interfaces
82 ## Number of receive queues, enables RSS
86 ## Number of transmit queues, Default is equal
87 ## to number of worker threads or 1 if no workers treads
90 ## Number of descriptors in transmit and receive rings
91 ## increasing or reducing number can impact performance
92 ## Default is 1024 for both rx and tx
96 ## VLAN strip offload mode for interface
98 # vlan-strip-offload on
101 ## Whitelist specific interface by specifying PCI address
104 ## Blacklist specific device type by specifying PCI vendor:device
105 ## Whitelist entries take precedence
106 # blacklist 8086:10fb
108 ## Set interface name
113 ## Whitelist specific interface by specifying PCI address and in
114 ## addition specify custom parameters for this interface
119 ## Specify bonded interface and its slaves via PCI addresses
121 ## Bonded interface in XOR load balance mode (mode 2) with L3 and L4 headers
122 # vdev eth_bond0,mode=2,slave=0000:02:00.0,slave=0000:03:00.0,xmit_policy=l34
123 # vdev eth_bond1,mode=2,slave=0000:02:00.1,slave=0000:03:00.1,xmit_policy=l34
125 ## Bonded interface in Active-Back up mode (mode 1)
126 # vdev eth_bond0,mode=1,slave=0000:02:00.0,slave=0000:03:00.0
127 # vdev eth_bond1,mode=1,slave=0000:02:00.1,slave=0000:03:00.1
129 ## Change UIO driver used by VPP, Options are: igb_uio, vfio-pci,
130 ## uio_pci_generic or auto (default)
131 # uio-driver vfio-pci
133 ## Disable multi-segment buffers, improves performance but
134 ## disables Jumbo MTU support
137 ## Change hugepages allocation per-socket, needed only if there is need for
138 ## larger number of mbufs. Default is 256M on each detected CPU socket
139 # socket-mem 2048,2048
141 ## Disables UDP / TCP TX checksum offload. Typically needed for use
142 ## faster vector PMDs (together with no-multi-seg)
143 # no-tx-checksum-offload
148 ## Adjusting the plugin path depending on where the VPP plugins are
149 # path /ws/vpp/build-root/install-vpp-native/vpp/lib/vpp_plugins
151 ## Disable all plugins by default and then selectively enable specific plugins
152 # plugin default { disable }
153 # plugin dpdk_plugin.so { enable }
154 # plugin acl_plugin.so { enable }
156 ## Enable all plugins by default and then selectively disable specific plugins
157 # plugin dpdk_plugin.so { disable }
158 # plugin acl_plugin.so { disable }