On 9/3/2025 5:17 PM, David Marchand wrote:
Contrary to what the VFIO_PRESENT macro may suggest, there is no check on
whether VFIO is enabled in the (build system) Linux kernel configuration.
Replace check on VFIO_PRESENT with RTE_EAL_VFIO (for components built on
FreeBSD or Windows), or simply remove it otherwise.
Then remove inclusion of rte_vfio.h when the only purpose was checking
VFIO_PRESENT.
Signed-off-by: David Marchand <[email protected]>
Reviewed-by: Rosen Xu <[email protected]>
---
Acked-by: Anatoly Burakov <[email protected]>
--
Thanks,
Anatoly