[PATCH] gpudev: export header file for external drivers
Thomas Monjalon
thomas at monjalon.net
Thu Mar 16 09:59:19 CET 2023
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: stable at dpdk.org
Reported-by: David Marchand <david.marchand at redhat.com>
Signed-off-by: Thomas Monjalon <thomas at 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
More information about the dev
mailing list