summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2017-05-22 17:47:56 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-05-29 12:46:19 +0200
commit2111515abc46cb3e18b22d8551067029acfd1f55 (patch)
treec5d35f1856b9007aa4c2eedd71923cb790cb40f7 /tools/perf/scripts/python/export-to-postgresql.py
parent347b408d59e7eadcd09f97eba96fa4c270eb3b23 (diff)
netfilter: nft_set_hash: add nft_hash_buckets()
Add nft_hash_buckets() helper function to calculate the number of hashtable buckets based on the elements. This function can be reused from the follow up patch to add non-resizable hashtables. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions