From: Krishna Kumar Date: Wed, 14 Oct 2009 19:54:19 +0000 (+0000) Subject: cxgb3: No need to wake queue in xmit handler X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0d9a40de60a4470777913d8d42044ae548e6545d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git cxgb3: No need to wake queue in xmit handler The xmit handler doesn't need to wake the queue after stopping it temporarily (some other drivers are doing the same). Patch on net-next-2.6, multiple netperf sessions tested. Signed-off-by: Krishna Kumar Acked-by: Divy Le Ray Signed-off-by: David S. Miller --- diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c index b7f4ee40879c..47b352d982ce 100644 --- a/drivers/net/cxgb3/sge.c +++ b/drivers/net/cxgb3/sge.c @@ -1260,7 +1260,7 @@ netdev_tx_t t3_eth_xmit(struct sk_buff *skb, struct net_device *dev) if (should_restart_tx(q) && test_and_clear_bit(TXQ_ETH, &qs->txq_stopped)) { q->restarts++; - netif_tx_wake_queue(txq); + netif_tx_start_queue(txq); } }