diff options
author | Tushar Vyavahare <tushar.vyavahare@intel.com> | 2025-04-10 06:31:15 +0300 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-04-10 20:07:48 +0300 |
commit | 3e730fe2af867d49b8c0eed65fe824079f7f377a (patch) | |
tree | 57dc93a127516b8460129e315e31aa520376fb6c /tools/perf/scripts/python/gecko.py | |
parent | 0f681b0ecd190fb4516bb34cec227296b10533d1 (diff) | |
download | linux-3e730fe2af867d49b8c0eed65fe824079f7f377a.tar.xz |
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/gecko.py')
0 files changed, 0 insertions, 0 deletions