Re: rtwn0: rtwn_rx_copy_to_mbuf: could not allocate RX mbuf

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Thu, 24 Apr 2025 13:44:34 UTC
On Thu, 24 Apr 2025, Bjoern A. Zeeb wrote:

> On Thu, 24 Apr 2025, Nuno Teixeira wrote:
>
>> Hello,
>> 
>> At main-n276705-e3e55936ce3b: Wed Apr 23, rtwn driver became almost
>> useless on my amd64 and aarch64.
>> 
>> Tested with RTL8811AU and RTL8821AU usb dongles.
>> 
>> Should I open a PR?
>> Any tips to debug this?
>
> Can you try backing out d5f5193e2db974576120b5e5f559970a6c15247d ?
> See more infor there;  Cc: adrian

More likely 5c74aa3abd4e353ed7f8cb446c0527c8ebe15d1c as well;  somehow I
missed that both went in.


>
>> Thanks,
>> 
>> `git pull --rebase` takes too long time to complete and sometimes fails.
>> 
>> iperf3 shows bellow resilts on amd64/aarch64 with both cards.
>> 
>> % iperf3 -c hp -R
>> Connecting to host hp, port 5201
>> Reverse mode, remote host hp is sending
>> [  5] local 192.168.1.82 port 43550 connected to 192.168.1.100 port 5201
>> [ ID] Interval           Transfer     Bitrate
>> [  5]   0.00-1.00   sec  0.00 Bytes  0.00 bits/sec
>> [  5]   1.00-2.06   sec  0.00 Bytes  0.00 bits/sec
>> [  5]   2.06-3.00   sec   128 KBytes  1.11 Mbits/sec
>> [  5]   3.00-4.03   sec   128 KBytes  1.02 Mbits/sec
>> [  5]   4.03-5.01   sec  0.00 Bytes  0.00 bits/sec
>> [  5]   5.01-6.01   sec   256 KBytes  2.10 Mbits/sec
>> [  5]   6.01-7.06   sec  0.00 Bytes  0.00 bits/sec
>> [  5]   7.06-8.06   sec  0.00 Bytes  0.00 bits/sec
>> [  5]   8.06-9.01   sec  0.00 Bytes  0.00 bits/sec
>> [  5]   9.01-10.01  sec   128 KBytes  1.04 Mbits/sec
>> - - - - - - - - - - - - - - - - - - - - - - - - -
>> [ ID] Interval           Transfer     Bitrate         Retr
>> [  5]   0.00-10.01  sec   768 KBytes   628 Kbits/sec  156            sender
>> [  5]   0.00-10.01  sec   640 KBytes   524 Kbits/sec 
>> receiver
>> 
>> iperf Done.
>> 
>> 
>
>

-- 
Bjoern A. Zeeb                                                     r15:7