projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c1f5e
)
cxgb3: No need to wake queue in xmit handler
author
Krishna Kumar
<krkumar2@in.ibm.com>
Wed, 14 Oct 2009 19:54:19 +0000
(19:54 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sun, 18 Oct 2009 06:57:25 +0000
(23:57 -0700)
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>
drivers/net/cxgb3/sge.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/cxgb3/sge.c
b/drivers/net/cxgb3/sge.c
index b7f4ee40879cad9e981e45c4d48aaf999adb5723..47b352d982ce643ec174d128ae1b94f1f2cd0edc 100644
(file)
--- 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);
}
}