diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-13 10:35:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-08-13 10:35:10 +0000 |
commit | bbd4d4c8b867b00809f283dbc90ed95337d9a21e (patch) | |
tree | 9558d0d2778c8db8f381d64993b135537633c163 | |
parent | ead5aa354c823d2a25e94ed501204bdab32b0a74 (diff) | |
download | upstream-bbd4d4c8b867b00809f283dbc90ed95337d9a21e.tar.gz upstream-bbd4d4c8b867b00809f283dbc90ed95337d9a21e.tar.bz2 upstream-bbd4d4c8b867b00809f283dbc90ed95337d9a21e.zip |
ar71xx: ethernet: reduce tx dma ring size further to improve cache footprint
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37765
-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 83607b38bf..606c6f1c05 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 @@ -55,10 +55,10 @@ (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 |