From 6091d230e3786c635eea3513d73af45081a5770c Mon Sep 17 00:00:00 2001 From: Maciek Konstantynowicz Date: Wed, 28 Mar 2018 19:39:24 +0100 Subject: [PATCH] Updated sample startup.conf with supported plugin config options. Change-Id: Id2884a4c2208b4382fce56019b11e4b7fdc4275b Signed-off-by: Maciek Konstantynowicz --- src/vpp/conf/startup.conf | 29 +++++++++++++++++++---------- 1 file 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 +## nitems ## ## To save the api message table decode tables, configure a filename. Results in /tmp/ ## 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 -- 2.16.6