aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/conf
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-04-29 18:47:25 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2021-04-30 17:02:32 +0000
commit88b2e3682be6303973fc59c3c62141d64a9e10d7 (patch)
tree80337f9ba278dd3ebad7badb94f1ee9fd13a3bae /src/vpp/conf
parent10796899cf3005df2575fb55be4956792db2c5d8 (diff)
misc: experimental configure script
Type: make Change-Id: Iaeb9d22eec9a7a763b63899814a44e78c8050f1f Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vpp/conf')
-rw-r--r--src/vpp/conf/startup.conf.in47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/vpp/conf/startup.conf.in b/src/vpp/conf/startup.conf.in
new file mode 100644
index 00000000000..dd3c37120e2
--- /dev/null
+++ b/src/vpp/conf/startup.conf.in
@@ -0,0 +1,47 @@
+
+unix {
+ interactive
+ # log @CMAKE_BINARY_DIR@/vpp.log
+ # full-coredump
+ # cli-listen @CMAKE_BINARY_DIR@/cli.sock
+ # exec @CMAKE_BINARY_DIR@/startup.vpp
+}
+
+api-trace {
+ on
+}
+
+memory {
+ main-heap-size 1G
+ # main-heap-page-size 1G
+}
+
+cpu {
+ # main-core 1
+ # corelist-workers 2-3,18-19
+}
+
+# buffers {
+ # buffers-per-numa 128000
+ # page-size default-hugepage
+# }
+
+plugins {
+ plugin dpdk_plugin.so { disable }
+ plugin unittest_plugin.so { enable }
+}
+
+# dpdk {
+# no-pci
+#}
+
+statseg {
+ size 32m
+ # page-size 4k
+ # socket-name @CMAKE_BINARY_DIR@/stats.sock
+}
+
+#logging {
+ # default-syslog-log-level debug
+ # class dpdk/cryptodev { rate-limit 100 level debug syslog-level error }
+#}