RE: [PATCH bpf-next,v4 1/1] doc: clarify XDP Rx metadata handling and driver requirements
From: Song, Yoong Siang
Date: Tue Jul 15 2025 - 22:05:26 EST
On Wednesday, July 16, 2025 7:49 AM, Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>On Tue, 15 Jul 2025 15:15:02 +0800 Song Yoong Siang wrote:
>> -An XDP program can store individual metadata items into this ``data_meta``
>> +Certain devices may utilize the ``data_meta`` area for specific purposes.
>
>Calling headroom "``data_meta`` area" is confusing, IMO. I'd say:
>
> Certain devices may prepend metadata to received packets.
>
>And the rest of this paragraph can stay as is.
>
Noted. Will rework accordingly.
>> +Drivers for these devices must move any hardware-related metadata out from
>the
>> +``data_meta`` area before presenting the frame to the XDP program. This ensures
>> +that the XDP program can store individual metadata items into this ``data_meta``