Skip to content

Commit

Permalink
net: ucc_geth, increase no. of HW RX descriptors
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
joakim-tjernlund authored and davem330 committed May 3, 2012
1 parent 076e777 commit 5bbdc05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/freescale/ucc_geth.h
Expand Up @@ -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)
Expand Down

0 comments on commit 5bbdc05

Please sign in to comment.