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

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

index 8665cadd7de34fd5f1a0191027271c74a74ecdb2..5d03dcf2bd9fff11ca7d2f08786fdaa31c164661 100644 (file)
 #define AG71XX_TX_RING_DS_PER_PKT      DIV_ROUND_UP(AG71XX_TX_MTU_LEN, \
                                                     AG71XX_TX_RING_SPLIT)
 #define AG71XX_TX_RING_SIZE_DEFAULT    128
-#define AG71XX_RX_RING_SIZE_DEFAULT    128
+#define AG71XX_RX_RING_SIZE_DEFAULT    256
 
 #define AG71XX_TX_RING_SIZE_MAX                128
-#define AG71XX_RX_RING_SIZE_MAX                128
+#define AG71XX_RX_RING_SIZE_MAX                256
 
 #ifdef CONFIG_AG71XX_DEBUG
 #define DBG(fmt, args...)      pr_debug(fmt, ## args)