summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-11 15:01:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-11 15:01:54 +0000
commit033fbb7778aecfd575e7c773b102acecf0d99240 (patch)
tree99a2faec6a3a35f0d44325c26ff5542be74b5b11 /target/linux
parentb7a2c533dab6c21614887670f01c5b94a8bd88fc (diff)
downloadmtk-20170518-033fbb7778aecfd575e7c773b102acecf0d99240.zip
mtk-20170518-033fbb7778aecfd575e7c773b102acecf0d99240.tar.gz
mtk-20170518-033fbb7778aecfd575e7c773b102acecf0d99240.tar.bz2
ag71xx: increase tx ring size to improve performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48692
Diffstat (limited to 'target/linux')
-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 b18c20b..3397ca8 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
@@ -55,10 +55,10 @@
#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