From: Leon Schuermann <leon@is.currently.online>
To: oliver@neukum.org, davem@davemloft.net
Cc: hayeswang@realtek.com, linux-usb@vger.kernel.org,
netdev@vger.kernel.org,
Leon Schuermann <leon@is.currently.online>
Subject: [PATCH 0/1] r8152: Add Lenovo Powered USB-C Travel Hub
Date: Fri, 8 Jan 2021 21:27:26 +0100 [thread overview]
Message-ID: <20210108202727.11728-1-leon@is.currently.online> (raw)
Hi,
this patch resolves an issue with my Lenovo USB-C Hub with an
integrated Realtek USB Ethernet controller.
When suspending my host system, along with an active Ethernet link
using the Realtek USB Ethernet adapter on a somewhat busy network,
after a few minutes the NIC would start to constantly send MAC pause
frames. Presumably this is because flow control in the NIC is not
disabled while the host system suspends, which triggers the pause
frame transmission as soon as the internal buffers fill up. With
multiple Ethernet switches from different manufactures this manages to
bring large parts of my network down as soon as the laptop is in
standby.
Because of Lenovo's somewhat confusing naming scheme around their
hubs, I've taken the liberty to add their product ID to the entry,
such that others can find the device I'm referring to.
I did not find any specific git tree to base this patch on, so it is
based on Linus' latest master. If you have a more appropriate tree I
will of course rebase accordingly. Also, if this is the wrong address
to direct this patch, I'd be happy if you could point me to the right
people.
Thanks!
Leon
Leon Schuermann (1):
r8152: Add Lenovo Powered USB-C Travel Hub
drivers/net/usb/cdc_ether.c | 7 +++++++
drivers/net/usb/r8152.c | 1 +
2 files changed, 8 insertions(+)
base-commit: f5e6c330254ae691f6d7befe61c786eb5056007e
--
2.29.2
next reply other threads:[~2021-01-08 20:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-08 20:27 Leon Schuermann [this message]
2021-01-08 20:27 ` [PATCH 1/1] r8152: Add Lenovo Powered USB-C Travel Hub Leon Schuermann
2021-01-09 2:20 ` Jakub Kicinski
2021-01-09 9:39 ` Leon Schuermann
2021-01-09 22:43 ` Jakub Kicinski
2021-01-11 19:03 ` Leon Schuermann
2021-01-11 19:03 ` [PATCH 1/2] " Leon Schuermann
2021-01-13 4:10 ` patchwork-bot+netdevbpf
2021-01-11 19:03 ` [PATCH 2/2] r8153_ecm: Add Lenovo Powered USB-C Hub as a fallback of r8152 Leon Schuermann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210108202727.11728-1-leon@is.currently.online \
--to=leon@is.currently.online \
--cc=davem@davemloft.net \
--cc=hayeswang@realtek.com \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oliver@neukum.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox