Skip to content

Commit 3c31cc5

Browse files
committed
Add thread_mode and DPDK EAL options to config.ini
Document thread_mode (native-mt), memory, no_huge, file_prefix as commented defaults so users know they exist.
1 parent cc65023 commit 3c31cc5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

config.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,19 @@
22
# Hexadecimal bitmask of cores to run on.
33
lcore_mask=1
44

5+
# Thread mode: 0=multi-process (default), 1=single-process multi-thread.
6+
# In thread_mode=1, all lcores in lcore_mask run as threads in one process,
7+
# each with its own vnet stack instance. nb_threads = lcore_mask set-bit count.
8+
#thread_mode=0
9+
510
# Number of memory channels.
611
channel=4
712

13+
# DPDK EAL options (all optional, commented = use DPDK defaults).
14+
#memory=1024
15+
#no_huge=0
16+
#file_prefix=dpdk
17+
818
# Specify base virtual address to map.
919
#base_virtaddr=0x7f0000000000
1020

0 commit comments

Comments
 (0)