From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCHv5 11/33] bus/fslmc: add vfio support Date: Thu, 19 Jan 2017 19:12:14 +0000 Message-ID: References: <1484679174-4174-1-git-send-email-hemant.agrawal@nxp.com> <1484832240-2048-1-git-send-email-hemant.agrawal@nxp.com> <1484832240-2048-14-git-send-email-hemant.agrawal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: thomas.monjalon@6wind.com, bruce.richardson@intel.com, shreyansh.jain@nxp.com, john.mcnamara@intel.com, jerin.jacob@caviumnetworks.com To: Hemant Agrawal , dev@dpdk.org Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id E600AFA61 for ; Thu, 19 Jan 2017 20:12:17 +0100 (CET) In-Reply-To: <1484832240-2048-14-git-send-email-hemant.agrawal@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 <...> > 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: *; > }; >