aboutsummaryrefslogtreecommitdiffstats
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
commitb083d521dfd1f1e3aae01f6fd30065f97d972e74 (patch)
tree05b7c8fd3e7fd2e47d06a80a2d5b090506af611c
parent689e691766575873f3d154b7fb5972b4a697c029 (diff)
downloadupstream-b083d521dfd1f1e3aae01f6fd30065f97d972e74.tar.gz
upstream-b083d521dfd1f1e3aae01f6fd30065f97d972e74.tar.bz2
upstream-b083d521dfd1f1e3aae01f6fd30065f97d972e74.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42427 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 9fb10fd898..2d7c963a44 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