update indent size
parent
4b75b83d36
commit
4dfcdbcc8d
|
@ -1,6 +1,6 @@
|
||||||
[dpdk]
|
[dpdk]
|
||||||
# Hexadecimal bitmask of cores to run on.
|
# Hexadecimal bitmask of cores to run on.
|
||||||
lcore_mask=2
|
lcore_mask=1
|
||||||
|
|
||||||
# Number of memory channels.
|
# Number of memory channels.
|
||||||
channel=4
|
channel=4
|
||||||
|
@ -71,7 +71,6 @@ savelen= 16777216
|
||||||
|
|
||||||
# Port config section
|
# Port config section
|
||||||
# Correspond to dpdk.port_list's index: port0, port1...
|
# Correspond to dpdk.port_list's index: port0, port1...
|
||||||
|
|
||||||
[port0]
|
[port0]
|
||||||
addr=192.168.1.2
|
addr=192.168.1.2
|
||||||
netmask=255.255.225.0
|
netmask=255.255.225.0
|
||||||
|
|
|
@ -1328,7 +1328,8 @@ send_burst(struct lcore_conf *qconf, uint16_t n, uint8_t port)
|
||||||
if (unlikely(ff_global_cfg.pcap.enable)) {
|
if (unlikely(ff_global_cfg.pcap.enable)) {
|
||||||
uint16_t i;
|
uint16_t i;
|
||||||
for (i = 0; i < n; i++) {
|
for (i = 0; i < n; i++) {
|
||||||
ff_dump_packets( ff_global_cfg.pcap.save_path, m_table[i], ff_global_cfg.pcap.snap_len, ff_global_cfg.pcap.save_len);
|
ff_dump_packets( ff_global_cfg.pcap.save_path, m_table[i],
|
||||||
|
ff_global_cfg.pcap.snap_len, ff_global_cfg.pcap.save_len);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue