numam-dpdk/app
Dmitry Kozlyuk 5b08ac4e4a test/mempool: fix no-huge mode
Amount of locked memory for regular users is limited,
it is usually 64 KB by default.
Hitting this limit in rte_mempool_populate_anon()
resulted in not populating the mempool, and a test case failure:

    EAL: Test assert test_mempool_events line 585 failed: Failed to populate mempool empty1: Success
    test failed at test_mempool():1019
    Test Failed

Decrease the amount of mapped anonymous memory to fit the limit.
While there, make all function-local constants lowercase.

Fixes: 11541c5c81 ("mempool: add non-IO flag")

Reported-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
2021-11-03 18:32:19 +01:00
..
dumpcap app/dumpcap: add new packet capture application 2021-10-22 22:40:58 +02:00
pdump devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
proc-info devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test test/mempool: fix no-huge mode 2021-11-03 18:32:19 +01:00
test-acl devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-bbdev devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-cmdline devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-compress-perf devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-crypto-perf devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-eventdev devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-fib devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-flow-perf devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-pipeline devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-pmd mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
test-regex devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
test-sad devtools: forbid indent with tabs in Meson 2021-11-02 19:25:30 +01:00
meson.build app/dumpcap: add new packet capture application 2021-10-22 22:40:58 +02:00