update config.ini
parent
819aafb684
commit
64a2908183
17
config.ini
17
config.ini
|
@ -1,6 +1,6 @@
|
|||
[dpdk]
|
||||
# Hexadecimal bitmask of cores to run on.
|
||||
lcore_mask=1
|
||||
lcore_mask=2
|
||||
|
||||
# Number of memory channels.
|
||||
channel=4
|
||||
|
@ -61,13 +61,22 @@ nb_vdev=0
|
|||
# Number of bond.
|
||||
nb_bond=0
|
||||
|
||||
# Each core write into own pcap file, which is open one time, close one time if enough.
|
||||
# Support dump the first snaplen bytes of each packet.
|
||||
# if pcap file is lager than savelen bytes, it will be closed and next file was dumped into.
|
||||
[pcap]
|
||||
enable = 0
|
||||
snaplen= 96
|
||||
savelen= 16777216
|
||||
|
||||
# Port config section
|
||||
# Correspond to dpdk.port_list's index: port0, port1...
|
||||
|
||||
[port0]
|
||||
addr=192.168.1.2
|
||||
addr=192.168.4.69
|
||||
netmask=255.255.225.0
|
||||
broadcast=192.168.1.255
|
||||
gateway=192.168.1.1
|
||||
broadcast=192.168.4.255
|
||||
gateway=192.168.4.1
|
||||
|
||||
# lcore list used to handle this port
|
||||
# the format is same as port_list
|
||||
|
|
Loading…
Reference in New Issue