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

From: James Snow <snow_at_teardrop.org>
Date: Sun, 23 Nov 2025 20:56:27 UTC
Happily chugging along at just under 1Gbps - line rate here.
If there's additional diag output needed, let me know.

15.0-RC2:

rge0: <RTL8125> port 0x1000-0x10ff mem 0x90c00000-0x90c0ffff,0x90c10000-0x90c13fff at device 0.0 on pci27

dev.rge.0.mac_stats.rge_rx_ok_brd: 6904850
dev.rge.0.mac_stats.rge_rx_ok_phy: 82131564
dev.rge.0.mac_stats.rge_tx_er: 1
dev.rge.0.mac_stats.rge_rx_ok: 89085257
dev.rge.0.mac_stats.rge_tx_ok: 41969076
dev.rge.0.drv_stats.rx_offload_csum_udp_valid: 1842
dev.rge.0.drv_stats.rx_offload_csum_udp_exists: 1842
dev.rge.0.drv_stats.rx_offload_csum_tcp_valid: 11223151
dev.rge.0.drv_stats.rx_offload_csum_tcp_exists: 11223151
dev.rge.0.drv_stats.rx_offload_csum_ipv4_valid: 11225027
dev.rge.0.drv_stats.rx_offload_csum_ipv4_exists: 11225027
dev.rge.0.drv_stats.rx_jumbo_frag: 0
dev.rge.0.drv_stats.rx_offload_vlan_tag: 0
dev.rge.0.drv_stats.rx_ether_csum_err: 0
dev.rge.0.drv_stats.tx_offload_vlan_tag_set: 0
dev.rge.0.drv_stats.tx_offload_udp_csum_set: 872
dev.rge.0.drv_stats.tx_offload_tcp_csum_set: 5734461
dev.rge.0.drv_stats.tx_offload_ip_csum_set: 5735351
dev.rge.0.drv_stats.tx_encap_err_toofrag: 0
dev.rge.0.drv_stats.tx_encap_refrag_cnt: 0
dev.rge.0.drv_stats.tx_encap_cnt: 5735359
dev.rge.0.drv_stats.tx_watchdog_timeout_cnt: 0
dev.rge.0.drv_stats.rx_desc_err_multidesc: 0
dev.rge.0.drv_stats.recv_input_cnt: 11226705
dev.rge.0.drv_stats.tx_task_cnt: 6785736
dev.rge.0.drv_stats.link_state_change_cnt: 2
dev.rge.0.drv_stats.txeof_cnt: 1413847
dev.rge.0.drv_stats.rxeof_cnt: 1413847
dev.rge.0.drv_stats.intr_system_errcnt: 0
dev.rge.0.drv_stats.intr_cnt: 1408789
dev.rge.0.drv_stats.transmit_queued_cnt: 5735363
dev.rge.0.drv_stats.transmit_full_cnt: 0
dev.rge.0.drv_stats.transmit_stopped_cnt: 0
dev.rge.0.drv_stats.transmit_call_cnt: 5735359
dev.rge.0.debug: 0
dev.rge.0.%iommu: rid=0x6500
dev.rge.0.%parent: pci27
dev.rge.0.%pnpinfo: vendor=0x10ec device=0x8125 subvendor=0x1458 subdevice=0xe000 class=0x020000
dev.rge.0.%location: slot=0 function=0 dbsf=pci0:101:0:0
dev.rge.0.%driver: rge
dev.rge.0.%desc: RTL8125


-Snow


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!
> 
> 
> -adrian