aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/sge.c
diff options
context:
space:
mode:
authorKrishna Kumar <krkumar2@in.ibm.com>2009-10-14 15:54:19 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-18 02:57:25 -0400
commit0d9a40de60a4470777913d8d42044ae548e6545d (patch)
tree6192c325ca3275e9f1f7f6ad76fecbce8fa545d1 /drivers/net/cxgb3/sge.c
parenta1c1f5eab7d8c3b4f645df8ce2882ff4f578aa45 (diff)
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 <krkumar2@in.ibm.com> Acked-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/sge.c')
-rw-r--r--drivers/net/cxgb3/sge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index b7f4ee40879..47b352d982c 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)
1260 if (should_restart_tx(q) && 1260 if (should_restart_tx(q) &&
1261 test_and_clear_bit(TXQ_ETH, &qs->txq_stopped)) { 1261 test_and_clear_bit(TXQ_ETH, &qs->txq_stopped)) {
1262 q->restarts++; 1262 q->restarts++;
1263 netif_tx_wake_queue(txq); 1263 netif_tx_start_queue(txq);
1264 } 1264 }
1265 } 1265 }
1266 1266