[dpdk-dev] [PATCH] vfio: fix build errors on old Linux
Thomas Monjalon
thomas at monjalon.net
Thu Jul 11 11:29:25 CEST 2019
11/07/2019 11:17, Burakov, Anatoly:
> On 11-Jul-19 3:22 AM, Takeshi Yoshimura wrote:
> > The commit db90b4969e2e ("vfio: retry creating sPAPR DMA window")
> > introduced a build breakage on old Linux. Linux <4.2 does not define ddw in
> > struct vfio_iommu_spapr_tce_info. Without ddw, we cannot change window size
> > and so should give up the creation. I just exculuded the retrying code if
> > ddw is not supported.
> >
> > Fixes: db90b4969e2e ("vfio: retry creating sPAPR DMA window")
> >
> > Signed-off-by: Takeshi Yoshimura <tyos at jp.ibm.com>
>
> Tested-by: Anatoly Burakov <anatoly.burakov at intel.com>
Applied, thanks
More information about the dev
mailing list