[dpdk-dev] [PATCH] vfio: retry creating sPAPR DMA window

Thomas Monjalon thomas at monjalon.net
Thu Jul 4 18:01:57 CEST 2019


Please, any review or ack for this patch?

07/06/2019 04:28, Takeshi Yoshimura:
> sPAPR allows only page_shift from VFIO_IOMMU_SPAPR_TCE_GET_INFO ioctl.
> However, Linux 4.17 or before returns incorrect page_shift for Power9.
> I added the code for retrying creation of sPAPR DMA window.
> 
> Signed-off-by: Takeshi Yoshimura <tyos at jp.ibm.com>
> ---
>  lib/librte_eal/linux/eal/eal_vfio.c | 26 +++++++++++++++++++++++---
>  1 file changed, 23 insertions(+), 3 deletions(-)





More information about the dev mailing list