2016-07-18 14:12, Ido Barnea: > In Trex, we do include ixgbe_type.h from c++ code because we do some > register writes ourselves to support some functionality not exposed in > the DPDK API.
I agree we should find a way to expose some driver-specific headers for very specific features which will never be implemented elsewhere. But ideally, we should try to fix the DPDK API. > We can continue making this change in our copy of the code only. Just > trying to align our code with the official version as much as possible, > and thought it might benefit others as well to make this c++ compatible. > Apart from this small change, c++ compilation is supported. OK. Other comment from the maintainers (cc) of this driver? PS: please avoid top-post. > On 18/07/2016, 4:54 PM, "Thomas Monjalon" <thomas.monjalon at 6wind.com> > wrote: > > >Hi, > > > >DPDK is a C code and do not support C++ compilation. > >Only the exposed headers have some C++ support requirements. > > > >> drivers/net/ixgbe/base/ixgbe_osdep.h | 2 ++ > > > >Patching this file for C++ will be probably rejected, sorry. > > > >I'm interested to understand what is your need?