[dpdk-dev] [PATCHv5 11/33] bus/fslmc: add vfio support

Ferruh Yigit ferruh.yigit at intel.com
Thu Jan 19 20:12:14 CET 2017


On 1/19/2017 1:23 PM, Hemant Agrawal wrote:
> 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 canbe further aligned with
> eal vfio code.
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>

<...>

> diff --git a/drivers/bus/fslmc/rte_pmd_fslmcbus_version.map b/drivers/bus/fslmc/rte_pmd_fslmcbus_version.map
> index c4b3408..411200c 100644
> --- a/drivers/bus/fslmc/rte_pmd_fslmcbus_version.map
> +++ b/drivers/bus/fslmc/rte_pmd_fslmcbus_version.map
> @@ -45,8 +45,10 @@ DPDK_17.02 {
>          dpseci_open;
>          dpseci_reset;
>          dpseci_set_rx_queue;
> +        mcp_ptr_list;
>          rte_fslmc_driver_register;
>          rte_fslmc_driver_unregister;
> +        vfio_dmamap_mem_region;

This function seems called by files within bus folder, does it need to
be exported? Not tested, just asking..

>  
>  	local: *;
>  };
> 



More information about the dev mailing list