path: root/tests
diff options
authorShivani Bhardwaj <>2016-04-07 22:58:54 +0530
committerPablo Neira Ayuso <>2016-04-13 01:22:08 +0200
commitb9d6a7b68e93c9a7a48b2dada6e7380190480b79 (patch)
treea8aa569834fee3b1d064c6ffaf7a847f167cd4b1 /tests
parent4176c7d30c2ff1b3f52468fc9c08b8df83f979a8 (diff)
src: evaluate: Show error for fanout without balance
The idea of fanout option is to improve the performance by indexing CPU ID to map packets to the queues. This is used for load balancing. Fanout option is not required when there is a single queue specified. According to iptables, queue balance should be specified in order to use fanout. Following that, throw an error in nftables if the range of queues for load balancing is not specified with the fanout option. After this patch, $ sudo nft add rule ip filter forward counter queue num 0 fanout <cmdline>:1:46-46: Error: fanout requires a range to be specified add rule ip filter forward counter queue num 0 fanout ^^^^^ Signed-off-by: Shivani Bhardwaj <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions