af-packet: change configuration format for multi interface

remotes/origin/master-1.1.x
Eric Leblond 14 years ago committed by Victor Julien
parent dc667af1a1
commit 18c6503a08

@ -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

Loading…
Cancel
Save