From: Michal Simek Date: Wed, 22 May 2019 12:12:20 +0000 (+0200) Subject: net: zynq: Add a note about RX_BUF macro X-Git-Tag: v2020.10~412^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8af4c4dcbb30b5a79a9a6b507863e4dd380e6b72;p=platform%2Fkernel%2Fu-boot.git net: zynq: Add a note about RX_BUF macro Record note about reducing number of BDs. Signed-off-by: Michal Simek --- diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 78f9414..c3fe8e3 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.