19/03/2023 23:28, Thomas Monjalon: > 16/03/2023 10:23, David Marchand: > > On Thu, Mar 16, 2023 at 9:59 AM Thomas Monjalon <tho...@monjalon.net> wrote: > > > > > > 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> > > > > LGTM, thanks. > > Applied
Forgot to send the v2 merged with this addition: " As a consequence of exporting this header file, C++ "extern C" guard must be added. "