diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-12 17:26:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-08-12 17:26:03 +0000 |
commit | 413a09f44c03c3e18267e11cddc67a5852997af6 (patch) | |
tree | 81b21ae28e8295ccb53279c40a3a00f8441b1572 /target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx | |
parent | 7fff30d5b92629253f4c4f42bab22d9d14b0edec (diff) | |
download | upstream-413a09f44c03c3e18267e11cddc67a5852997af6.tar.gz upstream-413a09f44c03c3e18267e11cddc67a5852997af6.tar.bz2 upstream-413a09f44c03c3e18267e11cddc67a5852997af6.zip |
ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint
256 entries is a bit excessive, even for gigabit speeds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37762 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h | 4 |
1 files changed, 2 insertions, 2 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 6d51e722b0..83607b38bf 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 @@ -58,8 +58,8 @@ #define AG71XX_TX_RING_SIZE_DEFAULT 64 #define AG71XX_RX_RING_SIZE_DEFAULT 128 -#define AG71XX_TX_RING_SIZE_MAX 256 -#define AG71XX_RX_RING_SIZE_MAX 256 +#define AG71XX_TX_RING_SIZE_MAX 128 +#define AG71XX_RX_RING_SIZE_MAX 128 #ifdef CONFIG_AG71XX_DEBUG #define DBG(fmt, args...) pr_debug(fmt, ## args) |