* [PATCH] net: mvneta: increase RX ring size
@ 2023-11-06 14:21 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2023-11-06 14:21 UTC (permalink / raw)
To: Barebox List
To better cope with bigger TFTP window sizes increase the RX ring size.
Signed-off-by: Sascha Hauer <s.hauer@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-06 14:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06 14:21 [PATCH] net: mvneta: increase RX ring size Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox