From: Igor Maravic Date: Sun, 4 Mar 2012 23:01:25 +0000 (+0100) Subject: r8169: add byte queue limit support. X-Git-Tag: v3.4-rc1~177^2~136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=036dafa28da1e2565a8529de2ae663c37b7a0060;p=pandora-kernel.git 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 Signed-off-by: Francois Romieu Acked-by: Eric Dumazet --- Reading git-diff-tree failed