diff options
| author | Magnus Karlsson <magnus.karlsson@intel.com> | 2023-05-16 12:31:04 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2023-05-16 22:31:51 -0700 |
| commit | 69fc03d220a318a4df2c6f0612b17225e71a6069 (patch) | |
| tree | 6cdc4875216e85bcbc2ee94304b929573ea8b0b2 /tools/testing/selftests/bpf/prog_tests/prog_tests_framework.c | |
| parent | 7a8a6762822a1f5249eec356e7ea31f98161fba0 (diff) | |
selftests/xsk: add packet iterator for tx to packet stream
Convert the current variable rx_pkt_nb to an iterator that can be used
for both Rx and Tx. This to simplify the code and making Tx more like
Rx that already has this feature.
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/r/20230516103109.3066-6-magnus.karlsson@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_tests_framework.c')
0 files changed, 0 insertions, 0 deletions
