]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: ucc_geth, increase no. of HW RX descriptors
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Sun, 29 Apr 2012 22:36:54 +0000 (22:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2012 00:09:04 +0000 (20:09 -0400)
In a busy network we see ucc_geth is dropping RX pkgs every now
and then. Increase the RX queues HW descriptors from
16 to 32 to deal with this.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/ucc_geth.h

index 2e395a2566b8d6221747f79828cbdfb70f72947c..f71b3e7b12defe7c92489ca967fbfe72819ab382 100644 (file)
@@ -877,7 +877,7 @@ struct ucc_geth_hardware_statistics {
 
 /* Driver definitions */
 #define TX_BD_RING_LEN                          0x10
-#define RX_BD_RING_LEN                          0x10
+#define RX_BD_RING_LEN                          0x20
 
 #define TX_RING_MOD_MASK(size)                  (size-1)
 #define RX_RING_MOD_MASK(size)                  (size-1)