Hi Anatoly,

> -----Original Message-----
> From: dev <dev-boun...@dpdk.org> On Behalf Of Anatoly Burakov
> Sent: Thursday, October 28, 2021 10:15 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v3 1/4] vfio: drop fallback Linux implementation
> 
> Currently, VFIO support for Linux is compiled unconditionally, and
> supported kernel versions start with 4.4, so VFIO is assumed to always
> be enabled. There is no way of disabling VFIO support at compile time
> anyway, so just drop the "VFIO not available" fallback code altogether.
> 
> Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com>
> ---
>  lib/eal/linux/eal_vfio.c | 110 ---------------------------------------
>  1 file changed, 110 deletions(-)
> 

If we make the 'kernel >= 4.4' assumption, should other 'VFIO_PRESENT' in eal
and drivers be deleted as well? It seems strange to me as eal_vfio already
assumes it supports vfio but drivers and other eal components still have the
check.

Thanks,
Chenbo

Reply via email to