diff options
author | Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> | 2015-04-15 06:45:01 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-07-28 09:56:18 (GMT) |
commit | eda9d3071b3a3d7b2720cf51dbe05648784160d3 (patch) | |
tree | 374f9dc4379fdef180161f7e8cab973a0c2bf8b4 /drivers | |
parent | 96f4f14964f37065105bfee48482ebc7d60d4f38 (diff) | |
download | u-boot-fsl-qoriq-eda9d3071b3a3d7b2720cf51dbe05648784160d3.tar.xz |
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 <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/zynq_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index eca7fee..f4c2252 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. */ |