# Re: \[PATCH RFC bpf-next 1/6\] netlink: specs: Add XDP RX checksum capability to XDP metadata specs

- From: Lorenzo Bianconi \<lorenzo@kernel.org\>
- Date: 2025-09-22 15:55:27 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/09/7932574
- Thread: https://ratatoskr.run/netdev/2025/09/7931998/t.md

```text
On Sep 22, Stanislav Fomichev wrote:
> On 09/20, Lorenzo Bianconi wrote:
> > Introduce XDP RX checksum capability to XDP metadata specs. XDP RX
> > checksum will be use by devices capable of exposing receive checksum
> > result via bpf_xdp_metadata_rx_checksum().
> > 
> > Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> > ---
> >  Documentation/netlink/specs/netdev.yaml | 5 +++++
> >  1 file changed, 5 insertions(+)
> > 
> > diff --git a/Documentation/netlink/specs/netdev.yaml b/Documentation/netlink/specs/netdev.yaml
> > index e00d3fa1c152d7165e9485d6d383a2cc9cef7cfd..00699bf4a7fdb67c6b9ee3548098b0c933fd39a4 100644
> > --- a/Documentation/netlink/specs/netdev.yaml
> > +++ b/Documentation/netlink/specs/netdev.yaml
> > @@ -61,6 +61,11 @@ definitions:
> >          doc: |
> >            Device is capable of exposing receive packet VLAN tag via
> >            bpf_xdp_metadata_rx_vlan_tag().
> > +      -
> > +        name: checksum
> > +        doc: |
> > +          Device is capable of exposing receive checksum result via
> > +          bpf_xdp_metadata_rx_checksum().
> >    -
> >      type: flags
> >      name: xsk-flags
> 
> nit: let's fold it into patch 2? Will be easier to git blame the
> feature..

ack, I will do it posting a proper series.

Regards,
Lorenzo
```

## Attachments

- [signature.asc](https://ratatoskr.run/netdev/2025/09/7932574/attachment/0) (application/pgp-signature, 228 bytes)
