| To: | Jeff Garzik <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] iphase fix. |
| From: | Dave Jones <davej@xxxxxxxxxxxxxxxxx> |
| Date: | Thu, 15 May 2003 12:32:58 +0100 |
| Cc: | Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <3EC336FE.1030805@xxxxxxxxx> |
| Mail-followup-to: | Dave Jones <davej@xxxxxxxxxxxxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| References: | <200305150417.h4F4HTRA025809@xxxxxxxxxxxxxxx> <3EC3359D.5050207@xxxxxxxxx> <3EC336FE.1030805@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.4i |
On Thu, May 15, 2003 at 02:43:10AM -0400, Jeff Garzik wrote:
> Jeff Garzik wrote:
> >> dev_kfree_skb(skb);
> >>- else
> >>- netif_wake_queue(dev);
> >>+ netif_wake_queue(dev);
> >> LEAVE("iph5526_send_packet");
> >
> >This appears to revert a fix.
> >You only want to wake the queue if you have room to queue another skb.
>
> Actually, I'm wrong.
>
> But it could still use some looking-at. You don't want to stop_queue at
> the beginning of send_packet and wake_queue at the end. Instead, the
> queue should be awakened in the Tx completion routine, and the
> stop_queue should be moved from the beginning to the end of the function.
Bring it up with whoever merged it into 2.4..
Dave
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] iphase fix., Jeff Garzik |
|---|---|
| Next by Date: | Re: link error building kernel with gcc-3.3, Alex Davis |
| Previous by Thread: | Re: [PATCH] iphase fix., Jeff Garzik |
| Next by Thread: | [PATCH] wanrouter: don't use typedefs for wan_device, just struct wan_device, Arnaldo Carvalho de Melo |
| Indexes: | [Date] [Thread] [Top] [All Lists] |