netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][TG3] fix tx timeout after setting mtu
@ 2003-04-20 16:40 jamesm
  2003-04-20 17:19 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: jamesm @ 2003-04-20 16:40 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev

This patch against recent bk stops a tx timeout when setting the mtu.

- James
-- 
James Morris
<jamesm@samba.org>

--- bk.orig/drivers/net/tg3.c	Thu Apr 10 08:37:14 2003
+++ bk.w1/drivers/net/tg3.c	Mon Apr 21 02:22:48 2003
@@ -2769,6 +2769,7 @@
 	tg3_init_rings(tp);
 	tg3_init_hw(tp);
 
+	netif_wake_queue(tp->dev);
 	spin_unlock(&tp->tx_lock);
 	spin_unlock_irq(&tp->lock);
 	tg3_netif_start(tp);

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

* Re: [PATCH][TG3] fix tx timeout after setting mtu
  2003-04-20 16:40 [PATCH][TG3] fix tx timeout after setting mtu jamesm
@ 2003-04-20 17:19 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2003-04-20 17:19 UTC (permalink / raw)
  To: jamesm; +Cc: netdev

jamesm@samba.org wrote:
> This patch against recent bk stops a tx timeout when setting the mtu.


hmmm, gonna have to think on this a bit...  tg3_netif_start calls 
netif_wake_queue, which _should_ take care of this problem.  According 
to you it doesn't, so we need to figure out why...

	Jeff

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

end of thread, other threads:[~2003-04-20 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-20 16:40 [PATCH][TG3] fix tx timeout after setting mtu jamesm
2003-04-20 17:19 ` Jeff Garzik

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