[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071030125055.GA7195@gospo.rdu.redhat.com>
Date: Tue, 30 Oct 2007 08:50:55 -0400
From: Andy Gospodarek <andy@...yhouse.net>
To: auke-jan.h.kok@...el.com
Cc: zenyowu@...ibm.com, netdev@...r.kernel.org
Subject: [PATCH 2.6.24] ixgb: TX hangs under heavy load
Auke,
It has become clear that this patch resolves some tx-lockups on the ixgb
driver. IBM did some checking and realized this hunk is in your
sourceforge driver, but not anywhere else. Mind if we add it?
Thanks,
-andy
Signed-off-by: Andy Gospodarek <andy@...yhouse.net>
---
ixgb_main.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c
index d444de5..3ec7a41 100644
--- a/drivers/net/ixgb/ixgb_main.c
+++ b/drivers/net/ixgb/ixgb_main.c
@@ -1324,7 +1324,7 @@ ixgb_tx_map(struct ixgb_adapter *adapter, struct sk_buff *skb,
/* Workaround for premature desc write-backs
* in TSO mode. Append 4-byte sentinel desc */
- if (unlikely(mss && !nr_frags && size == len
+ if (unlikely(mss && (f == (nr_frags-1)) && size == len
&& size > 8))
size -= 4;
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists