From 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 16 May 2024 03:11:33 +0000
Subject: [PATCH] AX88772C_eeprom and ax8872c build together
---
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