summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2016-10-28 10:41:15 +0800
committerQiuwen Lu <[email protected]>2016-10-28 10:41:15 +0800
commita6a6c0630d71df0ed391966a859d77833d785e2a (patch)
treec0d473e25dde0ea8ce039faa9cd0c363ca2cfe00 /conf
parent41b836c414b7e6119952e78bc8d3962566efa1a8 (diff)
更新配置文件样本
Diffstat (limited to 'conf')
-rw-r--r--conf/mrglobal.conf19
-rw-r--r--conf/pag.conf7
2 files changed, 23 insertions, 3 deletions
diff --git a/conf/mrglobal.conf b/conf/mrglobal.conf
index c3de750..ab9b8c9 100644
--- a/conf/mrglobal.conf
+++ b/conf/mrglobal.conf
@@ -1,8 +1,21 @@
+[device]
+device=mr0,mr1
+[device:mr0]
+in_addr=192.168.44.101
+in_mask=255.255.255.0
+gateway=192.168.44.1
+mtu=1500
+promisc=1
+[device:mr1]
+mtu=1500
+promisc=1
+vlan-strip=0
+vlan-filter=0
+rssmode=1
+
[service]
# lcore id for i/o service, use comma to split
iocore=1,2
-# device enabled. defined in mrdevice.conf
-device=mr0,mr1,mr2,mr3
# packet distributer mode
# value can be:
# 0:tuple2,source ip and dest ip(software)
@@ -35,4 +48,4 @@ txstream=4
[stat]
enable=1
[eal]
-virtaddr=0x7f40c4a00000 \ No newline at end of file
+virtaddr=0x7f40c4a00000
diff --git a/conf/pag.conf b/conf/pag.conf
new file mode 100644
index 0000000..18edee3
--- /dev/null
+++ b/conf/pag.conf
@@ -0,0 +1,7 @@
+[pag]
+dev_name=mr0,mr1
+app_name=sapp
+burst_rx=64
+burst_tx=64
+coremask=0xff
+autoexit=0