aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
authorRobert Meijer <robert.s.meijer@gmail.com>2020-10-09 19:58:46 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-10-06 16:45:43 +0200
commitc3b9f00aaae37db603f6107d93245e0d8aa8a2d0 (patch)
tree6d84ebcf5d7085ec1f175da7498f835fef243676 /target/linux/ath79
parent13cae3cdce34a600cfbdd7eac82d8fb50cda3f1d (diff)
downloadupstream-c3b9f00aaae37db603f6107d93245e0d8aa8a2d0.tar.gz
upstream-c3b9f00aaae37db603f6107d93245e0d8aa8a2d0.tar.bz2
upstream-c3b9f00aaae37db603f6107d93245e0d8aa8a2d0.zip
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 <robert.s.meijer@gmail.com> [ improve title, commit description and wrap to 80 columns ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h2
1 files changed, 1 insertions, 1 deletions
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