r8152: Add Lenovo Powered USB-C Travel Hub
authorLeon Schuermann <leon@is.currently.online>
Mon, 11 Jan 2021 19:03:13 +0000 (20:03 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Jan 2021 04:00:51 +0000 (20:00 -0800)
commitcb82a54904a99df9e8f9e9d282046055dae5a730
tree242444e6d10d9a32ca5db06ee15a9faddc96ed13
parent91158e1680b164c8d101144ca916a3dca10c3e17
r8152: Add Lenovo Powered USB-C Travel Hub

This USB-C Hub (17ef:721e) based on the Realtek RTL8153B chip used to
use the cdc_ether driver. However, using this driver, with the system
suspended the device constantly sends pause-frames as soon as the
receive buffer fills up. This causes issues with other devices, where
some Ethernet switches stop forwarding packets altogether.

Using the Realtek driver (r8152) fixes this issue. Pause frames are no
longer sent while the host system is suspended.

Signed-off-by: Leon Schuermann <leon@is.currently.online>
Tested-by: Leon Schuermann <leon@is.currently.online>
Link: https://lore.kernel.org/r/20210111190312.12589-2-leon@is.currently.online
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/cdc_ether.c
drivers/net/usb/r8152.c