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 9dde710d7a1ab35afd5bfa4aaf7f8833af5f8b3f..1d49cab7fd89e431845357fbfc05d0c25fb5cebb 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 */
 
 /*