mirror of https://github.com/OISF/suricata
Revert "dpdk: fix mempool sizing to always yield 2^n -1"
Due to incorrect mempool size calculation, in some cases
(e.g. when rx-descriptors=32k, tx-descriptors=64) the mempool
size was calculated insufficiently in the auto mode (in the example
case it would result to 32767 which wouldn't even hold RX descriptors).
Even with a fix, the mempool size would increase (and in turn hugepage
consumption), as current mempools are just a sum of rx + tx descriptors.
To avoid introducing behavior-change this commit is reverted.
Ticket: 8371
This reverts commit 0c54932a4b.
pull/15050/head
parent
6484a012a3
commit
2a764b47a8
Loading…
Reference in New Issue