r8169: add support for Byte Queue Limits
authorFlorian Westphal <fw@strlen.de>
Sat, 20 Oct 2018 10:25:27 +0000 (12:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Oct 2018 19:35:08 +0000 (12:35 -0700)
commitd92060bc69233a8175a0c2bfa0d2bce123cace2d
treee82a48ab8dd286c8dfba0ad6dde4e749d9446adb
parent38caff5a445bf7cc6b312b9925320ae969b796c2
r8169: add support for Byte Queue Limits

This patch is basically a resubmit of 1e918876853a ("r8169: add support
for Byte Queue Limits") which was reverted later. The problems causing
the revert seem to have been fixed in the meantime.
Only change to the original patch is that the call to
netdev_reset_queue was moved to rtl8169_tx_clear.

The Tested-by refers to a system using the RTL8168evl chip version.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c