projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cecf7f4
)
net: zynq: Add a note about RX_BUF macro
author
Michal Simek
<michal.simek@xilinx.com>
Wed, 22 May 2019 12:12:20 +0000
(14:12 +0200)
committer
Michal Simek
<michal.simek@xilinx.com>
Tue, 14 Jan 2020 08:05:55 +0000
(09:05 +0100)
Record note about reducing number of BDs.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/zynq_gem.c
patch
|
blob
|
history
diff --git
a/drivers/net/zynq_gem.c
b/drivers/net/zynq_gem.c
index 78f94148b4114b53692735995fb11dedfc798f29..c3fe8e3c563f9b23380482203cf524adba430e3c 100644
(file)
--- 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.