rtw88: no more patching needed but a tunable in loader.conf

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Thu, 05 May 2022 21:25:48 UTC
Hi,

as of 0881eb9665dbfc8a53d9914a9dca1f0473ee1acb you do not need to
patch your kernel anymore if you have more than 4GB of main memory.
If you have a previously applied patch you may want to back that out
to avoid conflicts when updating.

The underlying problem wasn't fixed yet but I added a tunable to the
code to allow you to use a GENERIC kernel and with that I feel okay to
also MFC the driver in a few days to stable/13.

The man page got updated (wiki will follow soon).  You want to add:

 	compat.linuxkpi.skb.mem_limit=1

to your laoder.conf{.local} now and you need a reboot to make it
effective.   Beware that the "1" is a specific value to limit DMA
to 32bit.  Other values will not work for the desired results!

You can check that the tunable was applied correctly by checking the
read-only sysctl of the same name after booting.


Enjoy,
Bjoern

-- 
Bjoern A. Zeeb                                                     r15:7