Re: [dpdk-dev] [PATCH] vfio: fix build errors on old Linux

2019-07-11 Thread Thomas Monjalon
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 cha

Re: [dpdk-dev] [PATCH] vfio: fix build errors on old Linux

2019-07-11 Thread 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 creati

[dpdk-dev] [PATCH] vfio: fix build errors on old Linux

2019-07-10 Thread Takeshi Yoshimura
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