Re: about usb3 <> ethernet adapters for raspberry pi 5

void <[email protected]> Thu, 4 Jun 2026 10:56:36 +0100
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <aiFL1DZQxHoSQx2F@int21h>
On Thu, Jun 04, 2026 at 10:19:28AM +0100, void wrote:
>On Thu, Jun 04, 2026 at 11:09:58AM +0200, Ronald Klop wrote:
>>Thanks. I have two thoughts.
>>
>>1. if_axge is now auto-loaded. Would it act different   if you load 
>>it earliier in /boot/loader.conf or via kld_list   in /etc/rc.conf?
>
>A good suggestion. I'll try /boot/loader.conf first, and
>then compiling it into the kernel directly.
>
>>2. would it help to set ifconfig_ue0="up inet ..." in /etc/rc.conf?
>
>I thought the "up" was implied but I'll try that too, and post
>the results here.

The interface didn't automatically become useful on reboot. This time
I had to log in via console and do the ifconfig ue0 down up dance then
wait about 30 seconds.

freebsd@generic:~ $ ifconfig ue0
ue0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> 
      metric 0 mtu 1500
      options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
      ether 9c:69:d3:aa:bb:cc
      inet 192.168.1.129 netmask 0xffffff00 broadcast 192.168.1.255
      media: Ethernet autoselect (1000baseT <full-duplex>) status: active
      nd6 options=829<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL,STABLEADDR>

freebsd@generic:~ $ iperf3 -c 192.168.1.230 --time 60 --get-server-output

[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-60.00  sec  1.28 GBytes   183 Mbits/sec  232            sender
[  5]   0.00-60.00  sec  1.28 GBytes   183 Mbits/sec                  receiver

Paging the interface down/up again didnt increase throughput.
# ifconfig ue0 lro tso -rxcsum -txcsum

iperf3 -c 192.168.1.230 --time 60 --get-server-output

(snip)
[  5]  29.00-30.01  sec  57.5 MBytes   479 Mbits/sec   20   48.1 KBytes
[  5]  30.01-31.00  sec  56.6 MBytes   479 Mbits/sec   19   53.7 KBytes
[  5]  31.00-32.00  sec  57.2 MBytes   480 Mbits/sec   20   42.4 KBytes
[  5]  32.00-33.00  sec  57.1 MBytes   479 Mbits/sec   19   82.0 KBytes
[  5]  33.00-34.01  sec  57.5 MBytes   480 Mbits/sec   20   48.1 KBytes
[  5]  34.01-35.00  sec  56.9 MBytes   480 Mbits/sec   20   52.3 KBytes
[  5]  35.00-36.01  sec  57.5 MBytes   480 Mbits/sec   19   83.4 KBytes
[  5]  36.01-37.00  sec  32.5 MBytes   274 Mbits/sec   17    209 KBytes
[  5]  37.00-38.00  sec  21.8 MBytes   182 Mbits/sec    0    325 KBytes
[  5]  38.00-39.00  sec  21.6 MBytes   181 Mbits/sec    0    410 KBytes
[  5]  39.00-40.06  sec  23.0 MBytes   182 Mbits/sec    0    484 KBytes
[  5]  40.06-41.06  sec  21.5 MBytes   181 Mbits/sec    0    544 KBytes
[  5]  41.06-42.00  sec  20.4 MBytes   181 Mbits/sec    0    595 KBytes
(snip)

weird how it jumps from ~180 to ~480 and when it's at ~480 it's erroring.

I'll remove the 'if_axge_load="YES"' from /etc/loader.conf and compile 
it into the kernel as per the manpage and re-test.
--