netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] e1000: disable TSO workaround on 82544
@ 2008-06-19 21:18 Andy Gospodarek
  2008-06-25  8:50 ` Jeff Kirsher
  2008-06-27  5:13 ` Jeff Garzik
  0 siblings, 2 replies; 4+ messages in thread
From: Andy Gospodarek @ 2008-06-19 21:18 UTC (permalink / raw)
  To: netdev; +Cc: jeffrey.t.kirsher, jesse.brandeburg


It appears that the 82544 does not need the TSO workaround needed on
other chips.  This seems to resolve excessive messages that appear to be
Tx Unit Hangs when a system is under heavy stress.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
---
 drivers/net/e1000/e1000_main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index 59579b1..af6846d 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -3479,7 +3479,8 @@ e1000_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
 	}
 
 	if (likely(tso)) {
-		tx_ring->last_tx_tso = 1;
+		if (likely(adapter->hw.mac_type != e1000_82544))
+			tx_ring->last_tx_tso = 1;
 		tx_flags |= E1000_TX_FLAGS_TSO;
 	} else if (likely(e1000_tx_csum(adapter, tx_ring, skb)))
 		tx_flags |= E1000_TX_FLAGS_CSUM;
-- 
1.5.2.1


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

end of thread, other threads:[~2008-06-27 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-19 21:18 [PATCH 1/4] e1000: disable TSO workaround on 82544 Andy Gospodarek
2008-06-25  8:50 ` Jeff Kirsher
2008-06-27  5:13 ` Jeff Garzik
2008-06-27 14:25   ` Andy Gospodarek

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).