From: Siva Durga Prasad Paladugu Date: Wed, 15 Apr 2015 06:45:01 +0000 (+0530) Subject: zynq: gem: Increase the Rx buffer descriptors to 32 X-Git-Tag: v2015.10-rc1~28^2~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eda9d3071b3a3d7b2720cf51dbe05648784160d3;p=oweals%2Fu-boot.git zynq: gem: Increase the Rx buffer descriptors to 32 Increase the Rx Buffer descriptors to 32. This will avoid Rx buffer descriptors overflow if more packets were received at one shot before we process the received ones. This fixes the issue of intermittent timeouts during tftp on a 1Gb connection with tftp server running on windows. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index eca7feeae9..f4c2252d0c 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq_gem.c @@ -138,7 +138,7 @@ struct emac_bd { u32 status; }; -#define RX_BUF 3 +#define RX_BUF 32 /* Page table entries are set to 1MB, or multiples of 1MB * (not < 1MB). driver uses less bd's so use 1MB bdspace. */