mempool/dpaa2: report error on endless loop in mbuf release
authorRadu Bulie <radu-andrei.bulie@nxp.com>
Tue, 5 Nov 2019 14:23:19 +0000 (19:53 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 6 Nov 2019 00:14:28 +0000 (01:14 +0100)
commitf0617163b8d2678371d0c93926cebb6c1e7981d7
treedef9b89e30be4d0b6a26d9b8b15a9899164f87d1
parent0da362b8f9236e32c3ca70ac3e1b32d1110f37e8
mempool/dpaa2: report error on endless loop in mbuf release

When BMAN is not able to accept more buffers, it could be that
there are no FBPR's (internal mem provided to bman) left.
Report error in such condition.

Fixes: 5dc43d22b5ad ("mempool/dpaa2: add hardware offloaded mempool")
Cc: stable@dpdk.org
Signed-off-by: Radu Bulie <radu-andrei.bulie@nxp.com>
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
drivers/mempool/dpaa2/dpaa2_hw_mempool.c