Extending AF_XDP with hardware metadata
summary
AF_XDP now exposes NIC hardware metadata on receive via XDP helper calls so userland can read receive timestamp and receive hash (implementation merged around Linux 6.3), and earlier scatter‑gather support landed to handle large MTUs and tunneling without copies. Transmit is proposed as a fixed uapi struct (xsk_metadata) enabling checksum offload requests and transmit completion timestamps but remains under discussion; driver-side support (e.g. Mellanox, Intel) is required for offloads to actually work.
AI-written summary · about
chapters (4)
- 0:00Introduction to AF_XDP
- 6:46Hardware metadata limitations
- 10:21Extending AF_XDP with metadata
- 16:27Future extensions and Q&A
related talks
33mXDP gaining access to NIC hardware hints via BTF
28mXDP for TSN
38mPacket Metadata - Where Are Thee?
28mLow-Latency, Deterministic Networking with Standard Linux using XDP Sockets
23mMigrating from DPDK to AF_XDP for High-Performance Networking in...
33mBringing packet queueing to XDP
27mXDP Offload for OPC UA
30mZXDH DPU Adapter and It's Application
