diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2025-03-18 14:46:07 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-03-25 14:35:41 +0300 |
commit | a5fec3c881420249350be31b7ec99d4aac069b40 (patch) | |
tree | c484d388034cf5219995d3f52a8cdbd57cbd95b0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9a45e193c88a55a536d7fd0ebfa29823d588c2cf (diff) | |
download | linux-a5fec3c881420249350be31b7ec99d4aac069b40.tar.xz |
net: netsec: Add metadata support for xdp mode
Set metadata size building the skb from xdp_buff in netsec driver.
netsec driver sets xdp headroom to NETSEC_RXBUF_HEADROOM:
NETSEC_RXBUF_HEADROOM max(XDP_PACKET_HEADROOM, NET_SKB_PAD) + NET_IP_ALIGN
so the headroom is large enough to contain xdp_frame and xdp metadata.
Please note this patch is just compiled tested.
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
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-3-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