mempool/dpaa2: support stats for secondary process
authorHemant Agrawal <hemant.agrawal@nxp.com>
Wed, 24 Feb 2021 12:43:04 +0000 (18:13 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 24 Feb 2021 17:03:30 +0000 (18:03 +0100)
commitda84fa3ef2bebd98f8c18ecd8876d1db2fe8842f
treeac29ab8b441a6c31df0d7fe10dec7754b06b5d51
parent38a0ac75364d6adefcd7d6a795b619d729fac5d5
mempool/dpaa2: support stats for secondary process

DPAA2 DPBP object access need availability of MCP object
pointer. In case of secondary process, we need to use local
MCP pointer instead of primary process.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/mempool/dpaa2/dpaa2_hw_mempool.c