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
This commit is contained in:
Felix Fietkau 2014-09-06 17:51:39 +00:00
parent efa2159e17
commit 05dd36a980

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