Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27372
b: refs/heads/master
c: 3352a3b
h: refs/heads/master
v: v3
  • Loading branch information
Auke Kok authored and Auke Kok committed May 26, 2006
1 parent 162bee5 commit 1aae49d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f3dc0dd2086402b684545d66bb5ece93c76330b
refs/heads/master: 3352a3b20ce880b17f185ad55bf27751f1c8edb9
12 changes: 6 additions & 6 deletions trunk/drivers/net/ixgb/ixgb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1800,13 +1800,13 @@ ixgb_clean_tx_irq(struct ixgb_adapter *adapter)

tx_ring->next_to_clean = i;

spin_lock(&adapter->tx_lock);
if(cleaned && netif_queue_stopped(netdev) && netif_carrier_ok(netdev) &&
(IXGB_DESC_UNUSED(tx_ring) > IXGB_TX_QUEUE_WAKE)) {

netif_wake_queue(netdev);
if (unlikely(netif_queue_stopped(netdev))) {
spin_lock(&adapter->tx_lock);
if (netif_queue_stopped(netdev) && netif_carrier_ok(netdev) &&
(IXGB_DESC_UNUSED(tx_ring) > IXGB_TX_QUEUE_WAKE))
netif_wake_queue(netdev);
spin_unlock(&adapter->tx_lock);
}
spin_unlock(&adapter->tx_lock);

if(adapter->detect_tx_hung) {
/* detect a transmit hang in hardware, this serializes the
Expand Down

0 comments on commit 1aae49d

Please sign in to comment.