]> git.baikalelectronics.ru Git - kernel.git/commit
selftest/bpf: Make xsk tests less verbose
authorMagnus Karlsson <magnus.karlsson@intel.com>
Tue, 23 Feb 2021 16:23:01 +0000 (16:23 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 26 Feb 2021 20:08:48 +0000 (12:08 -0800)
commit568caf222dd05bc6d2bbf18ab4aefd6ecf67fab5
tree5eb3a48bcb94852c0ad67c178c1db36112b53e51
parent2041e5574c3fec3ead7d62ad62becf45006ad260
selftest/bpf: Make xsk tests less verbose

Make the xsk tests less verbose by only printing the
essentials. Currently, it is hard to see if the tests passed or not
due to all the printouts. Move the extra printouts to a verbose
option, if further debugging is needed when a problem arises.

To run the xsk tests with verbose output:
./test_xsk.sh -v

Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Link: https://lore.kernel.org/bpf/20210223162304.7450-2-ciara.loftus@intel.com
tools/testing/selftests/bpf/test_xsk.sh
tools/testing/selftests/bpf/xdpxceiver.c
tools/testing/selftests/bpf/xdpxceiver.h
tools/testing/selftests/bpf/xsk_prereqs.sh