From: Felix Fietkau Date: Thu, 11 Feb 2016 15:02:07 +0000 (+0000) Subject: ag71xx: increase rx ring size to improve performance X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=37dd95b7728fe11ffc8c06c7ec95287f372822e6;p=openwrt%2Fstaging%2Fmkresin.git ag71xx: increase rx ring size to improve performance Signed-off-by: Felix Fietkau SVN-Revision: 48694 --- 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 8665cadd7d..5d03dcf2bd 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 @@ -56,10 +56,10 @@ #define AG71XX_TX_RING_DS_PER_PKT DIV_ROUND_UP(AG71XX_TX_MTU_LEN, \ AG71XX_TX_RING_SPLIT) #define AG71XX_TX_RING_SIZE_DEFAULT 128 -#define AG71XX_RX_RING_SIZE_DEFAULT 128 +#define AG71XX_RX_RING_SIZE_DEFAULT 256 #define AG71XX_TX_RING_SIZE_MAX 128 -#define AG71XX_RX_RING_SIZE_MAX 128 +#define AG71XX_RX_RING_SIZE_MAX 256 #ifdef CONFIG_AG71XX_DEBUG #define DBG(fmt, args...) pr_debug(fmt, ## args)