Skip to content
Snippets Groups Projects
Commit eda9d307 authored by Siva Durga Prasad Paladugu's avatar Siva Durga Prasad Paladugu Committed by Michal Simek
Browse files

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: default avatarSiva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 96f4f149
No related branches found
No related tags found
No related merge requests found
...@@ -138,7 +138,7 @@ struct emac_bd { ...@@ -138,7 +138,7 @@ struct emac_bd {
u32 status; u32 status;
}; };
#define RX_BUF 3 #define RX_BUF 32
/* Page table entries are set to 1MB, or multiples of 1MB /* Page table entries are set to 1MB, or multiples of 1MB
* (not < 1MB). driver uses less bd's so use 1MB bdspace. * (not < 1MB). driver uses less bd's so use 1MB bdspace.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment