diff options
author | Igor Maravic <igorm@etf.rs> | 2012-03-05 00:01:25 +0100 |
---|---|---|
committer | Francois Romieu <romieu@fr.zoreil.com> | 2012-03-06 00:24:26 +0100 |
commit | 036dafa28da1e2565a8529de2ae663c37b7a0060 (patch) | |
tree | 97df33f26323d324964412939aa2b60dd15c7b88 /net/core/rtnetlink.c | |
parent | 8027aa245bbd125350f6a78c5a78771d143aba55 (diff) |
r8169: add byte queue limit support.
Nothing fancy:
- sent bytes count is notified in the start_xmit path right before
updating the owner bit in the hardware Tx descriptor (E. Dumazet)
- avoid useless tp->dev dereferencing in start_xmit (E. Dumazet)
Use of netdev_reset_queue is favored over proper accounting in
rtl8169_tx_clear_range since the latter would need more work for the
same result (nb: said accounting degenerates to nothing in xmit_frags).
Signed-off-by: Igor Maravic <igorm@etf.rs>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Diffstat (limited to 'net/core/rtnetlink.c')
0 files changed, 0 insertions, 0 deletions