Hi Anatoly, > -----Original Message----- > From: dev <[email protected]> On Behalf Of Anatoly Burakov > Sent: Thursday, October 28, 2021 10:15 PM > To: [email protected] > 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 <[email protected]> > --- > 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

