This series introduce XDP metadata functionality, including Rx checksum/GSO hint and Tx GSO offload. This is aimed to transfer control fields when processing jumbo frames between VMs. v1: https://lore.kernel.org/all/20241017135430.51655-1-tianmuyang@xxxxxxxxxx/ Changes since v1: - add reference to previous work[1] in patch 1/3 [1] https://lore.kernel.org/bpf/20230811161509.19722-13-larysa.zaremba@xxxxxxxxx/ Muyang Tian (3): xdp: Add Rx checksum hint xdp: Add Rx GSO hint xsk: Add Tx GSO type and size offload support Documentation/netlink/specs/netdev.yaml | 12 +++++ Documentation/networking/xdp-rx-metadata.rst | 6 +++ include/net/xdp.h | 50 ++++++++++++++++++++ include/net/xdp_sock.h | 8 ++++ include/net/xdp_sock_drv.h | 1 + include/uapi/linux/if_xdp.h | 11 +++++ include/uapi/linux/netdev.h | 8 ++++ net/core/xdp.c | 41 ++++++++++++++++ net/xdp/xsk.c | 5 ++ tools/include/uapi/linux/if_xdp.h | 11 +++++ tools/include/uapi/linux/netdev.h | 8 ++++ 11 files changed, 161 insertions(+) -- 2.41.0