arm: mvebu: Configure ARP timeout and retry count
authorStefan Roese <sr@denx.de>
Tue, 24 Nov 2015 08:15:22 +0000 (09:15 +0100)
committerLuka Perkov <luka.perkov@sartura.hr>
Sun, 29 Nov 2015 15:02:44 +0000 (16:02 +0100)
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 <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Cc: Dirk Eibach <eibach@gdsys.de>
arch/arm/mach-mvebu/include/mach/config.h

index 9dde710..1d49cab 100644 (file)
@@ -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 */
 
 /*