From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 07:24:11 +0000
Subject: [PATCH] add stmac read mac form eeprom

---
 kernel/tools/testing/selftests/net/msg_zerocopy.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/kernel/tools/testing/selftests/net/msg_zerocopy.c b/kernel/tools/testing/selftests/net/msg_zerocopy.c
index c539591..bdc03a2 100644
--- a/kernel/tools/testing/selftests/net/msg_zerocopy.c
+++ b/kernel/tools/testing/selftests/net/msg_zerocopy.c
@@ -650,12 +650,13 @@
 
 static void do_rx(int domain, int type, int protocol)
 {
+	const int cfg_receiver_wait_ms = 400;
 	uint64_t tstop;
 	int fd;
 
 	fd = do_setup_rx(domain, type, protocol);
 
-	tstop = gettimeofday_ms() + cfg_runtime_ms;
+	tstop = gettimeofday_ms() + cfg_runtime_ms + cfg_receiver_wait_ms;
 	do {
 		if (type == SOCK_STREAM)
 			do_flush_tcp(fd);

--
Gitblit v1.6.2