Re: about usb3 <> ethernet adapters for raspberry pi 5
void <[email protected]> Wed, 3 Jun 2026 01:43:26 +0100
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <ah94rv0lFojIByWb@int21h> |
Hi Mark, On Fri, May 22, 2026 at 11:33:48PM -0700, Mark Millard wrote: ># usbconfig -l -d ugen0.2 >ugen0.2: <RTL8153 Gigabit Ethernet Adapter Realtek Semiconductor Corp.> >at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (72mA) >- - - - - - - - - - - - - - - - - - - - - - - - - >[ ID] Interval Transfer Bitrate Retr >[ 5] 0.00-10.03 sec 1.10 GBytes 940 Mbits/sec 50 sender >[ 5] 0.00-10.03 sec 1.10 GBytes 940 Mbits/sec (snip) >It turned out that different revisions behave very differently and the >prior cfg change that had been committed messed up the operation of >the rev I have access to. In the end, the original default cfg (0) was >restored and the other rev 0x31fd got a rev-specific Quirk for Realtek >RTL8153 to use UQ_CFG_INDEX_1 so if_cdce claims rev 0x31fd instead of >if_ure: > >- USB_QUIRK(REALTEK, RTL8153, UQ_CFG_INDEX_1), >+ USB_QUIRK_REV(REALTEK, RTL8153, 0x31fd, 0x31fd, UQ_CFG_INDEX_1), > > >The non-0x31fd rev is the type of dongle that I normally use. I do have >at least one other type of dongle around that was historically slower >then the RTL8153 ones I have access to. But, back when the type of my >dongles that I use were speed up (2020-Sep?), I was also a tester for >the effort at that time. Are you aware of any quirks required for this: axge0 on uhub0 axge0: <ASIX AX88179B, class 0/0, rev 3.20/2.00, addr 2> on usbus0 miibus0: <MII bus> on axge0 ukphy0: <Generic IEEE 802.3u media interface> PHY 3 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX , 1000baseT-FDX-master , auto, auto-flow ue0: <USB Ethernet> on axge0 because iperf3 throughput is really poor (~225Mbit by default, ~300 Mbit with -lro -lso) I'm wondering now if I should have gone with RTL8153, which was double the cost. --