From: Marco Schlumpp Date: Fri, 2 Feb 2024 10:07:11 +0000 (+0100) Subject: Enable ARP queueing X-Git-Tag: RELEASE-0.16.2~7 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6d02f1376efa448359547f339c9416e15541acfa;p=unikraft%2Flibs%2Flwip.git Enable ARP queueing This enables sending multiple packets before receiving the ARP response. glibc's DNS resolver sends multiple packets at once and the default behavior of LWIP caused dropping of the IPv4 DNS request. Therefore, glibc never received the DNS response and had to retransmit after a timeout. Signed-off-by: Marco Schlumpp Reviewed-by: Stefan Jumarea Reviewed-by: Mihnea Firoiu Approved-by: Razvan Deaconescu GitHub-Closes: #46 --- diff --git a/include/lwipopts.h b/include/lwipopts.h index 54d802b..61d557e 100644 --- a/include/lwipopts.h +++ b/include/lwipopts.h @@ -107,6 +107,7 @@ void sys_free(void *ptr); /** * ARP options */ +#define ARP_QUEUEING 1 #define MEMP_NUM_ARP_QUEUE 256 #define ETHARP_SUPPORT_STATIC_ENTRIES 1