netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@fr.zoreil.com>
To: David Miller <davem@davemloft.net>
Cc: linux@horizon.com, jeff@garzik.org,
	Andrew Morton <akpm@linux-foundation.org>,
	netdev@vger.kernel.org
Subject: [PATCH 3/4] ipg: fix queue stop condition in the xmit handler
Date: Fri, 11 Jan 2008 00:37:52 +0100	[thread overview]
Message-ID: <20080110233752.GD13315@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <20080110233508.GA13315@electric-eye.fr.zoreil.com>

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
---
 drivers/net/ipg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c
index 9752902..b234b29 100644
--- a/drivers/net/ipg.c
+++ b/drivers/net/ipg.c
@@ -1994,7 +1994,7 @@ static int ipg_nic_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
 	ipg_w32(IPG_DC_TX_DMA_POLL_NOW, DMA_CTRL);
 
 	if (sp->tx_current == (sp->tx_dirty + IPG_TFDLIST_LENGTH))
-		netif_wake_queue(dev);
+		netif_stop_queue(dev);
 
 	spin_unlock_irqrestore(&sp->lock, flags);
 
-- 
1.5.3.3


  parent reply	other threads:[~2008-01-10 23:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-10 23:35 [PATCH 0/4] Pull request for 'ipg-fixes' branch Francois Romieu
2008-01-10 23:35 ` [PATCH 1/4] ipg: balance locking in irq handler Francois Romieu
2008-01-10 23:37 ` [PATCH 2/4] ipg: plug Tx completion leak Francois Romieu
2008-01-10 23:37 ` Francois Romieu [this message]
2008-01-10 23:38 ` [PATCH 4/4] ipg: fix Tx completion irq request Francois Romieu
2008-01-11  1:58 ` [PATCH 0/4] Pull request for 'ipg-fixes' branch linux
2008-01-11 17:22   ` Francois Romieu
2008-01-12 22:48 ` Jeff Garzik
2008-01-13 15:50   ` Francois Romieu
2008-01-13 22:34     ` Francois Romieu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080110233752.GD13315@electric-eye.fr.zoreil.com \
    --to=romieu@fr.zoreil.com \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=jeff@garzik.org \
    --cc=linux@horizon.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).