[RFC 0/8] Cleanup VFIO API and import Linux uAPI header
David Marchand
david.marchand at redhat.com
Wed Sep 3 09:50:47 CEST 2025
On Wed, 3 Sept 2025 at 09:28, 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,
For people who would like to test this series, compilation may be
broken in the middle of the series (probably at the 3rd patch and
fixed at the last patch) if your toolchain provides old linux kernel
headers.
This is an issue I hit myself when testing cross compilation on ppc
with a 2022 toolchain provided by bootlin.
Upgrading the toolchain solved this.
--
David Marchand
More information about the dev
mailing list