diff options
author | Song Yoong Siang <yoong.siang.song@intel.com> | 2025-07-16 23:48:46 +0800 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-07-16 16:36:11 -0700 |
commit | ef57dc6f52e4949527f82a456cb9a637a55209ea (patch) | |
tree | 19e70c1d5c1bf672a007af16f2155e9946257ecc /net/ipv4/tcp_ipv4.c | |
parent | 6e375b236317c19cf3e4da40285ef5b2f0da1899 (diff) |
doc: xdp: Clarify driver implementation for XDP Rx metadata
Clarify that drivers must remove device-reserved metadata from the
data_meta area before passing frames to XDP programs.
Additionally, expand the explanation of how userspace and BPF programs
should coordinate the use of METADATA_SIZE, and add a detailed diagram
to illustrate pointer adjustments and metadata layout.
Also describe the requirements and constraints enforced by
bpf_xdp_adjust_meta().
Signed-off-by: Song Yoong Siang <yoong.siang.song@intel.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://lore.kernel.org/r/20250716154846.3513575-1-yoong.siang.song@intel.com
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions