Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2025 19:41:25 +0100
From:      Spil Oss <spil.oss@gmail.com>
To:        Mark Johnston <markj@freebsd.org>
Cc:        Adrian Chadd <adrian@freebsd.org>, FreeBSD Net <freebsd-net@freebsd.org>,  freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: looking for testers for if_rge - RTL8125/8126/8127 ethernet driver
Message-ID:  <CAEJyAvOLVjr64GpYOMaQKtmYbLokpLn0XUDLNtsfu3vt59gTAQ@mail.gmail.com>
In-Reply-To: <aSxuuHePOcTGuAVn@nuc>
References:  <CAJ-VmonP4%2BQmpSUfM6Xatta83e6zkjMShzL7ob1nJVOH=Tjwhg@mail.gmail.com> <aSxuuHePOcTGuAVn@nuc>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi,

Turns out the realtek-re-kmod wasn't working out for me after all,
machine started repeatedly crashing.

Committed the port net/realtek-rge-kmod hoping to attract more testers.
So far, works out great for me. GMKTek M5 Plus / AMD 5825U / Dual RTL8215
FreeBSD 15.0-RC4-p1 releng/15.0-n280991-c7ccd5b3f879 GENERIC amd64

Testing with 2 clients, both 100 parallel streams iperf3 bidirectional
for 10 minutes did showed negligible load.

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

Cheers, Bernard.

On Sun, Nov 30, 2025 at 5:20 PM Mark Johnston <markj@freebsd.org> wrote:
>
> 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.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEJyAvOLVjr64GpYOMaQKtmYbLokpLn0XUDLNtsfu3vt59gTAQ>