aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorMichal Simek2019-05-22 14:12:20 +0200
committerMichal Simek2020-01-14 09:05:55 +0100
commit8af4c4dcbb30b5a79a9a6b507863e4dd380e6b72 (patch)
tree7d457e5c4df46f980a4f55e4fe0dabb1065f78e6 /drivers/net
parentcecf7f4958a17f2ec32ffdb192613777c079fcd5 (diff)
net: zynq: Add a note about RX_BUF macro
Record note about reducing number of BDs. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/zynq_gem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c
index 78f94148b41..c3fe8e3c563 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.