[dpdk-dev] [PATCH dpdk v2] vfio/ppc64/spapr: Use correct structures for add/remove windows

Thomas Monjalon thomas at monjalon.net
Sun Apr 30 19:47:10 CEST 2017


26/04/2017 10:15, Burakov, Anatoly:
> > 
> > If Linux UAPI headers in the system do not have
> > VFIO_SPAPR_TCE_v2_IOMMU defined, DPDK define necessary structures
> > itself. However the existing definitions are different from ones pushed to
> > the mainline kernel.
> > 
> > This copies structures passed via VFIO_IOMMU_SPAPR_TCE_CREATE and
> > VFIO_IOMMU_SPAPR_TCE_REMOVE ioctls.
> > 
> > No change in behaviour is expected if installed linux UAPI headers have
> > knowledge of VFIO_SPAPR_TCE_v2_IOMMU.
> > 
> > Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>
> 
> That was quite an oversight on my part!..
> 
> Acked-by: Anatoly  Burakov <anatoly.burakov at intel.com>

Applied, thanks



More information about the dev mailing list