netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] net: ucc_geth, increase no. of HW RX descriptors
@ 2012-04-30  8:36 Joakim Tjernlund
  2012-04-30  8:36 ` [PATCH 2/2] ucc_geth: Add 16 bytes to max TX frame for VLANs Joakim Tjernlund
  2012-05-03  0:10 ` [PATCH 1/2] net: ucc_geth, increase no. of HW RX descriptors David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Joakim Tjernlund @ 2012-04-30  8:36 UTC (permalink / raw)
  To: netdev@vger.kernel.org; +Cc: Joakim Tjernlund

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>
---
 drivers/net/ethernet/freescale/ucc_geth.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/freescale/ucc_geth.h b/drivers/net/ethernet/freescale/ucc_geth.h
index 2e395a2..f71b3e7 100644
--- a/drivers/net/ethernet/freescale/ucc_geth.h
+++ b/drivers/net/ethernet/freescale/ucc_geth.h
@@ -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)
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-03  0:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30  8:36 [PATCH 1/2] net: ucc_geth, increase no. of HW RX descriptors Joakim Tjernlund
2012-04-30  8:36 ` [PATCH 2/2] ucc_geth: Add 16 bytes to max TX frame for VLANs Joakim Tjernlund
2012-05-03  0:12   ` David Miller
2012-05-03  0:10 ` [PATCH 1/2] net: ucc_geth, increase no. of HW RX descriptors David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).