Re: looking for testers for if_rge - RTL8125/8126/8127 ethernet driver

From: Mark Johnston <markj_at_freebsd.org>
Date: Sun, 30 Nov 2025 16:20:08 UTC
On Sat, Nov 22, 2025 at 06:16:28PM -0800, 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.
> 
> The driver source is at https://github.com/erikarn/if_rge_freebsd/ along
> with build instructions.
> 
> Please note that I'm only running this on -HEAD and I plan on landing it on
> -HEAD before /maybe/ backporting it to stable/15 after the 15.0 release.
> I've no idea if it compiles or runs on stable/15 or the 15.0 pre-release
> images. If you're willing to give it a whirl then please do and report back
> but I'm unlikely to add explicit earlier source tree support in this
> repository (as again I'm going to land it in -HEAD.)
> 
> Thanks!

I tried this on my workstation running main, and it works fine so far:

rge0: <RTL8125> port 0xf000-0xf0ff mem 0xfcc00000-0xfcc0ffff,0xfcc10000-0xfcc13fff at device 0.0 on pci11

rge0@pci0:11:0:0:       class=0x020000 rev=0x05 hdr=0x00 vendor=0x10ec device=0x8125 subvendor=0x1462 subdevice=0x7d77
    vendor     = 'Realtek Semiconductor Co., Ltd.'                                                                                                             
    device     = 'RTL8125 2.5GbE Controller'             
    class      = network  
    subclass   = ethernet

Thank you for working on this.