netfilter: nf_tables: performance set policy skips size description in selection
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Nov 2017 04:57:13 +0000 (05:57 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 7 Nov 2017 00:00:30 +0000 (01:00 +0100)
commit644e334eeec01a25138b62ebd576b3a798183c7c
tree6bddc584ce4a2259f70f4de1f3e0869d5488c7f0
parent0984d427c1d3cb2aa882c9ad9e787ba973cf2915
netfilter: nf_tables: performance set policy skips size description in selection

Use the complexity and space notations if policy is performance, this
results in placing the bitmap set representation over the hashtable for
key <= 16 for better performance as we discussed during the last NFWS in
Faro, Portugal.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c