From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hemant Agrawal Subject: Re: [PATCH 11/32] net/dpaa2: add dpaa2 vfio support Date: Wed, 7 Dec 2016 12:30:37 +0530 Message-ID: References: <1480875447-23680-1-git-send-email-hemant.agrawal@nxp.com> <1480875447-23680-12-git-send-email-hemant.agrawal@nxp.com> <4516168.6vIN5TbTdY@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , To: Thomas Monjalon Return-path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0049.outbound.protection.outlook.com [104.47.41.49]) by dpdk.org (Postfix) with ESMTP id 2F3152C8 for ; Wed, 7 Dec 2016 08:00:44 +0100 (CET) In-Reply-To: <4516168.6vIN5TbTdY@xps13> 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 12/7/2016 2:34 AM, Thomas Monjalon wrote: > 2016-12-04 23:47, Hemant Agrawal: >> Add support for using VFIO for dpaa2 based fsl-mc bus. > > Why do we need so much special code for interfacing VFIO on fsl-mc? > Can you reuse some code from EAL VFIO? > fsl-mc VFIO scans the objects. So, it is slightly different. Even though I have tried to minimize changes and re-use the code from EAL VFIO. It is still refactoring work, which we will take up little later.