Просмотр исходного кода

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 <[email protected]>
[ improve title, commit description and wrap to 80 columns ]
Signed-off-by: Christian Marangi <[email protected]>
Robert Meijer 5 лет назад
Родитель
Сommit
c3b9f00aaa

+ 1 - 1
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