diff options
| author | Tushar Vyavahare <tushar.vyavahare@intel.com> | 2025-04-10 03:31:15 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-04-10 10:07:48 -0700 |
| commit | 3e730fe2af867d49b8c0eed65fe824079f7f377a (patch) | |
| tree | 57dc93a127516b8460129e315e31aa520376fb6c /lib/string_helpers.c | |
| parent | 0f681b0ecd190fb4516bb34cec227296b10533d1 (diff) | |
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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
