summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/drivers
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-09-06 17:51:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-09-06 17:51:39 +0000
commit05dd36a9804e238f346c53130dec38b12bcf7894 (patch)
tree123eb02c4cba63ec9a37174eaf8c2d50f1d94c7e /target/linux/ar71xx/files/drivers
parentefa2159e17430ad82f31dfaa68bd7ae3a41bfda5 (diff)
downloadmtk-20170518-05dd36a9804e238f346c53130dec38b12bcf7894.zip
mtk-20170518-05dd36a9804e238f346c53130dec38b12bcf7894.tar.gz
mtk-20170518-05dd36a9804e238f346c53130dec38b12bcf7894.tar.bz2
ar71xx: on ar716x, split ethernet packets in 512 byte chunks instead of 256 (improves performance) (patch from #13072)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42427
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-rw-r--r--target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h2
1 files changed, 1 insertions, 1 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 9fb10fd..2d7c963 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
@@ -52,7 +52,7 @@
#define AG71XX_TX_MTU_LEN 1540
-#define AG71XX_TX_RING_SPLIT 256
+#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