> -----Original Message-----
> From: Stephen Hemminger <[email protected]>
> Sent: Saturday, December 23, 2023 1:18 AM
> To: Xing, Beilei <[email protected]>
> Cc: Burakov, Anatoly <[email protected]>; [email protected];
> [email protected]; [email protected]; Richardson, Bruce
> <[email protected]>; [email protected]; Cao, Yahui
> <[email protected]>
> Subject: Re: [PATCH 4/4] eal: add new args to choose VFIO mode
>
> On Fri, 22 Dec 2023 19:44:53 +0000
> [email protected] wrote:
>
> > From: Beilei Xing <[email protected]>
> >
> > Since now Linux has both of VFIO Container/GROUP & VFIO IOMMUFD/CDEV
> > support, user can determine how to probe the PCI device by the new
> > args "--vfio-mode".
> >
> > Use "--vfio-mode=container" to choose VFIO Container/GROUP, and use
> > "--vfio-mode=iommufd" to choose VFIO IOMMUFD/CDEV.
> >
> > Signed-off-by: Beilei Xing <[email protected]>
> > Signed-off-by: Yahui Cao <[email protected]>
>
> Can't this be automatic, users don't need more EAL options.
Thanks for your review. Since Linux supports both VFIO Container/GROUP and VFIO
OMMUFD/CDEV currently, I think user can choose which mode they want. The new
IOMMU features (e.g. PASID/SSID) may be only available through VFIO IOMMUFD/CDEV
interface, VFIO Container/GROUP may be deprecated in future, and then DPDK will
use iommufd mode automatically.
.