Configuration: optimize the description.

This commit is contained in:
logwang 2017-12-01 16:53:57 +08:00
parent 8c317b2231
commit aa3f528959
2 changed files with 12 additions and 8 deletions

View File

@ -19,20 +19,20 @@ vlan_strip=1
# num ::= '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'
#
# examples
# 1-3 ports 1,2,3 are enabled
# 0-3 ports 0, 1,2,3 are enabled
# 1-3,4,7 ports 1,2,3,4,7 are enabled
port_list=0
## Port config section
## According to dpdk.nb_ports: port0, port1...
## Correspond to dpdk.port_list's index: port0, port1...
[port0]
addr=192.168.1.2
netmask=255.255.255.0
broadcast=192.168.1.255
gateway=192.168.1.1
# lcore list used to handle this port
# the format is same as port_list
## lcore list used to handle this port
## the format is same as port_list
# lcore_list= 0
## Packet capture path, this will hurt performance
@ -45,6 +45,7 @@ gateway=192.168.1.1
#[kni]
#enable=1
#method=reject
## The format is same as port_list
#tcp_port=80,443
#udp_port=53
@ -69,6 +70,8 @@ net.inet.tcp.tcbhashsize=65536
kern.ipc.somaxconn=32768
kern.ipc.maxsockbuf=16777216
net.link.ether.inet.maxhold=5
net.inet.tcp.fast_finwait2_recycle=1
net.inet.tcp.sendspace=16384
net.inet.tcp.recvspace=8192

View File

@ -19,20 +19,20 @@ vlan_strip=1
# num ::= '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'
#
# examples
# 1-3 ports 1,2,3 are enabled
# 0-3 ports 0, 1,2,3 are enabled
# 1-3,4,7 ports 1,2,3,4,7 are enabled
port_list=0
## Port config section
## According to dpdk.nb_ports: port0, port1...
## Correspond to dpdk.port_list's index: port0, port1...
[port0]
addr=192.168.1.2
netmask=255.255.255.0
broadcast=192.168.1.255
gateway=192.168.1.1
# lcore list used to handle this port
# the format is same as port_list
## lcore list used to handle this port
## the format is same as port_list
# lcore_list= 0
## Packet capture path, this will hurt performance
@ -45,6 +45,7 @@ gateway=192.168.1.1
#[kni]
#enable=1
#method=reject
## The format is same as port_list
#tcp_port=80,443
#udp_port=53