On Tue, Sep 29, 2026 at 1:42 AM Stephen Hemminger < [email protected]> wrote:
> On Mon, 28 Sep 2026 15:29:03 +0200 > Eugenio Pérez <[email protected]> wrote: > > > __counted_by is a GCC 14 / Clang 18 extension used in imported kernel > > uapi headers. Older compilers reject it with an error. Define it as an > > empty function-like macro when the compiler does not support it. > > > > Co-Authored-By: Claude Sonnet 4.6 <[email protected]> > > --- > > NAK > > Missing Signed-Of-By and the right way to handle counted_by is to > introduce and a new macro in rte_common.h (aka __rte_counted_by). > There are lots of places in DPDK that could use it. > > If the problem is in vhost, then get it from stddef.h > > To me the solution is to import stddef.h, I have not tried but it is quite small and self-contained. Regards, Maxime

