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
master
Felix Fietkau 2014-09-06 17:51:39 +00:00
parent 689e691766
commit b083d521df
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
#define AG71XX_TX_MTU_LEN 1540 #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, \ #define AG71XX_TX_RING_DS_PER_PKT DIV_ROUND_UP(AG71XX_TX_MTU_LEN, \
AG71XX_TX_RING_SPLIT) AG71XX_TX_RING_SPLIT)
#define AG71XX_TX_RING_SIZE_DEFAULT 48 #define AG71XX_TX_RING_SIZE_DEFAULT 48