From c3b9f00aaae37db603f6107d93245e0d8aa8a2d0 Mon Sep 17 00:00:00 2001 From: Robert Meijer Date: Fri, 9 Oct 2020 19:58:46 +0200 Subject: [PATCH] ath79: increase max tx ring buffer for ag71xx This allows the user to specify a larger tx ring buffer size via ethtool. Having symmetrical ring buffer sizes increases throughput on high bandwidth (1 gbps tested) network connections. The default value is not changed so the same behaviour is saved. Signed-off-by: Robert Meijer [ improve title, commit description and wrap to 80 columns ] Signed-off-by: Christian Marangi --- .../ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h index 1955cd288f3..0773f1a5af0 100644 --- a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h +++ b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h @@ -65,7 +65,7 @@ #define AG71XX_TX_RING_SIZE_DEFAULT 128 #define AG71XX_RX_RING_SIZE_DEFAULT 256 -#define AG71XX_TX_RING_SIZE_MAX 128 +#define AG71XX_TX_RING_SIZE_MAX 256 #define AG71XX_RX_RING_SIZE_MAX 256 #ifdef CONFIG_AG71XX_DEBUG -- 2.30.2