ar71xx: ethernet: reduce tx dma ring size further to improve cache footprint
authorFelix Fietkau <nbd@openwrt.org>
Tue, 13 Aug 2013 10:35:10 +0000 (10:35 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 13 Aug 2013 10:35:10 +0000 (10:35 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37765

target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h

index 83607b38bf01e74790e46a8a52edc80cb76b398c..606c6f1c057e8e3f3b2f3e3c0f503c4471edf66b 100644 (file)
        (ETH_FRAME_LEN + ETH_FCS_LEN + VLAN_HLEN)
 #define AG71XX_RX_BUF_SIZE (AG71XX_RX_PKT_SIZE + NET_SKB_PAD + NET_IP_ALIGN)
 
-#define AG71XX_TX_RING_SIZE_DEFAULT    64
+#define AG71XX_TX_RING_SIZE_DEFAULT    32
 #define AG71XX_RX_RING_SIZE_DEFAULT    128
 
-#define AG71XX_TX_RING_SIZE_MAX                128
+#define AG71XX_TX_RING_SIZE_MAX                32
 #define AG71XX_RX_RING_SIZE_MAX                128
 
 #ifdef CONFIG_AG71XX_DEBUG