Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
dpdk: allow interface name to be specified from startup.conf
[vpp.git]
/
src
/
vpp
/
conf
/
startup.conf
diff --git
a/src/vpp/conf/startup.conf
b/src/vpp/conf/startup.conf
index
c1ac123
..
7532f50
100644
(file)
--- a/
src/vpp/conf/startup.conf
+++ b/
src/vpp/conf/startup.conf
@@
-38,7
+38,8
@@
cpu {
## Manual pinning of thread(s) to CPU core(s)
## 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
# main-core 1
## Set logical CPU core(s) where worker threads are running
@@
-69,7
+70,7
@@
cpu {
}
# dpdk {
}
# dpdk {
- ## Change default settings for all intefaces
+ ## Change default settings for all inte
r
faces
# dev default {
## Number of receive queues, enables RSS
## Default is 1
# dev default {
## Number of receive queues, enables RSS
## Default is 1
@@
-93,6
+94,11
@@
cpu {
## Whitelist specific interface by specifying PCI address
# dev 0000:02:00.0
## 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 {
## Whitelist specific interface by specifying PCI address and in
## addition specify custom parameters for this interface
# dev 0000:02:00.1 {
@@
-113,7
+119,7
@@
cpu {
## uio_pci_generic or auto (default)
# uio-driver vfio-pci
## uio_pci_generic or auto (default)
# uio-driver vfio-pci
- ## Disable mu
tl
i-segment buffers, improves performance but
+ ## Disable mu
lt
i-segment buffers, improves performance but
## disables Jumbo MTU support
# no-multi-seg
## disables Jumbo MTU support
# no-multi-seg
@@
-134,7
+140,7
@@
cpu {
# plugins {
## Adjusting the plugin path depending on where the VPP plugins are
# plugins {
## Adjusting the plugin path depending on where the VPP plugins are
- # path /home/bms/vpp/build-root/install-vpp-native/vpp/lib
64
/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 }
## Disable all plugins by default and then selectively enable specific plugins
# plugin default { disable }
@@
-147,4
+153,4
@@
cpu {
# }
## Alternate syntax to choose plugin path
# }
## Alternate syntax to choose plugin path
- # plugin_path /home/bms/vpp/build-root/install-vpp-native/vpp/lib
64
/vpp_plugins
+ # plugin_path /home/bms/vpp/build-root/install-vpp-native/vpp/lib/vpp_plugins