Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278326
b: refs/heads/master
c: 7505afe
h: refs/heads/master
v: v3
  • Loading branch information
Igor Maravic authored and David S. Miller committed Dec 2, 2011
1 parent b607d9b commit 5285715
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 1d214fa34fc7878d90e0963f9eb4895510db5e48
refs/heads/master: 7505afe28c16a8d386624930a018d0052c75d687
5 changes: 3 additions & 2 deletions trunk/drivers/net/ethernet/nvidia/forcedeth.c
Original file line number Diff line number Diff line change
Expand Up @@ -2561,13 +2561,14 @@ static int nv_tx_done_optimized(struct net_device *dev, int limit)
nv_tx_flip_ownership(dev);
}

netdev_completed_queue(np->dev, tx_work, bytes_cleaned);

if (unlikely(np->get_tx.ex++ == np->last_tx.ex))
np->get_tx.ex = np->first_tx.ex;
if (unlikely(np->get_tx_ctx++ == np->last_tx_ctx))
np->get_tx_ctx = np->first_tx_ctx;
}

netdev_completed_queue(np->dev, tx_work, bytes_cleaned);

if (unlikely((np->tx_stop == 1) && (np->get_tx.ex != orig_get_tx))) {
np->tx_stop = 0;
netif_wake_queue(dev);
Expand Down

0 comments on commit 5285715

Please sign in to comment.