diff options
author | Krishna Kumar <krkumar2@in.ibm.com> | 2009-10-14 15:54:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-18 02:57:25 -0400 |
commit | 0d9a40de60a4470777913d8d42044ae548e6545d (patch) | |
tree | 6192c325ca3275e9f1f7f6ad76fecbce8fa545d1 /drivers/net/cxgb3/sge.c | |
parent | a1c1f5eab7d8c3b4f645df8ce2882ff4f578aa45 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
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 | ||