aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/udpgro_frglist.sh
diff options
context:
space:
mode:
authorAdrien Thierry <athierry@redhat.com>2022-11-01 14:48:08 -0400
committerDavid S. Miller <davem@davemloft.net>2022-11-04 10:10:59 +0000
commitcdb525ca92b196f8916102b62431aa0d9a644ff2 (patch)
tree996ffa43d967510a8fcb04609e7084e0cf952b67 /tools/testing/selftests/net/udpgro_frglist.sh
parentnet: hns3: fix get wrong value of function hclge_get_dscp_prio() (diff)
downloadlinux-dev-cdb525ca92b196f8916102b62431aa0d9a644ff2.tar.xz
linux-dev-cdb525ca92b196f8916102b62431aa0d9a644ff2.zip
selftests/net: give more time to udpgro bg processes to complete startup
In some conditions, background processes in udpgro don't have enough time to set up the sockets. When foreground processes start, this results in the test failing with "./udpgso_bench_tx: sendmsg: Connection refused". For instance, this happens from time to time on a Qualcomm SA8540P SoC running CentOS Stream 9. To fix this, increase the time given to background processes to complete the startup before foreground processes start. Signed-off-by: Adrien Thierry <athierry@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rwxr-xr-xtools/testing/selftests/net/udpgro_frglist.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/udpgro_frglist.sh b/tools/testing/selftests/net/udpgro_frglist.sh
index 832c738cc3c2..7fe85ba51075 100755
--- a/tools/testing/selftests/net/udpgro_frglist.sh
+++ b/tools/testing/selftests/net/udpgro_frglist.sh
@@ -44,7 +44,7 @@ run_one() {
ip netns exec "${PEER_NS}" ./udpgso_bench_rx ${rx_args} -r &
# Hack: let bg programs complete the startup
- sleep 0.1
+ sleep 0.2
./udpgso_bench_tx ${tx_args}
}