[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250520183416.5b720968@kmaincent-XPS-13-7390>
Date: Tue, 20 May 2025 18:34:16 +0200
From: Kory Maincent <kory.maincent@...tlin.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org,
donald.hunter@...il.com, jacob.e.keller@...el.com, sdf@...ichev.me,
jstancek@...hat.com
Subject: Re: [PATCH net-next v2 10/12] tools: ynl: enable codegen for TC
On Tue, 20 May 2025 09:19:14 -0700
Jakub Kicinski <kuba@...nel.org> wrote:
> We are ready to support most of TC. Enable C code gen.
>
> Reviewed-by: Donald Hunter <donald.hunter@...il.com>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
> v2:
> - add more headers to the local includes to build on Ubuntu 22.04
> v1: https://lore.kernel.org/20250517001318.285800-10-kuba@kernel.org
> ---
Now got this build error:
-e GEN tc-user.c
-e GEN tc-user.h
-e GEN_RST tc.rst
-e CC tc-user.o
In file included from <command-line>:
./../../../../include/uapi//linux/pkt_cls.h:250:9: error: expected specifier-qualifier-list before ‘__struct_group’
250 | __struct_group(tc_u32_sel_hdr, hdr, /* no attrs */,
| ^~~~~~~~~~~~~~
tc-user.c: In function ‘tc_u32_attrs_parse’:
tc-user.c:9086:33: warning: comparison is always false due to limited range of data type [-Wtype-limits]
9086 | if (len < sizeof(struct tc_u32_sel))
| ^
make[1]: *** [Makefile:52: tc-user.o] Error 1
Regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
Powered by blists - more mailing lists