Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65139
b: refs/heads/master
c: d78ae2d
h: refs/heads/master
i:
  65137: a55436e
  65135: 2c57177
v: v3
  • Loading branch information
Francois Romieu authored and Francois Romieu committed Sep 19, 2007
1 parent e652e37 commit 2280e48
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 65d916d95314566f426cc40ff0f17b754a773b0b
refs/heads/master: d78ae2dcc2acebb9a1048278f47f762c069db75c
9 changes: 9 additions & 0 deletions trunk/drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -2570,6 +2570,15 @@ static void rtl8169_tx_interrupt(struct net_device *dev,
(TX_BUFFS_AVAIL(tp) >= MAX_SKB_FRAGS)) {
netif_wake_queue(dev);
}
/*
* 8168 hack: TxPoll requests are lost when the Tx packets are
* too close. Let's kick an extra TxPoll request when a burst
* of start_xmit activity is detected (if it is not detected,
* it is slow enough). -- FR
*/
smp_rmb();
if (tp->cur_tx != dirty_tx)
RTL_W8(TxPoll, NPQ);
}
}

Expand Down

0 comments on commit 2280e48

Please sign in to comment.