-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmacswap_run.toml
23 lines (19 loc) · 1.21 KB
/
macswap_run.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[netbricks]
name = "TcpGenerator"
master_core = 0
pool_size = 2048 # default 2048
cache_size = 128 # default 32
cores = [ 1, 2, 3 ]
ports = [
{ name="7:00.0", rxd=2048, txd= 2048, cores = [1, 2, 3], 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 = { namespace="nskni", mac="a0:36:9f:82:9c:fc", ipnet="192.168.222.2/24", port=20001, timeouts= { established= 10000 }, cps_limit=150000 }
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.2", mac="3c:fd:fe:9e:ce:4c" , port = 49151 },
{ id = "tcpgen_2", ip = "192.168.222.2", mac="3c:fd:fe:9e:ce:4c" , port = 32767 },
# { id = "tcpgen_3", ip = "192.168.222.2", mac="3c:fd:fe:9e:ce:4c" , port = 16383 },
]
test_size = 16000