[PATCH] net: mvneta: increase RX ring size

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 6 06:21:56 PST 2023


To better cope with bigger TFTP window sizes increase the RX ring size.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/net/mvneta.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c
index ba32eeabdc..1e176dbdc2 100644
--- a/drivers/net/mvneta.c
+++ b/drivers/net/mvneta.c
@@ -166,7 +166,7 @@
 
 #define MVNETA_MH_SIZE		2
 #define TXQ_NUM			8
-#define RX_RING_SIZE		4
+#define RX_RING_SIZE		128
 #define TRANSFER_TIMEOUT	(10 * MSECOND)
 
 struct rxdesc {
-- 
2.39.2




More information about the barebox mailing list