bus/fslmc: support VFIO
authorHemant Agrawal <hemant.agrawal@nxp.com>
Tue, 11 Apr 2017 13:37:14 +0000 (19:07 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commit70e58cf74c63f1789b80cb24947078e17024b94a
tree9d6debab669d6c9102948f52a1b2925dd159e2c7
parenta016873eb3c22d1b811b9030f03bae984a64aed9
bus/fslmc: support VFIO

Add support for using VFIO for dpaa2 based fsl-mc bus.

There are some differences in the way vfio used for fsl-mc bus
from the eal vfio.
 - The scanning of bus for individual objects on the basis of
   the DPRC container.
 - The use and mapping of MC portal for object access

With the evolution of bus model, they can be further aligned with
eal vfio code.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/Makefile
drivers/bus/fslmc/fslmc_bus.c
drivers/bus/fslmc/fslmc_vfio.c [new file with mode: 0644]
drivers/bus/fslmc/fslmc_vfio.h [new file with mode: 0644]
drivers/bus/fslmc/rte_bus_fslmc_version.map