|
|
|
|
@ -157,11 +157,10 @@ nfq:
|
|
|
|
|
# af-packet support
|
|
|
|
|
# Set threads to > 1 to use PACKET_FANOUT support
|
|
|
|
|
af-packet:
|
|
|
|
|
- interface: eth0
|
|
|
|
|
# Number of receive threads (>1 will enable experimental flow pinned
|
|
|
|
|
# runmode)
|
|
|
|
|
threads: 1
|
|
|
|
|
# default network interface
|
|
|
|
|
interface: eth0
|
|
|
|
|
# Default clusterid. AF_PACKET will load balance packets based on flow.
|
|
|
|
|
# All threads/processes that will participate need to have the same
|
|
|
|
|
# clusterid.
|
|
|
|
|
@ -178,6 +177,12 @@ af-packet:
|
|
|
|
|
defrag: yes
|
|
|
|
|
# recv buffer size, increase value could improve performance
|
|
|
|
|
# buffer-size: 32768
|
|
|
|
|
- interface: eth1
|
|
|
|
|
threads: 1
|
|
|
|
|
cluster-id: 98
|
|
|
|
|
cluster-type: cluster_round_robin
|
|
|
|
|
defrag: yes
|
|
|
|
|
# buffer-size: 32768
|
|
|
|
|
|
|
|
|
|
defrag:
|
|
|
|
|
max-frags: 65535
|
|
|
|
|
|