-
Notifications
You must be signed in to change notification settings - Fork 10
/
proxy_run.toml
23 lines (20 loc) · 1.58 KB
/
proxy_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 = "proxyengine"
master_core = 0
pool_size = 2048 # default 2048
cache_size = 128 # default 32
cores = [ 1, 2, 3 ]
ports = [
{ name="7:00.0", rxd= 512, txd= 512, cores = [1, 2, 3], checksum = false, driver= "Ixgbe", kni="virtio:virtio_user0", fdir = { pballoc="RteFdirPballoc256k", mode="RteFdirModePerfect", ipv4_mask= {src_ip="0.0.0.0", dst_ip="FFFFFFFF"}, src_port_mask="0", dst_port_mask="FC00"}, flow_steering= "Ip" },
{ name="kni:1", rxd=64, txd=64, cores = [1], k_cores = [1], namespace="nskni", mac="a0:36:9f:82:9c:fc", ipnet="192.168.222.8/24" },
{ name="virtio:virtio_user0,path=/dev/vhost-net,iface=tap00,queues={},queue_size=1024", rxd=1024, txd=1024, cores = [1], namespace="nsvirtio00", mac="a0:36:9f:82:9c:fc", ipnet="192.168.222.8/24" }
]
vdev = [ "net_kni0" ] # for use of vdev with KNI PMD, see https://dpdk.org/doc/guides/nics/kni.html
[proxyengine]
engine = { port=999, timeouts= { established= 2000 }, detailed_records= true }
targets = [ { id = "tcpgen_0", ip = "192.168.222.3", mac="3c:fd:fe:9e:ce:4c" , port = 65535 },
{ id = "tcpgen_1", ip = "192.168.222.4", mac="3c:fd:fe:9e:ce:4c" , port = 65535 },
{ id = "tcpgen_2", ip = "192.168.222.5", mac="3c:fd:fe:9e:ce:4c" , port = 65535 },
{ id = "tcpgen_3", ip = "192.168.222.6", mac="3c:fd:fe:9e:ce:4c" , port = 65535 },
{ id = "tcpgen_4", ip = "192.168.222.7", mac="3c:fd:fe:9e:ce:4c" , port = 65535 },
]