Re: [PATCH net-next v3] xdp: Add helpers for head length, headroom, and metadata length
From: Jakub Kicinski
Date: Thu May 08 2025 - 21:26:25 EST
On Thu, 8 May 2025 18:59:54 +0200 Jesper Dangaard Brouer wrote:
> I do notice Jakub isn't a fan of the patch in general, but it seems
> quite popular given the other high profile kernel developers that acked
> in V3. I think it increase code readability for people that are less
> familiar with XDP code and meaning of the pointers (e.g. data_hard_start
> vs. data_end vs. data vs. data_meta). (We don't even have some ascii art
> showing these pointers).
Yup, ASCII art would be great, hopefully
DOC: Basic sk_buff geometry
can be an inspiration.