From: Felix Fietkau Date: Sat, 6 Sep 2014 17:51:39 +0000 (+0000) Subject: ar71xx: on ar716x, split ethernet packets in 512 byte chunks instead of 256 (improves... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=05dd36a9804e238f346c53130dec38b12bcf7894;p=openwrt%2Fstaging%2Fdedeckeh.git ar71xx: on ar716x, split ethernet packets in 512 byte chunks instead of 256 (improves performance) (patch from #13072) Signed-off-by: Felix Fietkau SVN-Revision: 42427 --- 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