On 23.11.25 03:16, Adrian Chadd wrote:
hi!

i've ported Kevin Lo's openbsd driver for these realtek chipsets to FreeBSD.
It works well enough for me to use on my laptop w/ RTL8125B / Killer E3000.
I'm now opening it up to others who are willing to build/run a kernel module to test the driver out and report back.

This is great. Finally, an in tree driver for these very common NICs. The 1100.00 version of the net/realtek-re-kmod was just unreliable for me (constant hangs, no matter which options I turned off and on). I've only done light testing with the official 1101.00 driver. I was able to wedge it with less than a minute of iperf3, and the ifconfig down/up dance that was able to revive the interface with 1100.00 was not able to recover the interface.

I ran if_rge on my NAS and did some testing. I haven't had one hang with this driver, even after pounding the network for hours. That's a big plus for me. Thanks.

I was able to achieve close to 2.5Gb/s TX and close to 1Gb/s RX with iperf3 --bidir.

CPU usage appears to be substantially higher than with the official Realtek driver.

[intr{irq59: rge0}] goes to around 50% of one core, and [kernel{rge0 taskq thread}] hovers between 20-25% when running the above iperf3 tests.

With the official 1101.00 driver, the only process using > 1% CPU is this one [kernel{re0 taskq}] and it is around 10% with the test mentioned above.

The system is
CPU: AMD Ryzen 9 7940HS w/ Radeon 780M Graphics (3992.64-MHz K8-class CPU)

rge0@pci0:1:0:0: class=0x020000 rev=0x05 hdr=0x00 vendor=0x10ec device=0x8125 subvendor=0x1f4c subdevice=0xb002
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8125 2.5GbE Controller'
    class      = network
    subclass   = ethernet
    bar   [10] = type I/O Port, range 32, base 0xf000, size 256, enabled
bar [18] = type Memory, range 64, base 0xdcb00000, size 65536, enabled bar [20] = type Memory, range 64, base 0xdcb10000, size 16384, enabled

All tests were done with FreeBSD-kernel-generic-nodebug-16 kernels from the last couple of days.

Florian

Reply via email to