Add packet IO module

* support marsio
    * support dumpfile ( 1 thread read dumpfile & N thread handle packet)
This commit is contained in:
luwenpeng
2024-02-28 16:30:03 +08:00
parent 2e748e0821
commit 7952ae7283
32 changed files with 1548 additions and 467 deletions

View File

@@ -1,13 +1,22 @@
[system]
app_symbol = stellar
dev_symbol = nf_0_fw
[device]
device_base = 1 # [0, 31]
device_offset = 2 # [0, 127]
[packet_io]
mode = dumpfile # dumpfile, marsio
dumpfile_dir = "/tmp/dumpfile/"
app_symbol = stellar
dev_symbol = nf_0_fw
nr_threads = 1 # [1, 256]
cpu_mask = [5, 6, 7, 8, 9, 10, 11, 12]
[ip_reassemble]
enable = 1
timeout = 10 # seconds
bucket_entries = 8
bucket_num = 4096
[session_manager]
# max session number
max_tcp_session_num = 100