Re: [PATCH v1 3/5] bpf: add helper masks for ADJ_ROOM decap flags
From: Willem de Bruijn
Date: Tue Mar 17 2026 - 10:02:01 EST
Hudson, Nick wrote:
>
>
> > On 17 Mar 2026, at 13:27, Willem de Bruijn <willemdebruijn.kernel@xxxxxxxxx> wrote:
> >
> > !-------------------------------------------------------------------|
> > This Message Is From an External Sender
> > This message came from outside your organization.
> > |-------------------------------------------------------------------!
> >
> > Nick Hudson wrote:
> >> Introduce helper masks for bpf_skb_adjust_room() decapsulation flags
> >> to simplify validation and keep flag handling readable:
> >>
> >> - BPF_F_ADJ_ROOM_DECAP_L4_MASK
> >> - BPF_F_ADJ_ROOM_DECAP_IPXIP_MASK
> >> - BPF_F_ADJ_ROOM_ENCAP_MASK
> >> - BPF_F_ADJ_ROOM_DECAP_MASK
> >>
> >> Also fold these masks into BPF_F_ADJ_ROOM_MASK and per-path flag
> >> validation checks.
> >>
> >> This is a refactoring/plumbing change; functional decapsulation and
> >> GSO behavior updates are handled in later patches.
> >>
> >> Co-developed-by: Max Tottenham <mtottenh@xxxxxxxxxx>
> >> Signed-off-by: Max Tottenham <mtottenh@xxxxxxxxxx>
> >> Co-developed-by: Anna Glasgall <aglasgal@xxxxxxxxxx>
> >> Signed-off-by: Anna Glasgall <aglasgal@xxxxxxxxxx>
> >> Signed-off-by: Nick Hudson <nhudson@xxxxxxxxxx>
> >
> > Only patches 3 through 5 were sent to the netdev list.
>
> oops.
>
> >
> > Please resubmit the entire series (after the customary 24 hr min) to
> > the full list.
>
> Will do… as v2 with patch re-order you mentioned?
Yes