Re: [PATCH bpf-next v2] bpf: Simplify tnum_step()

From: patchwork-bot+netdevbpf

Date: Tue Mar 24 2026 - 11:57:54 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Fri, 20 Mar 2026 17:23:36 +0100 you wrote:
> Simplify tnum_step() from a 10-variable algorithm into a straight
> line sequence of bitwise operations.
>
> Problem Reduction:
>
> tnum_step(): Given a tnum `(tval, tmask)` where `tval & tmask == 0`,
> and a value `z` with `tval ≤ z < (tval | tmask)`, find the smallest
> `r > z`, a tnum-satisfying value, i.e., `r & ~tmask == tval`.
>
> [...]

Here is the summary with links:
- [bpf-next,v2] bpf: Simplify tnum_step()
https://git.kernel.org/bpf/bpf-next/c/833ef4a954e1

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html