aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/drivers
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-11 15:02:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-11 15:02:07 +0000
commit37dd95b7728fe11ffc8c06c7ec95287f372822e6 (patch)
treedd9493a8ffe501cc831b8d427db85324dd6ce3b4 /target/linux/ar71xx/files/drivers
parent11ca71cfdbc1397106e911890b43ea0d0c0b96d6 (diff)
downloadupstream-37dd95b7728fe11ffc8c06c7ec95287f372822e6.tar.gz
upstream-37dd95b7728fe11ffc8c06c7ec95287f372822e6.tar.bz2
upstream-37dd95b7728fe11ffc8c06c7ec95287f372822e6.zip
ag71xx: increase rx ring size to improve performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48694
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
index 8665cadd7d..5d03dcf2bd 100644
--- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
+++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
@@ -56,10 +56,10 @@
#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)