Re: [PATCH net-next 3/3] nftables: Convert nft_hash to use generic rhashtable

From
Patrick McHardy <hidden>
Date
2014-08-01 10:28:47
Also in
lkml, netfilter-devel
Reply to
Thomas Graf, 2014-08-01
On 1. August 2014 09:52:00 GMT+01:00, Thomas Graf [off-list ref] wrote:
If the set size is known in advance, the table is sized accordingly,
otherwise the table size will default to 64. This is a slight change
in behaviour as previously the default was 4 which eventually required
many expansion iterations.
That's assuming a sufficient number of entries will be added. I think there
will be many cases in nftables where the number will be lower. Since
expansion is not very expansive this number was chosen very deliberately
and I'd prefer to keep it.

Other than that:

Acked-by: Patrick McHardy <redacted>
Thread (11 messages) 11 messages, 3 authors, last reply 2014-08-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help