On Tue, 7 Nov 2023 18:38:32 +0100 Morten Brørup <m...@smartsharesystems.com> wrote:
> > If user decides to use a thread unsafe mempool, wouldn't it break in > > every PMD as well. > > Yes, except if the application only uses one thread for packet processing. > Then thread safety is not necessary. > If application only used single thread then single consumer pool would work fine for dumpcap. Only the primary thread would ever allocate. But both secondary and primary could be freeing mbuf.