aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/conf/startup.conf
diff options
context:
space:
mode:
authorMichal Mazur <mkm@semihalf.com>2017-12-19 12:11:47 +0100
committerMichal Mazur <mkm@semihalf.com>2017-12-27 14:27:26 +0100
commit7abe5825508fd48d6b010a3eaff346d715e17e24 (patch)
tree6f085896c6406a4a5b525b46134c236a987fe8f2 /src/vpp/conf/startup.conf
parent945f7e8ebe39ffa80dfb38b950406a7dd4935f1f (diff)
Fix and improve Rx Scheduler mode
Fix support of atomic mode and add two new modes: parallel and ordered. Three modes of synchronization between threads are supported now: - parallel - no synchronization between events - ordered - relative sequence of events is restored in output queues - atomic - only a single thread may process events from a single queue Change-Id: I9399aa601f0927042ac0f7f1e5f265f4d47724b8 Signed-off-by: Michal Mazur <mkm@semihalf.com>
Diffstat (limited to 'src/vpp/conf/startup.conf')
-rw-r--r--src/vpp/conf/startup.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vpp/conf/startup.conf b/src/vpp/conf/startup.conf
index 6438f770..d6d2d278 100644
--- a/src/vpp/conf/startup.conf
+++ b/src/vpp/conf/startup.conf
@@ -101,6 +101,7 @@ cpu {
# odp {
# platform-params {
# memory 100
+ # cmdline { <additional-parameters> }
# }
## Number of packets in allocated pool
@@ -113,8 +114,9 @@ cpu {
# 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)
+ ## rx-mode can be set to burst (default), queue, sched(-atomic),
+ ## sched-ordered, sched-parallel
+ ## tx-mode can be burst (default) or queue (forced for sched-ordered)
## 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 {