diff options
author | Magnus Karlsson <[email protected]> | 2023-05-16 12:31:01 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-05-16 22:31:51 -0700 |
commit | df82d2e89c41d1dc6f02a881f0cddac8252bb441 (patch) | |
tree | 4b7e72210792c58e241649e28ef14b8d52489e73 /tools/perf/scripts/python/syscall-counts.py | |
parent | d2e541494935a659b67e51aa3d1945bb3b799c4e (diff) |
selftests/xsk: generate simpler packets with variable length
Implement support for generating pkts with variable length. Before
this patch, they were all 64 bytes, exception for some packets of zero
length and some that were too large. This feature will be used to test
multi-buffer support for which large packets are needed.
The packets are also made simpler, just a valid Ethernet header
followed by a sequence number. This so that it will become easier to
implement packet generation when each packet consists of multiple
fragments. There is also a maintenance burden associated with carrying
all this code for generating proper UDP/IP packets, especially since
they are not needed.
Signed-off-by: Magnus Karlsson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions