aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciek Konstantynowicz <mkonstan@cisco.com>2018-03-28 19:39:24 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2018-03-30 20:47:32 +0000
commit6091d230e3786c635eea3513d73af45081a5770c (patch)
treefbf832f8ab70be775edbaad818b2225fd9f85998
parent4dc8397629a30f3462ad695496ee3f943d85457d (diff)
Updated sample startup.conf with supported plugin config options.
Change-Id: Id2884a4c2208b4382fce56019b11e4b7fdc4275b Signed-off-by: Maciek Konstantynowicz <mkonstan@cisco.com>
-rw-r--r--src/vpp/conf/startup.conf29
1 files changed, 19 insertions, 10 deletions
diff --git a/src/vpp/conf/startup.conf b/src/vpp/conf/startup.conf
index 2a12ef9ec2a..7ed279840fa 100644
--- a/src/vpp/conf/startup.conf
+++ b/src/vpp/conf/startup.conf
@@ -15,7 +15,7 @@ api-trace {
##
## To set the number of binary API trace records in the circular buffer, configure nitems
##
-## nitems <nnn>
+## nitems <nnn>
##
## To save the api message table decode tables, configure a filename. Results in /tmp/<filename>
## Very handy for understanding api message changes between versions, identifying missing
@@ -96,8 +96,8 @@ cpu {
# }
## Specify bonded interface and its slaves via PCI addresses
- ##
- ## Bonded interface in XOR load balance mode (mode 2) with L3 and L4 headers
+ ##
+ ## Bonded interface in XOR load balance mode (mode 2) with L3 and L4 headers
# vdev eth_bond0,mode=2,slave=0000:02:00.0,slave=0000:03:00.0,xmit_policy=l34
# vdev eth_bond1,mode=2,slave=0000:02:00.1,slave=0000:03:00.1,xmit_policy=l34
##
@@ -127,11 +127,20 @@ cpu {
# no-tx-checksum-offload
# }
-# Adjusting the plugin path depending on where the VPP plugins are:
-#plugins
-#{
-# path /home/bms/vpp/build-root/install-vpp-native/vpp/lib64/vpp_plugins
-#}
-# Alternate syntax to choose plugin path
-#plugin_path /home/bms/vpp/build-root/install-vpp-native/vpp/lib64/vpp_plugins
+# 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
+
+ ## Disable all plugins by default and then selectively enable specific plugins
+ # plugin default { disable }
+ # plugin dpdk_plugin.so { enable }
+ # plugin acl_plugin.so { enable }
+
+ ## Enable all plugins by default and then selectively disable specific plugins
+ # plugin dpdk_plugin.so { disable }
+ # plugin acl_plugin.so { disable }
+# }
+
+ ## Alternate syntax to choose plugin path
+ # plugin_path /home/bms/vpp/build-root/install-vpp-native/vpp/lib64/vpp_plugins