From: patchwork-bot+netdevbpf@kernel.org
To: Gregory Bell <grbell@redhat.com>
Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
davem@davemloft.net, kuba@kernel.org, hawk@kernel.org,
john.fastabend@gmail.com, sdf@fomichev.me, andrii@kernel.org,
martin.lau@linux.dev, eddyz87@gmail.com, memxor@gmail.com,
song@kernel.org, yonghong.song@linux.dev, jolsa@kernel.org,
shuah@kernel.org, alan.maguire@oracle.com
Subject: Re: [PATCH v2 0/2] selftests/bpf: Use local types for kfunc declarations
Date: Mon, 27 Apr 2026 00:27:29 +0000 [thread overview]
Message-ID: <177724964954.2839245.14025879647185201181.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260417154122.2558890-1-grbell@redhat.com>
Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Fri, 17 Apr 2026 11:41:20 -0400 you wrote:
> The xdp_flowtable and test_tunnel_kern selftests were previously
> rewritten to compile with CONFIG_NF_FLOW_TABLE=m and CONFIG_NET_FOU=m.
> While the compilation issues were resolved, the tests fail at
> runtime. In test_tunnel_kern.c, struct bpf_fou_encap___local is
> defined with the correct fields but the kfunc declarations still
> reference the forward-declared struct bpf_fou_encap. Similarly,
> xdp_flowtable.c uses a forward-declared struct flow_offload_tuple_rhash
> as the return type for bpf_xdp_flow_lookup(). Clang emits these forward
> declarations as BTF FWD types, which fail to resolve against the
> module-defined STRUCT types at run time:
>
> [...]
Here is the summary with links:
- [v2,1/2] selftests/bpf: Use local type for flow_offload_tuple_rhash in xdp_flowtable
https://git.kernel.org/bpf/bpf-next/c/ac985e7bf840
- [v2,2/2] selftests/bpf: Use local type for bpf_fou_encap in test_tunnel_kern
https://git.kernel.org/bpf/bpf-next/c/afb0450be061
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-04-27 0:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-17 15:41 [PATCH v2 0/2] selftests/bpf: Use local types for kfunc declarations Gregory Bell
2026-04-17 15:41 ` [PATCH v2 1/2] selftests/bpf: Use local type for flow_offload_tuple_rhash in xdp_flowtable Gregory Bell
2026-04-17 16:16 ` bot+bpf-ci
2026-04-17 15:41 ` [PATCH v2 2/2] selftests/bpf: Use local type for bpf_fou_encap in test_tunnel_kern Gregory Bell
2026-04-27 0:27 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=177724964954.2839245.14025879647185201181.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=alan.maguire@oracle.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=eddyz87@gmail.com \
--cc=grbell@redhat.com \
--cc=hawk@kernel.org \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=kuba@kernel.org \
--cc=martin.lau@linux.dev \
--cc=memxor@gmail.com \
--cc=sdf@fomichev.me \
--cc=shuah@kernel.org \
--cc=song@kernel.org \
--cc=yonghong.song@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox