[RFC v2 0/9] Cleanup VFIO API and import Linux uAPI header

David Marchand david.marchand at redhat.com
Wed Sep 3 17:22:29 CEST 2025


On Wed, 3 Sept 2025 at 17:13, David Marchand <david.marchand at redhat.com> wrote:
>
> The VFIO headers have a number of issues:
> - showing to the world a lot of internal considerations,
> - defining macros with the VFIO_ namespace (confusing, and a source of
>   conflicts with the VFIO official uAPI),
> - wrapping around VFIO uAPI in case the kernel headers do not contain the
>   expected API (putting the burden on DPDK developers to find the right
>   way to detect the presence of a VFIO feature),
> - (somehow related to the previous point) supporting old version of the
>   Linux kernel while DPDK now requires a v5.4 Linux kernel at least,
>
> This series proposes to cleanup those headers by hiding as much as
> possible internal macros and structures, then removing the explicit
> inclusion of linux/vfio.h from rte_vfio.h (pushing this inclusion to the
> application which may want to do some funny stuff with VFIO and should
> already include this header on its own) and finally importing the VFIO
> uAPI header from Linux v6.15 for internal consumption by DPDK
> components.

Sorry, please ignore this thread, sending the v2 series got
interrupted by an error from my smtp.
I resent the whole series.


-- 
David Marchand



More information about the dev mailing list