mempool/dpaa2: allocate pool data dynamically
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 13 Jul 2017 14:18:48 +0000 (19:48 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 Jul 2017 06:27:57 +0000 (09:27 +0300)
commit6a60f7de06421db8125c5c8b6d6ab87257c09759
tree2b1ed81144351f858004af2eac50af324808bb2b
parentc4e04283abee71549adb61546e755bad7bd42227
mempool/dpaa2: allocate pool data dynamically

In order to support multiprocess applications, pool data is to be
allocated on dynamic memory instead of existing usages of global
variable.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/mempool/dpaa2/dpaa2_hw_mempool.c