diff options
author | 2025-04-10 03:31:15 +0000 | |
---|---|---|
committer | 2025-04-10 10:07:48 -0700 | |
commit | 3e730fe2af867d49b8c0eed65fe824079f7f377a (patch) | |
tree | 57dc93a127516b8460129e315e31aa520376fb6c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: ena: Support persistent per-NAPI config. (diff) | |
download | wireguard-linux-3e730fe2af867d49b8c0eed65fe824079f7f377a.tar.xz wireguard-linux-3e730fe2af867d49b8c0eed65fe824079f7f377a.zip |
selftests/xsk: Add packet stream replacement function
Add pkt_stream_replace_ifobject function to replace the packet stream for
a given ifobject.
Enable separate TX and RX packet replacement, allowing RX side packet
length adjustments using bpf_xdp_adjust_tail() in the upcoming patch.
Currently, pkt_stream_replace() works on both TX and RX packet streams,
and this new function provides the ability to modify one of them.
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Tushar Vyavahare <tushar.vyavahare@intel.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250410033116.173617-2-tushar.vyavahare@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions