11[dpdk]
22# Hexadecimal bitmask of cores to run on.
3- lcore_mask =10
3+ lcore_mask =1
44
55# Number of memory channels.
66channel =4
@@ -27,11 +27,11 @@ vlan_strip=1
2727# Set [vlanN]'s addrs like [portN] later
2828# the format is same as port_list
2929# Set vlan filter id, to enable L3/L4 RSS below vlan hdr is not enable after f-stack-1.22.
30- # vlan_filter=1,2,4-6
30+ vlan_filter =1,2,4-6
3131
3232# sleep when no pkts incomming
3333# unit: microseconds
34- idle_sleep =20
34+ idle_sleep =0
3535
3636# sent packet delay time(0-100) while send less than 32 pkts.
3737# default 100 us.
@@ -98,11 +98,16 @@ nb_bond=0
9898# Each core write into own pcap file, which is open one time, close one time if enough.
9999# Support dump the first snaplen bytes of each packet.
100100# if pcap file is lager than savelen bytes, it will be closed and next file was dumped into.
101+ # timestamp_precision: 0 = microseconds (default, standard pcap magic 0xA1B2C3D4),
102+ # 1 = nanoseconds (nanosecond pcap magic 0xA1B23C4D).
103+ # Nanosecond mode uses clock_gettime(CLOCK_REALTIME) for ns-level timestamps.
104+ # Wireshark and tcpdump >= 4.0 can parse nanosecond pcap files automatically.
101105[pcap]
102106enable =0
103107snaplen =96
104108savelen =16777216
105109savepath =.
110+ timestamp_precision =0
106111
107112# Stack selection: the default protocol stack for sockets that do NOT set an
108113# explicit SOCK_KERNEL/SOCK_FSTACK marker on the socket() `type` argument.
@@ -119,10 +124,10 @@ default_stack=fstack
119124# Port config section
120125# Correspond to dpdk.port_list's index: port0, port1...
121126[port0]
122- addr =9.134.214.176
123- netmask =255.255.248 .0
124- broadcast =9.134.215 .255
125- gateway =9.134.208 .1
127+ addr =192.168.1.2
128+ netmask =255.255.255 .0
129+ broadcast =192.168.1 .255
130+ gateway =192.168.1 .1
126131# set interface name, Optional parameter.
127132# if_name=eno7
128133
0 commit comments