mempool/dpaa: optimize phy to virt conversion
authorHemant Agrawal <hemant.agrawal@nxp.com>
Wed, 17 Jan 2018 08:51:32 +0000 (14:21 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 18 Jan 2018 23:43:56 +0000 (00:43 +0100)
commit83a4f267f2e39fd2283944208c2f568597c93dd8
treea10a44f2c41fde2ca224445b9b0fb2ead2bf5ef8
parent6d714a237d8a306837a5f87711f9af9063376fed
mempool/dpaa: optimize phy to virt conversion

If the allocation is from a single memzone, optimize
the phy-virt address conversions.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/mempool/dpaa/dpaa_mempool.c
drivers/mempool/dpaa/dpaa_mempool.h