aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorMagnus Karlsson <[email protected]>2023-05-16 10:31:03 +0000
committerAlexei Starovoitov <[email protected]>2023-05-17 05:31:51 +0000
commit7a8a6762822a1f5249eec356e7ea31f98161fba0 (patch)
treee1a367f48b8ebdfdc893a922d5c0bccfe87e52cd /tools/bpf/bpftool/prog.c
parentselftests/xsk: add varying payload pattern within packet (diff)
downloadkernel-7a8a6762822a1f5249eec356e7ea31f98161fba0.tar.gz
kernel-7a8a6762822a1f5249eec356e7ea31f98161fba0.zip
selftests/xsk: dump packet at error
Dump the content of the packet when a test finds that packets are received out of order, the length is wrong, or some other packet error. Use the already existing pkt_dump function for this and call it when the above errors are detected. Get rid of the command line option for dumping packets as it is not useful to print out thousands of good packets followed by the faulty one you would like to see. 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/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions