In DPDK 21.05, the option driver_sdk_headers was introduced to export required headers to allow building out-of-tree drivers.
In DPDK 21.11, the gpudev driver class was introduced, without this out-of-tree compatibility. It is fixed by exporting gpudev_driver.h as part of the driver SDK. Fixes: 8b8036a66e3d ("gpudev: introduce GPU device class library") Cc: sta...@dpdk.org Reported-by: David Marchand <david.march...@redhat.com> Signed-off-by: Thomas Monjalon <tho...@monjalon.net> --- lib/gpudev/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/gpudev/meson.build b/lib/gpudev/meson.build index 89a118f357..40dd6c0ffc 100644 --- a/lib/gpudev/meson.build +++ b/lib/gpudev/meson.build @@ -5,6 +5,10 @@ headers = files( 'rte_gpudev.h', ) +driver_sdk_headers = files( + 'gpudev_driver.h' +) + sources = files( 'gpudev.c', ) -- 2.39.1