Re: main [so: 15] context, 7950X3D and RTL8251/8153 based Ethernet dongle: loss of state, example log information

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 04 Mar 2024 20:00:49 UTC
>> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to DOWN
>> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to UP
>> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to DOWN
>> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to UP
>> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to DOWN
>> Nov 30 03:23:18 7950X3D-UFS kernel: ue0: link state changed to UP

I consistently had similar problems with my 0x17ef/0x3066 "ThinkPad
Thunderbolt 3 Dock MCU", but they went away after I forced it to
use the if_cdce driver instead with this quirk:

        /* This works much better with if_cdce than if_ure */
        USB_QUIRK(LENOVO, TBT3LAN,  0x0000, 0xffff, UQ_CFG_INDEX_1),

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.