mirror of https://github.com/OISF/suricata
dpdk: fix mempool sizing to always yield 2^n -1
Following DPDK's recommendation to size mempool to 2^n - 1,
the current implementation was flawed for certain combos,
e.g. mp_size 1023 and 1 queue, which resulted to 1022.
(cherry picked from commit ea853e92a3)
pull/14981/head
parent
f054446973
commit
0c54932a4b
Loading…
Reference in New Issue