11[dpdk]
2- # # Hexadecimal bitmask of cores to run on.
2+ # Hexadecimal bitmask of cores to run on.
33lcore_mask =1
4+
5+ # Number of memory channels.
46channel =4
7+
8+ # Specify base virtual address to map.
9+ # base_virtaddr=0x7f0000000000
10+
11+ # Promiscuous mode of nic, defualt: enabled.
512promiscuous =1
613numa_on =1
7- # # TCP segment offload, default: disabled.
14+
15+ # TCP segment offload, default: disabled.
816tso =0
9- # # HW vlan strip, default: enabled.
17+
18+ # HW vlan strip, default: enabled.
1019vlan_strip =1
1120
1221# sleep when no pkts incomming
@@ -27,40 +36,40 @@ idle_sleep=100
2736# 1-3,4,7 ports 1,2,3,4,7 are enabled
2837port_list =0
2938
30- # # Port config section
31- # # Correspond to dpdk.port_list's index: port0, port1...
39+ # Port config section
40+ # Correspond to dpdk.port_list's index: port0, port1...
3241[port0]
3342addr =192.168.1.2
3443netmask =255.255.255.0
3544broadcast =192.168.1.255
3645gateway =192.168.1.1
3746
38- # # lcore list used to handle this port
39- # # the format is same as port_list
47+ # lcore list used to handle this port
48+ # the format is same as port_list
4049# lcore_list= 0
4150
42- # # Packet capture path, this will hurt performance
51+ # Packet capture path, this will hurt performance
4352# pcap=./a.pcap
4453
45- # # Kni config: if enabled and method=reject,
46- # # all packets that do not belong to the following tcp_port and udp_port
47- # # will transmit to kernel; if method=accept, all packets that belong to
48- # # the following tcp_port and udp_port will transmit to kernel.
54+ # Kni config: if enabled and method=reject,
55+ # all packets that do not belong to the following tcp_port and udp_port
56+ # will transmit to kernel; if method=accept, all packets that belong to
57+ # the following tcp_port and udp_port will transmit to kernel.
4958# [kni]
5059# enable=1
5160# method=reject
52- # # The format is same as port_list
61+ # The format is same as port_list
5362# tcp_port=80,443
5463# udp_port=53
5564
56- # # FreeBSD network performance tuning configurations.
57- # # Most native FreeBSD configurations are supported.
65+ # FreeBSD network performance tuning configurations.
66+ # Most native FreeBSD configurations are supported.
5867[freebsd.boot]
5968hz =100
6069
61- # # Block out a range of descriptors to avoid overlap
62- # # with the kernel's descriptor space.
63- # # You can increase this value according to your app.
70+ # Block out a range of descriptors to avoid overlap
71+ # with the kernel's descriptor space.
72+ # You can increase this value according to your app.
6473fd_reserve =1024
6574
6675kern.ipc.maxsockets =262144
0 commit comments