]> git.droids-corp.org - dpdk.git/commit
mempool/cnxk: fix batch allocation failure path
authorAshwin Sekhar T K <asekhar@marvell.com>
Fri, 18 Feb 2022 07:27:12 +0000 (12:57 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 23 Feb 2022 16:33:53 +0000 (17:33 +0100)
commit5582a60effbb8599ad7be827abe4d06ca436b04b
treec4b3775ca831351b3cfd95410d3b455ae1d324e2
parenta6b9d5a53890f858a90676ce4d577d8501d31fa6
mempool/cnxk: fix batch allocation failure path

Fix bug in batch alloc issue failure path where it was
enqueuing invalid pointers back to the pool. The code
should rightly be falling back to default dequeue path
in such cases.

Fixes: 91531e63f43b ("mempool/cnxk: add cn10k batch dequeue")
Cc: stable@dpdk.org
Signed-off-by: Ashwin Sekhar T K <asekhar@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/mempool/cnxk/cn10k_mempool_ops.c