diff options
| -rw-r--r-- | conf/mrglobal.conf | 19 | ||||
| -rw-r--r-- | conf/pag.conf | 7 |
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 |
