[dpdk-dev] [v3 PATCH] test_distributor: prevent memory leakages from the pool

David Marchand david.marchand at redhat.com
Fri Sep 25 16:22:35 CEST 2020


On Tue, Sep 8, 2020 at 12:22 PM Sarosh Arif <sarosh.arif at emumba.com> wrote:
>
> 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.
>
> Signed-off-by: Sarosh Arif <sarosh.arif at emumba.com>

It deserves a Fixes: line.

I can see a ack from Lukasz.
David, review please?


-- 
David Marchand



More information about the dev mailing list