aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/conf/startup.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp/conf/startup.conf')
-rw-r--r--src/vpp/conf/startup.conf36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/vpp/conf/startup.conf b/src/vpp/conf/startup.conf
index f671439b..6438f770 100644
--- a/src/vpp/conf/startup.conf
+++ b/src/vpp/conf/startup.conf
@@ -98,6 +98,42 @@ cpu {
# socket-mem 2048,2048
# }
+# odp {
+ # platform-params {
+ # memory 100
+ # }
+
+ ## Number of packets in allocated pool
+ # num-pkts-in-pool 10240
+
+ ## Delay in microseconds between calls to odp_schedule_multi
+ # rx-sched-wait 0
+
+ ## Limit of output burst size. May increase performance.
+ # tx-burst-size 32
+
+ ## Default configuration for all ODP devices.
+ ## rx-mode can be set to burst, queue or sched
+ ## tx-mode can be burst, queue or tm (traffic manager)
+ ## num-rx-queues can be set to more than 1 to enable RSS
+ ## num-tx-queues can be 'max' (separate queue for each thread) or 1
+ # default {
+ # rx-mode burst
+ # tx-mode burst
+ # num-rx-queues 1
+ # num-tx-queues max
+ # }
+
+ ## Defined ODP devices are created automatically at startup.
+ ## dev (DPDK port number) [{ options }]
+ ## hw-addr - if not specified, MAC will be read from hardware
+ # dev 0 {
+ # rx-mode queue
+ # num-rx-queues 2
+ # hw-addr 3c:fd:fe:a4:37:99
+ # }
+# }
+
# Adjusting the plugin path depending on where the VPP plugins are:
#plugins
#{