numam-dpdk/app
Sarosh Arif 0e8704a453 test/distributor: fix mbuf leak on failure
rte_mempool_get_bulk is used to get bufs/many_bufs from the pool,
but at some locations when test fails the bufs/many_bufs are
not returned back to the pool.
Due to this, multiple executions of distributor_autotest gives the
following error message: Error getting mbufs from pool.
To resolve this issue rte_mempool_put_bulk is used whenever the test
fails and returns.

Fixes: c3eabff124 ("distributor: add unit tests")
Cc: stable@dpdk.org

Signed-off-by: Sarosh Arif <sarosh.arif@emumba.com>
Acked-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Reviewed-by: David Hunt <david.hunt@intel.com>
2020-10-19 10:57:17 +02:00
..
pdump build: remove makefiles 2020-09-08 00:09:50 +02:00
proc-info app/procinfo: close devices before exit 2020-10-06 22:00:35 +02:00
test test/distributor: fix mbuf leak on failure 2020-10-19 10:57:17 +02:00
test-acl acl: add 512-bit AVX512 classify method 2020-10-14 14:23:01 +02:00
test-bbdev app/bbdev: fix test vector symlink 2020-10-14 21:32:11 +02:00
test-cmdline cmdline: make implementation logically opaque 2020-10-15 00:39:10 +02:00
test-compress-perf build: remove makefiles 2020-09-08 00:09:50 +02:00
test-crypto-perf security: update session create API 2020-10-19 09:54:54 +02:00
test-eventdev eventdev: express DLB/DLB2 PMD constraints 2020-10-15 23:16:07 +02:00
test-fib build: remove makefiles 2020-09-08 00:09:50 +02:00
test-flow-perf app/flow-perf: check stop call status 2020-10-16 22:26:41 +02:00
test-pipeline app: use new link status print format 2020-09-21 18:05:37 +02:00
test-pmd app/testpmd: check stop call status 2020-10-16 22:26:41 +02:00
test-regex build: remove makefiles 2020-09-08 00:09:50 +02:00
test-sad app/test-sad: fix uninitialized variable 2020-10-14 21:06:56 +02:00
meson.build app/regex: add RegEx test application 2020-07-30 09:13:52 +02:00