|
1 |
| -[dpdk] |
2 |
| -# Hexadecimal bitmask of cores to run on. |
3 |
| -lcore_mask=1 |
4 |
| - |
5 |
| -# Number of memory channels. |
6 |
| -channel=4 |
7 |
| - |
8 |
| -# Specify base virtual address to map. |
9 |
| -#base_virtaddr=0x7f0000000000 |
10 |
| - |
11 |
| -# Promiscuous mode of nic, defualt: enabled. |
12 |
| -promiscuous=1 |
13 |
| -numa_on=1 |
14 |
| - |
15 |
| -# TCP segment offload, default: disabled. |
16 |
| -tso=0 |
17 |
| - |
18 |
| -# HW vlan strip, default: enabled. |
19 |
| -vlan_strip=1 |
20 |
| - |
21 |
| -# sleep when no pkts incomming |
22 |
| -# unit: microseconds |
23 |
| -idle_sleep=100 |
24 |
| - |
25 |
| -# enabled port list |
26 |
| -# |
27 |
| -# EBNF grammar: |
28 |
| -# |
29 |
| -# exp ::= num_list {"," num_list} |
30 |
| -# num_list ::= <num> | <range> |
31 |
| -# range ::= <num>"-"<num> |
32 |
| -# num ::= '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' |
33 |
| -# |
34 |
| -# examples |
35 |
| -# 0-3 ports 0, 1,2,3 are enabled |
36 |
| -# 1-3,4,7 ports 1,2,3,4,7 are enabled |
37 |
| -port_list=0 |
38 |
| - |
39 | 1 | # Port config section
|
40 |
| -# Correspond to dpdk.port_list's index: port0, port1... |
| 2 | +# Correspond to port_list's index: port0, port1... |
41 | 3 | [port0]
|
42 | 4 | addr=192.168.63.139
|
43 | 5 | netmask=255.255.255.0
|
44 | 6 | broadcast=192.168.63.255
|
45 | 7 | gateway=192.168.63.2
|
46 | 8 | mac=00:11:22:33:44:55
|
47 | 9 |
|
48 |
| -# lcore list used to handle this port |
49 |
| -# the format is same as port_list |
50 |
| -# lcore_list= 0 |
51 |
| - |
52 |
| -# Packet capture path, this will hurt performance |
53 |
| -#pcap=./a.pcap |
54 |
| - |
55 |
| -# Kni config: if enabled and method=reject, |
56 |
| -# all packets that do not belong to the following tcp_port and udp_port |
57 |
| -# will transmit to kernel; if method=accept, all packets that belong to |
58 |
| -# the following tcp_port and udp_port will transmit to kernel. |
59 |
| -[kni] |
60 |
| -enable=1 |
61 |
| -method=reject |
62 |
| -# The format is same as port_list |
63 |
| -tcp_port=80,443 |
64 |
| -udp_port=53 |
65 |
| - |
66 | 10 | # FreeBSD network performance tuning configurations.
|
67 | 11 | # Most native FreeBSD configurations are supported.
|
68 | 12 | [freebsd.boot]
|
|
0 commit comments