On Dec 23, 2025, at 11:18, Mark Millard <[email protected]> wrote:

> On Dec 23, 2025, at 09:31, Mark Millard <[email protected]> wrote:
> 
>> On Dec 23, 2025, at 08:29, Poul-Henning Kamp <[email protected]> wrote:
>> 
>>> --------
>>> Mark Millard writes:
>>> 
>>> 
>>>> This means that I'll have to set up and do before vs.
>>>> after-upgrading-FreeBSD-OS testing for
>>>> comparison/contrast.
>>> 
>>> You should be able to do it at runtime with 
>>> 
>>> usbconfig -d X.Y set_config [0|1]
>> 
>> Cool. I rarely do these sorts of activities and have to
>> refigure out the details each time.
>> 
>> . . . However, the result of:
>> 
>> # usbconfig -d ugen0.11 set_config
>> 
>> on the Windows Dev Kit 2023 was:
>> 
>> Fatal data abort
>> . . .
>> panic: vm_fault failed.
>> 
>> So all I have so far for testing is the prior cfg=0
>> test . . .
>> 
>> 
>> The FreeBSD OS here is pkgbase main with the
>> GENERIC-NODEBUG kernel on each machine.
>> 
>> For the below the "iperf3 -s" was done on a
>> amd64 7950X3D system using its build-in:
>> 
>> # pciconf -l rge0
>> rge0@pci0:8:0:0: class=0x020000 rev=0x05 hdr=0x00 vendor=0x10ec 
>> device=0x8125 subvendor=0x1043 subdevice=0x87d7
>> 
>> 
>> Windows Dev Kit 2023 (so: aarch64) . . .
>> 
>> # usbconfig -l -d ugen0.11
>> ugen0.11: <RTL8153 Gigabit Ethernet Adapter Realtek Semiconductor Corp.> at 
>> usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (72mA)
>> 
>> # iperf3 -c 192.168.1.195 --get-server-output
>> Connecting to host 192.168.1.195, port 5201
>> [  5] local 192.168.1.143 port 50986 connected to 192.168.1.195 port 5201
>> [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
>> [  5]   0.00-1.00   sec   113 MBytes   945 Mbits/sec    0    488 KBytes      
>>  
>> [  5]   1.00-2.00   sec   112 MBytes   941 Mbits/sec    0    488 KBytes      
>>  
>> [  5]   2.00-3.00   sec   112 MBytes   941 Mbits/sec    0    488 KBytes      
>>  
>> [  5]   3.00-4.00   sec   112 MBytes   942 Mbits/sec    0    488 KBytes      
>>  
>> [  5]   4.00-5.00   sec   112 MBytes   942 Mbits/sec    0    488 KBytes      
>>  
>> [  5]   5.00-6.00   sec   112 MBytes   942 Mbits/sec    0    488 KBytes      
>>  
>> [  5]   6.00-7.00   sec   112 MBytes   941 Mbits/sec    0    488 KBytes      
>>  
>> [  5]   7.00-8.00   sec   112 MBytes   942 Mbits/sec    0    488 KBytes      
>>  
>> [  5]   8.00-9.00   sec   112 MBytes   942 Mbits/sec    0    488 KBytes      
>>  
>> [  5]   9.00-10.00  sec   112 MBytes   942 Mbits/sec    0    488 KBytes      
>>  
>> - - - - - - - - - - - - - - - - - - - - - - - - -
>> [ ID] Interval           Transfer     Bitrate         Retr
>> [  5]   0.00-10.00  sec  1.10 GBytes   942 Mbits/sec    0            sender
>> [  5]   0.00-10.01  sec  1.10 GBytes   941 Mbits/sec                  
>> receiver
>> 
>> Server output:
>> Accepted connection from 192.168.1.143, port 61091
>> [  5] local 192.168.1.195 port 5201 connected to 192.168.1.143 port 50986
>> [ ID] Interval           Transfer     Bitrate
>> [  5]   0.00-1.06   sec   119 MBytes   936 Mbits/sec                  
>> [  5]   1.06-2.06   sec   112 MBytes   942 Mbits/sec                  
>> [  5]   2.06-3.06   sec   112 MBytes   941 Mbits/sec                  
>> [  5]   3.06-4.06   sec   112 MBytes   942 Mbits/sec                  
>> [  5]   4.06-5.06   sec   112 MBytes   942 Mbits/sec                  
>> [  5]   5.06-6.06   sec   112 MBytes   941 Mbits/sec                  
>> [  5]   6.06-7.05   sec   112 MBytes   941 Mbits/sec                  
>> [  5]   7.05-8.06   sec   113 MBytes   942 Mbits/sec                  
>> [  5]   8.06-9.03   sec   109 MBytes   941 Mbits/sec                  
>> [  5]   9.03-10.01  sec   110 MBytes   942 Mbits/sec                  
>> - - - - - - - - - - - - - - - - - - - - - - - - -
>> [ ID] Interval           Transfer     Bitrate
>> [  5]   0.00-10.01  sec  1.10 GBytes   941 Mbits/sec                  
>> receiver
>> 
>> 
>> iperf Done.
>> 
>> # iperf3 -R -c 192.168.1.195 --get-server-output
>> you have mail
>> Connecting to host 192.168.1.195, port 5201
>> Reverse mode, remote host 192.168.1.195 is sending
>> [  5] local 192.168.1.143 port 17266 connected to 192.168.1.195 port 5201
>> [ ID] Interval           Transfer     Bitrate
>> [  5]   0.00-1.06   sec   118 MBytes   941 Mbits/sec                  
>> [  5]   1.06-2.04   sec   110 MBytes   942 Mbits/sec                  
>> [  5]   2.04-3.06   sec   115 MBytes   941 Mbits/sec                  
>> [  5]   3.06-4.06   sec   112 MBytes   941 Mbits/sec                  
>> [  5]   4.06-5.06   sec   112 MBytes   942 Mbits/sec                  
>> [  5]   5.06-6.02   sec   108 MBytes   941 Mbits/sec                  
>> [  5]   6.02-7.00   sec   110 MBytes   942 Mbits/sec                  
>> [  5]   7.00-8.06   sec   119 MBytes   941 Mbits/sec                  
>> [  5]   8.06-9.06   sec   112 MBytes   942 Mbits/sec                  
>> [  5]   9.06-10.00  sec   106 MBytes   941 Mbits/sec                  
>> - - - - - - - - - - - - - - - - - - - - - - - - -
>> [ ID] Interval           Transfer     Bitrate         Retr
>> [  5]   0.00-10.00  sec  1.10 GBytes   942 Mbits/sec    0            sender
>> [  5]   0.00-10.00  sec  1.10 GBytes   941 Mbits/sec                  
>> receiver
>> 
>> Server output:
>> -----------------------------------------------------------
>> Server listening on 5201 (test #2)
>> -----------------------------------------------------------
>> Accepted connection from 192.168.1.143, port 64359
>> [  5] local 192.168.1.195 port 5201 connected to 192.168.1.143 port 17266
>> [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
>> [  5]   0.00-1.06   sec   120 MBytes   947 Mbits/sec    0    730 KBytes      
>>  
>> [  5]   1.06-2.06   sec   112 MBytes   941 Mbits/sec    0    730 KBytes      
>>  
>> [  5]   2.06-3.06   sec   112 MBytes   942 Mbits/sec    0    730 KBytes      
>>  
>> [  5]   3.06-4.05   sec   112 MBytes   941 Mbits/sec    0    730 KBytes      
>>  
>> [  5]   4.05-5.06   sec   113 MBytes   941 Mbits/sec    0    730 KBytes      
>>  
>> [  5]   5.06-6.06   sec   112 MBytes   942 Mbits/sec    0    730 KBytes      
>>  
>> [  5]   6.06-7.03   sec   108 MBytes   941 Mbits/sec    0    730 KBytes      
>>  
>> [  5]   7.03-8.06   sec   116 MBytes   942 Mbits/sec    0    730 KBytes      
>>  
>> [  5]   8.06-9.06   sec   112 MBytes   941 Mbits/sec    0    730 KBytes      
>>  
>> [  5]   9.06-10.00  sec   106 MBytes   941 Mbits/sec    0    730 KBytes      
>>  
>> - - - - - - - - - - - - - - - - - - - - - - - - -
>> [ ID] Interval           Transfer     Bitrate         Retr
>> [  5]   0.00-10.00  sec  1.10 GBytes   942 Mbits/sec    0            sender
>> 
>> 
>> 
>> 
>> For reference for the panic:
>> 
>> . . .
>> 
> 
> 
> FYI . . .
> 
> Based on updating to a official pkgbase GENERIC-NODEBUG kernel
> from when cfg=1 was in general use I find that the
> "iperf3 -R . . ." gets non-0 Retr figures that the above did
> not:
> 
> # usbconfig -l -d ugen0.11
> ugen0.11: <RTL8153 Gigabit Ethernet Adapter Realtek Semiconductor Corp.> at 
> usbus0, cfg=1 md=HOST spd=SUPER (5.0Gbps) pwr=ON (72mA)
> 
> # iperf3 -c 192.168.1.195 --get-server-output
> Connecting to host 192.168.1.195, port 5201
> [  5] local 192.168.1.143 port 30247 connected to 192.168.1.195 port 5201
> [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
> [  5]   0.00-1.00   sec   113 MBytes   944 Mbits/sec    0    488 KBytes       
> [  5]   1.00-2.00   sec   112 MBytes   942 Mbits/sec    0    488 KBytes       
> [  5]   2.00-3.00   sec   112 MBytes   942 Mbits/sec    0    488 KBytes       
> [  5]   3.00-4.00   sec   112 MBytes   941 Mbits/sec    0    488 KBytes       
> [  5]   4.00-5.00   sec   112 MBytes   942 Mbits/sec    0    488 KBytes       
> [  5]   5.00-6.00   sec   112 MBytes   941 Mbits/sec    0    488 KBytes       
> [  5]   6.00-7.00   sec   112 MBytes   942 Mbits/sec    0    488 KBytes       
> [  5]   7.00-8.00   sec   112 MBytes   942 Mbits/sec    0    488 KBytes       
> [  5]   8.00-9.00   sec   112 MBytes   941 Mbits/sec    0    488 KBytes       
> [  5]   9.00-10.00  sec   112 MBytes   942 Mbits/sec    0    488 KBytes       
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-10.00  sec  1.10 GBytes   942 Mbits/sec    0            sender
> [  5]   0.00-10.01  sec  1.10 GBytes   941 Mbits/sec                  receiver
> 
> Server output:
> Accepted connection from 192.168.1.143, port 20991
> [  5] local 192.168.1.195 port 5201 connected to 192.168.1.143 port 30247
> [ ID] Interval           Transfer     Bitrate
> [  5]   0.00-1.04   sec   117 MBytes   938 Mbits/sec                  
> [  5]   1.04-2.00   sec   108 MBytes   941 Mbits/sec                  
> [  5]   2.00-3.06   sec   118 MBytes   941 Mbits/sec                  
> [  5]   3.06-4.06   sec   112 MBytes   942 Mbits/sec                  
> [  5]   4.06-5.06   sec   112 MBytes   941 Mbits/sec                  
> [  5]   5.06-6.06   sec   112 MBytes   941 Mbits/sec                  
> [  5]   6.06-7.06   sec   112 MBytes   941 Mbits/sec                  
> [  5]   7.06-8.06   sec   112 MBytes   941 Mbits/sec                  
> [  5]   8.06-9.06   sec   112 MBytes   942 Mbits/sec                  
> [  5]   9.06-10.01  sec   106 MBytes   941 Mbits/sec                  
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate
> [  5]   0.00-10.01  sec  1.10 GBytes   941 Mbits/sec                  receiver
> 
> 
> iperf Done.
> 
> # iperf3 -R -c 192.168.1.195 --get-server-output
> Connecting to host 192.168.1.195, port 5201
> Reverse mode, remote host 192.168.1.195 is sending
> [  5] local 192.168.1.143 port 30166 connected to 192.168.1.195 port 5201
> [ ID] Interval           Transfer     Bitrate
> [  5]   0.00-1.01   sec   113 MBytes   940 Mbits/sec                  
> [  5]   1.01-2.01   sec   112 MBytes   940 Mbits/sec                  
> [  5]   2.01-3.01   sec   113 MBytes   940 Mbits/sec                  
> [  5]   3.01-4.00   sec   111 MBytes   940 Mbits/sec                  
> [  5]   4.00-5.00   sec   112 MBytes   940 Mbits/sec                  
> [  5]   5.00-6.03   sec   115 MBytes   940 Mbits/sec                  
> [  5]   6.03-7.00   sec   109 MBytes   940 Mbits/sec                  
> [  5]   7.00-8.00   sec   112 MBytes   941 Mbits/sec                  
> [  5]   8.00-9.00   sec   112 MBytes   942 Mbits/sec                  
> [  5]   9.00-10.06  sec   119 MBytes   940 Mbits/sec                  
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-10.07  sec  1.10 GBytes   941 Mbits/sec   83            sender
> [  5]   0.00-10.06  sec  1.10 GBytes   940 Mbits/sec                  receiver
> 
> Server output:
> -----------------------------------------------------------
> Server listening on 5201 (test #2)
> -----------------------------------------------------------
> Accepted connection from 192.168.1.143, port 12585
> [  5] local 192.168.1.195 port 5201 connected to 192.168.1.143 port 30166
> [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
> [  5]   0.00-1.06   sec   120 MBytes   946 Mbits/sec    8    574 KBytes       
> [  5]   1.06-2.06   sec   112 MBytes   940 Mbits/sec   11    395 KBytes       
> [  5]   2.06-3.06   sec   112 MBytes   940 Mbits/sec    3    333 KBytes       
> [  5]   3.06-4.06   sec   112 MBytes   941 Mbits/sec    6    591 KBytes       
> [  5]   4.06-5.06   sec   112 MBytes   938 Mbits/sec   24    152 KBytes       
> [  5]   5.06-6.05   sec   112 MBytes   939 Mbits/sec   16    180 KBytes       
> [  5]   6.05-7.06   sec   113 MBytes   942 Mbits/sec    0    600 KBytes       
> [  5]   7.06-8.06   sec   112 MBytes   941 Mbits/sec    3    635 KBytes       
> [  5]   8.06-9.05   sec   112 MBytes   941 Mbits/sec    0    730 KBytes       
> [  5]   9.05-10.06  sec   113 MBytes   941 Mbits/sec   12    470 KBytes       
> [  5]  10.06-10.07  sec   512 KBytes   819 Mbits/sec    0    471 KBytes       
> - - - - - - - - - - - - - - - - - - - - - - - - -
> [ ID] Interval           Transfer     Bitrate         Retr
> [  5]   0.00-10.07  sec  1.10 GBytes   941 Mbits/sec   83            sender

More experiments with both kernel versions suggests that this
or similar scale of Retr values may well be without a normal
range of its variability for both drivers. Both can get all
0 values for Retr as well.

My limited context does not seem to be a differentiator for
which way the setting should be.


===
Mark Millard
marklmi at yahoo.com


Reply via email to