diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2025-03-18 14:46:06 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-03-25 14:35:41 +0300 |
commit | 9a45e193c88a55a536d7fd0ebfa29823d588c2cf (patch) | |
tree | ba6229f62c37fc48e9bd8216ddb54940b5c18b22 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 07b2fbffaaea9474825fd5e08f81cd62b0378cf3 (diff) | |
download | linux-9a45e193c88a55a536d7fd0ebfa29823d588c2cf.tar.xz |
net: mvpp2: Add metadata support for xdp mode
Set metadata size building the skb from xdp_buff in mvpp2 driver
mvpp2 driver sets xdp headroom to:
MVPP2_MH_SIZE + MVPP2_SKB_HEADROOM
where
MVPP2_MH_SIZE 2
MVPP2_SKB_HEADROOM min(max(XDP_PACKET_HEADROOM, NET_SKB_PAD), 224)
so the headroom is large enough to contain xdp_frame and xdp metadata.
Please note this patch is just compiled tested.
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250318-mvneta-xdp-meta-v2-2-b6075778f61f@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions