12–14 Sept 2022
Europe/Dublin timezone

XDP gaining access to NIC hardware hints via BTF

13 Sept 2022, 15:30
30m
"Pembroke" (Clayton Hotel on Burlington Road)

"Pembroke"

Clayton Hotel on Burlington Road

262
eBPF & Networking Track eBPF & Networking

Speaker

Jesper Dangaard Brouer (Red Hat)

Description

The idea for XDP-hints, which is XDP gaining access HW offload hints, dates back to Nov 2017. We believe the main reason XDP-hints work have stalled are that upstream we couldn't get consensus on the layout of the XDP metadata. BTF was not ready at that time.

We believe the flexibility of BTF can resolve the layout issues, especially since BTF have evolved to include support for kernel modules.

This talk is for hashing out upstream XDP-hints discussions and listening to
users/consumers of this facility.

There are multiple users of this facility that all needs to be satisfied:

  1. BPF-progs first obvious consumer (either XDP or TC hooks)
  2. XDP to SKB conversion (in veth and cpumap) for traditional HW offloads
  3. AF_XDP can consume BTF info in userspace to decode metadata area
  4. Chained BPF-progs can communicate state via metadata
I agree to abide by the anti-harassment policy Yes

Primary author

Jesper Dangaard Brouer (Red Hat)

Presentation materials

Diamond Sponsor

Platinum Sponsors





Gold Sponsors




Silver Sponsors





Speaker Gift Sponsor

Catchbox Sponsor

Video Recording Sponsor

Livestream Sponsor

T-Shirt Sponsor

Conference Services Provided by