[dpdk-dev] [PATCH 1/4] pci: allow access to PCI config space
Stephen Hemminger
stephen at networkplumber.org
Wed Feb 11 00:49:47 CET 2015
On Mon, 9 Feb 2015 10:45:01 +0100
David Marchand <david.marchand at 6wind.com> wrote:
> Hello Stephen,
>
> - It looks a bit odd to me, we end up with something asymetric between uio / 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 ?
>
> - Anyway, I suppose we could reuse this api to remove the RTE_PCI_CONFIG #ifdef / hardcoded stuff from linux eal / igb_uio.
> Opinion ?
>
>
> --
> 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.
More information about the dev
mailing list