mbox series

[bpf-next,v2,0/3] XDP metadata: Rx checksum/GSO hint; Tx GSO offload

Message ID 20241018091502.411513-1-tianmuyang@huawei.com (mailing list archive)
Headers show
Series XDP metadata: Rx checksum/GSO hint; Tx GSO offload | expand

Message

Muyang Tian Oct. 18, 2024, 9:14 a.m. UTC
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@huawei.com/

Changes since v1:
- add reference to previous work[1] in patch 1/3

[1] https://lore.kernel.org/bpf/20230811161509.19722-13-larysa.zaremba@intel.com/

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(+)