From: Robert Meijer Date: Fri, 9 Oct 2020 17:58:46 +0000 (+0200) Subject: ath79: increase max tx ring buffer for ag71xx X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c3b9f00aaae37db603f6107d93245e0d8aa8a2d0;p=openwrt%2Fstaging%2Fwigyori.git 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 --- 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 1955cd288f..0773f1a5af 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