From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 1/4] pci: allow access to PCI config space Date: Tue, 10 Feb 2015 15:49:47 -0800 Message-ID: <20150210154947.34d0e292@uryu.home.lan> References: <1423247795-22399-1-git-send-email-stephen@networkplumber.org> <1423247795-22399-2-git-send-email-stephen@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "dev-VfR2kkLFssw@public.gmane.org" , Stephen Hemminger To: David Marchand Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Mon, 9 Feb 2015 10:45:01 +0100 David Marchand wrote: > Hello Stephen,=C2=A0 >=20 > - It looks a bit odd to me, we end up with something asymetric between ui= o / vfio wrt pci config space. > Can we an api consistent between the two ? > Does this mean that your pmd cannot work / has not been used with vfio ? >=20 > - Anyway, I suppose we could reuse this api to remove the RTE_PCI_CONFIG = #ifdef / hardcoded stuff from linux eal / igb_uio. > Opinion ? >=20 >=20 > --=C2=A0 > David Marchand Ok, please send patches to VFIO to use this API. It is not possible to do VFIO style config access through older UIO. Therefore a wrapper like this is needed.