bus/fslmc: fix physical addressing check
authorShreyansh Jain <shreyansh.jain@nxp.com>
Mon, 15 Oct 2018 12:01:52 +0000 (17:31 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 16 Oct 2018 12:54:25 +0000 (14:54 +0200)
commit0947cfde25ad5b05a45b8edcd7e92299dd0ee581
treed2e8a3b13044de89902a0558560c26aad4bbef15
parentc89fdd8da2f076cd0ec698707162da15f2a93e17
bus/fslmc: fix physical addressing check

In case RTE_LIBRTE_DPAA2_USE_PHYS_IOVA is enabled, only supported
class is RTE_IOVA_PA.

Fixes: f7768afac101 ("bus/fslmc: support dynamic IOVA")
Cc: stable@dpdk.org
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/bus/fslmc/fslmc_bus.c