b600409890
As a result of moving tailq's into local memory, some tailq data is now reserved in rte_malloc heaps (because it needs to be shared across DPDK processes). The first thing DPDK initializes is a log mempool, and since it creates a tailq, it reserves space in rte_malloc heap before allocating the mempool itself. By default, rte_malloc allocates way more space than is necessary, so under some conditions (namely, overall memory available is low) this results in malloc heap eating up so much memory that log mempool is not able to allocate its memzone. This patch fixes the unit tests to account for that change. Reported-by: Thomas Monjalon <thomas.monjalon@6wind.com> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Tested-by: Thomas Monjalon <thomas.monjalon@6wind.com> |
||
---|---|---|
.. | ||
cmdline_test | ||
dump_cfg | ||
test | ||
test-acl | ||
test-pipeline | ||
test-pmd | ||
Makefile |