test: add IP reassembly test case for pcap IO

This commit is contained in:
luwenpeng
2024-10-23 15:24:10 +08:00
parent 99d933bd8d
commit 08b5ecd728
9 changed files with 289 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
[packet_io]
mode = "pcapfile" # pcapfile, pcaplist, marsio
app_symbol = "stellar"
dev_symbol = "nf_0_fw"
pcap_path = "./pcap/IPv4_frags_UDP.pcap"
thread_num = 1 # range: [1, 256]
cpu_mask = [5, 6, 7, 8, 9, 10, 11, 12]
idle_yield_ms = 900 # range: [0, 60000] (ms)
[packet_io.packet_pool]
capacity = 1024 # range: [1, 4294967295]
[packet_io.ip_reassembly]
fail_action = 1 # 0: bypass, 1: drop
timeout_ms = 1000 # range: [1, 60000] (ms)
frag_queue_num = 1024 # range: [1, 4294967295]
frag_queue_size = 64 # range: [2, 65535]