~/talk

XDP gaining access to NIC hardware hints via BTF

Talkat Linux Plumbers Conference 2022 · 2022-09-12..09-14· [networking]
links:none on file
slides:none on file

Adds a full BTF ID in metadata (u32 object + u32 type) as the last 8 bytes of XDP metadata so AF_XDP and in-kernel code can decode driver-specific NIC hints via existing BTF/bpftool instead of a new UAPI. Patches add flags in xdp_buff/XDP_FRAME, refcount BTF objects, provide example i40e structs (timestamp, hash, proto) and a user-space BTF decoder; prototype works in XDP→SKB and AF_XDP setups. Performance concern is per-packet lookups; solution is decode at setup, not per-packet.

AI-written summary · about

  1. 0:00Introduction
  2. 7:31BTF IDs and kernel modules
  3. 10:04XDP hints metadata area
  4. 12:50Decoupling BTF ID and metadata
  5. 21:05Future work and transmit site
  6. 23:15Q&A on BTF object lifetime
  7. 27:48Performance impact of ID checks
  8. 31:53Use cases and project analysis
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.