-
Notifications
You must be signed in to change notification settings - Fork 1
/
loopback_run.2.toml
24 lines (19 loc) · 1.26 KB
/
loopback_run.2.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[netbricks]
name = "TcpGenerator"
master_core = 0
pool_size = 2048 # default 2048
cache_size = 128 # default 32
cores = [ 1, 2, 3 ]
ports = [
{ name="a:00.0", rxd= 1024, txd= 1024, cores = [1, 2, 3], driver= "I40e", loopback= true, fdir = { pballoc="RteFdirPballoc256k", mode="RteFdirModePerfect", ipv4_mask= {src_ip="0.0.0.0", dst_ip="FFFFFFFF"}, src_port_mask="0", dst_port_mask="C000"}},
{ name="kni:1", rxd=64, txd=64, cores = [0], k_cores = [0] }
]
vdev = [ "net_kni0" ] # for use of vdev with KNI PMD, see https://dpdk.org/doc/guides/nics/kni.html
[engine]
engine = { flow_steering= "Ip", namespace="nskni", mac="3c:fd:fe:9e:ce:4c", ipnet="192.168.222.1/24", port=20001, timeouts= { established= 10000 }, cps_limit=200000 }
targets = [ { id = "tcpgen_0", ip = "192.168.222.2", mac="3c:fd:fe:9e:ce:4c" , port = 65535 },
{ id = "tcpgen_1", ip = "192.168.222.3", mac="3c:fd:fe:9e:ce:4c" , port = 65535 },
{ id = "tcpgen_2", ip = "192.168.222.4", mac="3c:fd:fe:9e:ce:4c" , port = 65535 },
# { id = "tcpgen_3", ip = "192.168.222.2", mac="3c:fd:fe:9e:ce:4c" , port = 16383 },
]
test_size = 48000