net: calxedaxgmac: set outstanding AXI bus transactions to 8
authorRob Herring <rob.herring@calxeda.com>
Mon, 9 Jul 2012 14:16:09 +0000 (14:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jul 2012 06:25:47 +0000 (23:25 -0700)
Increase the number of outstanding read and write AXI transactions from 1
to 8 for better performance.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/calxeda/xgmac.c

index 3ca1d79..abb8f40 100644 (file)
@@ -970,7 +970,7 @@ static int xgmac_hw_init(struct net_device *dev)
        writel(DMA_INTR_DEFAULT_MASK, ioaddr + XGMAC_DMA_INTR_ENA);
 
        /* XGMAC requires AXI bus init. This is a 'magic number' for now */
-       writel(0x000100E, ioaddr + XGMAC_DMA_AXI_BUS);
+       writel(0x0077000E, ioaddr + XGMAC_DMA_AXI_BUS);
 
        ctrl |= XGMAC_CONTROL_DDIC | XGMAC_CONTROL_JE | XGMAC_CONTROL_ACS |
                XGMAC_CONTROL_CAR;