Poul-Henning Kamp <phk_at_FreeBSD.org> wrote on Date: Mon, 22 Dec 2025 21:24:51 UTC :
> The branch main has been updated by phk: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=1b1fb628a1aff05b661ebb063f1795aa24ab54c6 > > commit 1b1fb628a1aff05b661ebb063f1795aa24ab54c6 > Author: Poul-Henning Kamp <[email protected]> > AuthorDate: 2025-12-22 21:23:45 +0000 > Commit: Poul-Henning Kamp <[email protected]> > CommitDate: 2025-12-22 21:24:42 +0000 > > Quirk Realtek RTL8153 to config#1 so if_cdce claims it. Works much better. > --- > sys/dev/usb/quirk/usb_quirk.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/sys/dev/usb/quirk/usb_quirk.c b/sys/dev/usb/quirk/usb_quirk.c > index 802ea2b2ae6a..cd48d6d1d364 100644 > --- a/sys/dev/usb/quirk/usb_quirk.c > +++ b/sys/dev/usb/quirk/usb_quirk.c > @@ -574,6 +574,7 @@ static struct usb_quirk_entry > usb_quirks[USB_DEV_QUIRKS_MAX] = { > > /* This works much better with if_cdce than if_ure */ > USB_QUIRK(LENOVO, TBT3LAN, UQ_CFG_INDEX_1), > + USB_QUIRK(REALTEK, RTL8153, UQ_CFG_INDEX_1), > }; > #undef USB_QUIRK_VO > #undef USB_QUIRK_REV I've used a bunch of: rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 0 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto based USB3 dongles for a number of years, going back far enough that I also did some of the basic testing when if_ure work was done back in mid-2020 or so. (The dongles are all the same make and model and all or most from a similar time frame.) I've not had problems with them --not that my usage would be a difficult test case. Basically I use these dongles when the built-in Ethernet support is missing or is not reliable/performant. They were as reliable as the other dongles that I'd tried from back then --and were faster even for my basic activity. (That statement is for after the if_ure work mentioned. I remember that performance improved --but not much detail about before that if_ure update.) Anyway: ) Care to expand some on what "works much better" refers to? ) Care to expand some on how to test for the distinction(s)? (I'm hoping the change does not make things worse for my context, not that I think FreeBSD should make any choices based on my context.) Note: I've not gotten more modern USB3+ Ethernet dongles since back when I got these. === Mark Millard marklmi at yahoo.com
