aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-08-24 10:20:54 +0300
committerMatias Elo <matias.elo@nokia.com>2021-10-04 11:52:54 +0300
commit4377e9dad15e7e6aab1735313dbf175560f201f8 (patch)
tree6d87f6745b5da11f8aa0a751d99e422cd900b360 /config
parent7ea90224a1c59cc26bd1c0c44fc1cab906ba798b (diff)
linux-dpdk: timer: add new implementation using alt dpdk timer
Add new timer implementation using DPDK alternate timer API. The main difference compared to the standard implementation is that threads can also process timers set by any other thread. The alternate timer implementation can be enabled with 'timer.alternate' configuration file option. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'config')
-rw-r--r--config/odp-linux-dpdk.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/odp-linux-dpdk.conf b/config/odp-linux-dpdk.conf
index 4267ba61d..05347e116 100644
--- a/config/odp-linux-dpdk.conf
+++ b/config/odp-linux-dpdk.conf
@@ -191,6 +191,9 @@ timer: {
# a higher resolution than this, the polling rate is increased
# accordingly.
inline_poll_interval_nsec = 500000
+
+ # Use experimental DPDK alternate timer API based implementation
+ alternate = 0
}
ipsec: {