|
|
|
|
@ -629,15 +629,10 @@ af-packet:
|
|
|
|
|
# Default AF_PACKET cluster type. AF_PACKET can load balance per flow or per hash.
|
|
|
|
|
# This is only supported for Linux kernel > 3.1
|
|
|
|
|
# possible value are:
|
|
|
|
|
# * cluster_round_robin: round robin load balancing
|
|
|
|
|
# * cluster_flow: all packets of a given flow are send to the same socket
|
|
|
|
|
# * cluster_cpu: all packets treated in kernel by a CPU are send to the same socket
|
|
|
|
|
# * cluster_qm: all packets linked by network card to a RSS queue are sent to the same
|
|
|
|
|
# socket. Requires at least Linux 3.14.
|
|
|
|
|
# * cluster_random: packets are sent randomly to sockets but with an equipartition.
|
|
|
|
|
# Requires at least Linux 3.14.
|
|
|
|
|
# * cluster_rollover: kernel rotates between sockets filling each socket before moving
|
|
|
|
|
# to the next. Requires at least Linux 3.10.
|
|
|
|
|
# * cluster_ebpf: eBPF file load balancing. See doc/userguide/capture-hardware/ebpf-xdp.rst for
|
|
|
|
|
# more info.
|
|
|
|
|
# Recommended modes are cluster_flow on most boxes and cluster_cpu or cluster_qm on system
|
|
|
|
|
@ -646,10 +641,6 @@ af-packet:
|
|
|
|
|
# In some fragmentation case, the hash can not be computed. If "defrag" is set
|
|
|
|
|
# to yes, the kernel will do the needed defragmentation before sending the packets.
|
|
|
|
|
defrag: yes
|
|
|
|
|
# After Linux kernel 3.10 it is possible to activate the rollover option: if a socket is
|
|
|
|
|
# full then kernel will send the packet on the next socket with room available. This option
|
|
|
|
|
# can minimize packet drop and increase the treated bandwidth on single intensive flow.
|
|
|
|
|
#rollover: yes
|
|
|
|
|
# To use the ring feature of AF_PACKET, set 'use-mmap' to yes
|
|
|
|
|
#use-mmap: yes
|
|
|
|
|
# Lock memory map to avoid it goes to swap. Be careful that over subscribing could lock
|
|
|
|
|
@ -706,7 +697,6 @@ af-packet:
|
|
|
|
|
- interface: default
|
|
|
|
|
#threads: auto
|
|
|
|
|
#use-mmap: no
|
|
|
|
|
#rollover: yes
|
|
|
|
|
#tpacket-v3: yes
|
|
|
|
|
|
|
|
|
|
# Cross platform libpcap capture support
|
|
|
|
|
|