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

Michal Simek monstr at monstr.eu
Thu Jan 16 08:09:28 CET 2020


čt 9. 1. 2020 v 7:38 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> 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
>

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


More information about the U-Boot mailing list