Re: [PATCH 1/3] xdp: Add Rx checksum hint
From: Alexander Lobakin
Date: Thu Oct 17 2024 - 10:28:27 EST
From: Muyang Tian <tianmuyang@xxxxxxxxxx>
Date: Thu, 17 Oct 2024 21:54:28 +0800
> This is an implementation of functionality that allows drivers
> to expose checksum information to XDP.
> This information includes:
> - Checksum info, a union of
> - complete checksum, if checksum is complete
> - skb-style checksum start and offset, if checksum is partial
> - Checksum status, an enum which is the same as skb checksums in
> skbuff.h, identical to sk_buff.ip_summed
>
> Signed-off-by: Muyang Tian <tianmuyang@xxxxxxxxxx>
Is it just me or this is clearly based on [0] sent a year ago?
Credits then?
> ---
> Documentation/netlink/specs/netdev.yaml | 4 +++
> Documentation/networking/xdp-rx-metadata.rst | 3 ++
> include/net/xdp.h | 38 ++++++++++++++++++++
> include/uapi/linux/netdev.h | 3 ++
> net/core/xdp.c | 23 ++++++++++++
> tools/include/uapi/linux/netdev.h | 3 ++
> 6 files changed, 74 insertions(+)
[0]
https://lore.kernel.org/bpf/20230927075124.23941-13-larysa.zaremba@xxxxxxxxx
Thanks,
Olek