linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next v2 0/3] XDP metadata: Rx checksum/GSO hint; Tx GSO offload
@ 2024-10-18  9:14 Muyang Tian
  2024-10-18  9:15 ` [PATCH bpf-next v2 1/3] xdp: Add Rx checksum hint Muyang Tian
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Muyang Tian @ 2024-10-18  9:14 UTC (permalink / raw)
  To: bpf
  Cc: David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Donald Hunter, Björn Töpel, Magnus Karlsson,
	Maciej Fijalkowski, Jonathan Lemon, Alexei Starovoitov,
	Daniel Borkmann, Jesper Dangaard Brouer, John Fastabend, netdev,
	linux-kernel, linux-doc, yanan, xiesongyang, wuchangye, liuxin350,
	zhangmingyi5, liwei883, tianmuyang

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

-- 
2.41.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-10-21 12:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-18  9:14 [PATCH bpf-next v2 0/3] XDP metadata: Rx checksum/GSO hint; Tx GSO offload Muyang Tian
2024-10-18  9:15 ` [PATCH bpf-next v2 1/3] xdp: Add Rx checksum hint Muyang Tian
2024-10-18  9:15 ` [PATCH bpf-next v2 2/3] xdp: Add Rx GSO hint Muyang Tian
2024-10-18  9:15 ` [PATCH bpf-next v2 3/3] xsk: Add Tx GSO type and size offload support Muyang Tian
2024-10-18 16:39 ` [PATCH bpf-next v2 0/3] XDP metadata: Rx checksum/GSO hint; Tx GSO offload Stanislav Fomichev
2024-10-20 20:51   ` Willem de Bruijn
2024-10-21 12:04     ` Magnus Karlsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).