[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20070115164530.214FC4180B@ahkok-mobl.jf.intel.com>
Date: Mon, 15 Jan 2007 08:40:30 -0800
From: auke-jan.h.kok@...el.com (Auke-Jan H Kok)
To: Jeff Garzik <jgarzik@...ox.com>
Cc: netdev@...r.kernel.org
Subject: [PATCH] ixgb: Don't stop queue unnecesarily
From: Auke Kok <auke-jan.h.kok@...el.com>
ixgb: Don't stop queue unnecesarily
We don't need to stop twice in ixgb_xmit_frame.
Signed-off-by: Auke Kok <auke-jan.h.kok@...el.com>
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c
index 51bd7e8..83f4d67 100644
--- a/drivers/net/ixgb/ixgb_main.c
+++ b/drivers/net/ixgb/ixgb_main.c
@@ -1473,7 +1473,6 @@ ixgb_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
if (unlikely(ixgb_maybe_stop_tx(netdev, &adapter->tx_ring,
DESC_NEEDED))) {
- netif_stop_queue(netdev);
spin_unlock_irqrestore(&adapter->tx_lock, flags);
return NETDEV_TX_BUSY;
}
-
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