[RFC v2 5/9] eal/linux: remove more internal VFIO macros

Burakov, Anatoly anatoly.burakov at intel.com
Wed Sep 10 14:15:34 CEST 2025


On 9/3/2025 5:17 PM, David Marchand wrote:
> No need to redefine some VFIO_* macros that look like a define coming
> from standard linux/vfio.h header.
> Use RTE_DIM() and remove unneeded checks (like in get_vfio_group_idx()
> where j can't be >= RTE_DIM(vfio_cfg->vfio_groups)).
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list