From: Eduard Zingerman <eddyz87@gmail.com>
To: Anton Protopopov <a.s.protopopov@gmail.com>, bpf@vger.kernel.org
Subject: Re: [PATCH v2 bpf-next] bpf: add btf_type_is_i{32,64} helpers
Date: Wed, 25 Jun 2025 11:04:13 -0700 [thread overview]
Message-ID: <5a56993644fe6a81c1915048984f79d2cda1ab10.camel@gmail.com> (raw)
In-Reply-To: <20250625151621.1000584-1-a.s.protopopov@gmail.com>
On Wed, 2025-06-25 at 15:16 +0000, Anton Protopopov wrote:
> There are places in BPF code which check if a BTF type is an integer
> of particular size. This code can be made simpler by using helpers.
> Add new btf_type_is_i{32,64} helpers, and simplify code in a few
> files. (Suggested by Eduard for a patch which copy-pasted such a
> check [1].)
>
> v1 -> v2:
> * export less generic helpers (Eduard)
> * make subject less generic than in [v1] (Eduard)
>
> [1] https://lore.kernel.org/bpf/7edb47e73baa46705119a23c6bf4af26517a640f.camel@gmail.com/
> [v1] https://lore.kernel.org/bpf/20250624193655.733050-1-a.s.protopopov@gmail.com/
>
> Suggested-by: Eduard Zingerman <eddyz87@gmail.com>
> Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
> ---
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
[...]
next prev parent reply other threads:[~2025-06-25 18:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-25 15:16 [PATCH v2 bpf-next] bpf: add btf_type_is_i{32,64} helpers Anton Protopopov
2025-06-25 18:04 ` Eduard Zingerman [this message]
2025-06-25 22:20 ` patchwork-bot+netdevbpf
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=5a56993644fe6a81c1915048984f79d2cda1ab10.camel@gmail.com \
--to=eddyz87@gmail.com \
--cc=a.s.protopopov@gmail.com \
--cc=bpf@vger.kernel.org \
/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