linux-xiaomi-chiron/tools/testing/selftests/net
Paolo Abeni 38bf8cd821 selftests: fix poll error in udpgro.sh
The test program udpgso_bench_rx always invokes the poll()
syscall with a timeout of 10ms. If a larger timeout is specified
via the command line, udpgso_bench_rx is supposed to do multiple
poll() calls till the timeout is expired or an event is received.

Currently the poll() loop errors out after the first invocation with
no events, and may causes self-tests failure alike:

failed
 GRO with custom segment size            ./udpgso_bench_rx: poll: 0x0 expected 0x1

This change addresses the issue allowing the poll() loop to consume
all the configured timeout.

Fixes: ada641ff6e ("selftests: fixes for UDP GRO")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-12-10 13:22:19 -08:00
..
forwarding selftests: forwarding: Add missing 'rp_filter' configuration 2020-10-18 12:47:32 -07:00
mptcp selftests: mptcp: depends on built-in IPv6 2020-10-21 20:39:58 -07:00
.gitignore selftest/net/xfrm: Add test for ipsec tunnel 2020-09-24 08:53:04 +02:00
altnames.sh
config selftests: rtnetlink: load fou module for kci_test_encap_fou() test 2020-10-19 17:55:29 -07:00
devlink_port_split.py
drop_monitor_tests.sh selftests: net: Add drop monitor test 2020-09-30 18:01:26 -07:00
fcnal-test.sh vrf: packets with lladdr src needs dst at input with orig_iif when needs strict 2020-12-05 13:46:07 -08:00
fib-onlink-tests.sh
fib_nexthop_multiprefix.sh
fib_nexthops.sh selftests: fib_nexthops: Test cleanup of FDB entries following nexthop deletion 2020-09-15 16:31:31 -07:00
fib_rule_tests.sh
fib_tests.sh
fin_ack_lat.c
fin_ack_lat.sh
hwtstamp_config.c
icmp_redirect.sh selftests: disable rp_filter for icmp_redirect.sh 2020-08-17 14:59:24 -07:00
in_netns.sh
ip6_gre_headroom.sh
ip_defrag.c
ip_defrag.sh
ipsec.c selftest/net/xfrm: Add test for ipsec tunnel 2020-09-24 08:53:04 +02:00
ipv6_flowlabel.c
ipv6_flowlabel.sh
ipv6_flowlabel_mgr.c
l2tp.sh
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-15 12:43:21 -07:00
msg_zerocopy.c selftests/net: relax cpu affinity requirement in msg_zerocopy test 2020-08-05 12:25:35 -07:00
msg_zerocopy.sh
netdevice.sh
nettest.c selftests: Set default protocol for raw sockets in nettest 2020-09-17 17:07:15 -07:00
pmtu.sh selftests: pmtu.sh: Add tests for UDP tunnels handled by Open vSwitch 2020-08-04 13:01:46 -07:00
psock_fanout.c selftests/net: psock_fanout: fix clang issues for target arch PowerPC 2020-07-27 12:56:58 -07:00
psock_lib.h
psock_snd.c
psock_snd.sh selftests/net: improve descriptions for XFAIL cases in psock_snd.sh 2020-09-03 14:59:10 -07:00
psock_tpacket.c
reuseaddr_conflict.c
reuseaddr_ports_exhausted.c
reuseaddr_ports_exhausted.sh
reuseport_addr_any.c
reuseport_addr_any.sh
reuseport_bpf.c
reuseport_bpf_cpu.c
reuseport_bpf_numa.c
reuseport_dualstack.c
route_localnet.sh
rtnetlink.sh selftests: rtnetlink: load fou module for kci_test_encap_fou() test 2020-10-19 17:55:29 -07:00
run_afpackettests
run_netsocktests
rxtimestamp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-08-02 01:02:12 -07:00
rxtimestamp.sh
so_txtime.c selftests/net: so_txtime: fix clang issues for target arch PowerPC 2020-07-27 12:56:58 -07:00
so_txtime.sh
socket.c
tcp_fastopen_backup_key.c
tcp_fastopen_backup_key.sh
tcp_inq.c
tcp_mmap.c selftests: net: tcp_mmap: Use huge pages in receive path 2020-08-20 16:14:53 -07:00
test_blackhole_dev.sh
test_bpf.sh
test_vxlan_fdb_changelink.sh
test_vxlan_under_vrf.sh
timestamping.c
tls.c
traceroute.sh
txring_overwrite.c
txtimestamp.c selftests: txtimestamp: add flag for timestamp validation tolerance. 2020-07-30 16:38:51 -07:00
txtimestamp.sh
udpgro.sh
udpgro_bench.sh
udpgso.c
udpgso.sh
udpgso_bench.sh
udpgso_bench_rx.c selftests: fix poll error in udpgro.sh 2020-12-10 13:22:19 -08:00
udpgso_bench_tx.c
vrf-xfrm-tests.sh
vrf_route_leaking.sh selftests: Add VRF route leaking tests 2020-10-14 17:14:28 -07:00
vrf_strict_mode_test.sh
xfrm_policy.sh