15/02/2022 07:10, Tyler Retzlaff: > On Mon, Feb 14, 2022 at 10:22:08AM +0100, Thomas Monjalon wrote: > > 14/02/2022 10:13, Tyler Retzlaff: > > > while the driver api is "internal" we agreed some time ago that drivers > > > could be built external to the dpdk tree. by enabling the meson setup > > > option -Denable_driver_sdk=true. > > > > > > it was agreed that the driver api was internal and would attract no > > > binary compatibility support which was fine. this change has now > > > imposed a further restriction that out of tree drivers have to be > > > authored in C only as non-C++ compatible code will invariably leak into > > > the internal structures. > > > > > > you won't allow us to build C++ drivers in the dpdk tree and it seems > > > now you are preventing building of C++ drivers outside of the tree too. > > > > That's the problem of non-written assumptions, they are unknown or > > forgotten. > > Did we agree to support out-of-tree drivers in C++? > > > > We really need to make things clear and written in documentation. > > how / where would you prefer this be documented?
I think we could add a general explanation about driver SDK in doc/guides/contributing/design.rst