ag71xx: increase tx ring size to improve performance
authorFelix Fietkau <nbd@openwrt.org>
Thu, 11 Feb 2016 15:01:54 +0000 (15:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 11 Feb 2016 15:01:54 +0000 (15:01 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48692

target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h

index b18c20b6ddf8922812de3790a2622c33197a5785..3397ca828b72e4c5ab5af490c5dd63f1075c807b 100644 (file)
 #define AG71XX_TX_RING_SPLIT           512
 #define AG71XX_TX_RING_DS_PER_PKT      DIV_ROUND_UP(AG71XX_TX_MTU_LEN, \
                                                     AG71XX_TX_RING_SPLIT)
-#define AG71XX_TX_RING_SIZE_DEFAULT    48
+#define AG71XX_TX_RING_SIZE_DEFAULT    128
 #define AG71XX_RX_RING_SIZE_DEFAULT    128
 
-#define AG71XX_TX_RING_SIZE_MAX                48
+#define AG71XX_TX_RING_SIZE_MAX                128
 #define AG71XX_RX_RING_SIZE_MAX                128
 
 #ifdef CONFIG_AG71XX_DEBUG