From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP; 19 Jan 2017 11:12:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,255,1477983600"; d="scan'208";a="924484537" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.38]) ([10.237.220.38]) by orsmga003.jf.intel.com with ESMTP; 19 Jan 2017 11:12:15 -0800 To: Hemant Agrawal , dev@dpdk.org 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> Cc: thomas.monjalon@6wind.com, bruce.richardson@intel.com, shreyansh.jain@nxp.com, john.mcnamara@intel.com, jerin.jacob@caviumnetworks.com From: Ferruh Yigit Message-ID: Date: Thu, 19 Jan 2017 19:12:14 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <1484832240-2048-14-git-send-email-hemant.agrawal@nxp.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCHv5 11/33] bus/fslmc: add vfio support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 19:12:18 -0000 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: *; > }; >