* [PATCH] net: zynq: Add a note about RX_BUF macro
@ 2020-01-09 6:38 Michal Simek
2020-01-16 7:09 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2020-01-09 6:38 UTC (permalink / raw)
To: u-boot
Record note about reducing number of BDs.
Signed-off-by: Michal Simek <michal.simek@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] net: zynq: Add a note about RX_BUF macro
2020-01-09 6:38 [PATCH] net: zynq: Add a note about RX_BUF macro Michal Simek
@ 2020-01-16 7:09 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2020-01-16 7:09 UTC (permalink / raw)
To: u-boot
čt 9. 1. 2020 v 7:38 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> Record note about reducing number of BDs.
>
> Signed-off-by: Michal Simek <michal.simek@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
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-16 7:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 6:38 [PATCH] net: zynq: Add a note about RX_BUF macro Michal Simek
2020-01-16 7:09 ` Michal Simek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.