From 9eb14cc443d0ae846ba72434e6c749222404be3d Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Tue, 24 Nov 2015 09:15:22 +0100 Subject: [PATCH] arm: mvebu: Configure ARP timeout and retry count As some MVEBU platforms using the MVNETA driver seem to miss the first ARP packet, lets reduce the timeout and increase the retry count. This increases the speed for communication establishment. Signed-off-by: Stefan Roese Cc: Luka Perkov Cc: Dirk Eibach --- arch/arm/mach-mvebu/include/mach/config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-mvebu/include/mach/config.h b/arch/arm/mach-mvebu/include/mach/config.h index 9dde710d7a..1d49cab7fd 100644 --- a/arch/arm/mach-mvebu/include/mach/config.h +++ b/arch/arm/mach-mvebu/include/mach/config.h @@ -70,6 +70,8 @@ #define CONFIG_PHYLIB #define CONFIG_ENV_OVERWRITE /* ethaddr can be reprogrammed */ #define CONFIG_PHY_GIGE /* GbE speed/duplex detect */ +#define CONFIG_ARP_TIMEOUT 200 +#define CONFIG_NET_RETRY_COUNT 50 #endif /* CONFIG_CMD_NET */ /* -- 2.39.5