[PATCH] net: zynq: Add a note about RX_BUF macro

Michal Simek michal.simek at xilinx.com
Thu Jan 9 07:38:05 CET 2020


Record note about reducing number of BDs.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 drivers/net/zynq_gem.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index 78f94148b411..c3fe8e3c563f 100644
--- a/drivers/net/zynq_gem.c
+++ b/drivers/net/zynq_gem.c
@@ -173,6 +173,7 @@ struct emac_bd {
 #endif
 };
 
+/* Reduce amount of BUFs if you have limited amount of memory */
 #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.
-- 
2.24.0



More information about the U-Boot mailing list