diff options
| author | Dimitri Daskalakis <dimitri.daskalakis1@gmail.com> | 2025-08-20 18:40:21 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-22 07:46:27 -0700 |
| commit | 91aacd8ceffe6f07b324c5548c6efd763ae0e278 (patch) | |
| tree | 69aaf9b24326eca1ae8d425c92f83a6d0c9a888c /rust/helpers/helpers.c | |
| parent | a7bd72158063740212344fad5d99dcef45bc70d6 (diff) | |
selftests: drv-net: xdp: Extract common XDP_TX setup/validation.
In preparation of single-buffer XDP_TX tests, refactor common test code
into the _test_xdp_native_tx method. Add support for multiple payload
sizes, and additional validation for RX packet count. Pass the -n flag
to echo to avoid adding an extra byte into the TX packet.
Signed-off-by: Dimitri Daskalakis <dimitri.daskalakis1@gmail.com>
Link: https://patch.msgid.link/20250821014023.1481662-2-dimitri.daskalakis1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
