20-24 September 2021
US/Pacific timezone

Bringing TSO/GRO and Jumbo frames to XDP

21 Sep 2021, 07:00
40m
Networking and BPF Summit/Virtual-Room (LPC Virtual)

Networking and BPF Summit/Virtual-Room

LPC Virtual

150
Networking & BPF Summit (Closed) BPF & Networking Summit

Speakers

Eelco Chaudron (Red Hat) Toke Høiland-Jørgensen (Red Hat) Jesper Dangaard Brouer (Red Hat) Lorenzo Bianconi (Red Hat)

Description

XDP is designed for maximum performance which is why certain driver use-cases are not supported (e.g. Jumbo frames or TSO/LRO). The single buffer per-packet design defines a simple and fast memory model and allows eBPF Direct Access (DA) to packet data. Both of them are essential for performance. However, it is the high time we fill the gap with the networking stack and enable non-linear frame support for XDP. There are multiple use-cases for XDP multi-buff like TSO/GRO, Jumbo frames or packet header split across multiple buffers. In this talk, we will present our design for non-linear frames in XDP with the objective to support TSO/GRO or Jumbo frames and, at the same time, to not slow down the single buffer per-packet use case.

I agree to abide by the anti-harassment policy I agree

Primary authors

Eelco Chaudron (Red Hat) Toke Høiland-Jørgensen (Red Hat) Jesper Dangaard Brouer (Red Hat) Lorenzo Bianconi (Red Hat)

Presentation Materials