Date: Fri, 12 Jun 2026 16:23:59 +0000 From: Alex Dupre <ale@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 673a3785333e - main - net/realtek-re-kmod: update to 1.102.01 release (add support for 10G cards) Message-ID: <6a2c329f.3804f.3369cf78@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by ale: URL: https://cgit.FreeBSD.org/ports/commit/?id=673a3785333ee8d47eeaf08e35449179d29ceb27 commit 673a3785333ee8d47eeaf08e35449179d29ceb27 Author: Alex Dupre <ale@FreeBSD.org> AuthorDate: 2026-06-12 16:17:46 +0000 Commit: Alex Dupre <ale@FreeBSD.org> CommitDate: 2026-06-12 16:23:54 +0000 net/realtek-re-kmod: update to 1.102.01 release (add support for 10G cards) This forked version includes many fixes and performance improvements over the previous 1.101.00 release. If you previously disabled the checksum offloading due to crashes, you should now be able to re-add it. --- net/realtek-re-kmod/Makefile | 4 ++-- net/realtek-re-kmod/distinfo | 6 +++--- net/realtek-re-kmod/pkg-descr | 20 +++++++++++--------- net/realtek-re-kmod/pkg-message | 26 ++++++++++++++++++++++---- 4 files changed, 38 insertions(+), 18 deletions(-) diff --git a/net/realtek-re-kmod/Makefile b/net/realtek-re-kmod/Makefile index 5f6a683cafd1..b60f6983973e 100644 --- a/net/realtek-re-kmod/Makefile +++ b/net/realtek-re-kmod/Makefile @@ -1,5 +1,5 @@ PORTNAME= re -PORTVERSION= 1101.00 +PORTVERSION= 1102.01 DISTVERSIONPREFIX= v CATEGORIES= net PKGNAMEPREFIX= realtek- @@ -16,7 +16,7 @@ USES= kmod tar:tgz uidfix USE_GITHUB= yes GH_ACCOUNT= alexdupre GH_PROJECT= rtl_bsd_drv -GH_TAGNAME= bff7ba4 +GH_TAGNAME= a17888bb PLIST_FILES= ${KMODDIR}/if_re.ko diff --git a/net/realtek-re-kmod/distinfo b/net/realtek-re-kmod/distinfo index 87d8b407aaab..5be2a69cacce 100644 --- a/net/realtek-re-kmod/distinfo +++ b/net/realtek-re-kmod/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1770115137 -SHA256 (alexdupre-rtl_bsd_drv-v1101.00-bff7ba4_GH0.tar.gz) = 07810d0ea4c162271e33a3d14a836767a7c44a1d960bbfa0123b5ad8d1c19890 -SIZE (alexdupre-rtl_bsd_drv-v1101.00-bff7ba4_GH0.tar.gz) = 214244 +TIMESTAMP = 1781260169 +SHA256 (alexdupre-rtl_bsd_drv-v1102.01-a17888bb_GH0.tar.gz) = e3f52a7b8b7ecfa90272de37f1d82c413b414e5d80f4819a2252c4c706a0ce34 +SIZE (alexdupre-rtl_bsd_drv-v1102.01-a17888bb_GH0.tar.gz) = 227023 diff --git a/net/realtek-re-kmod/pkg-descr b/net/realtek-re-kmod/pkg-descr index 74a9224069ea..bf8ea0709e63 100644 --- a/net/realtek-re-kmod/pkg-descr +++ b/net/realtek-re-kmod/pkg-descr @@ -1,4 +1,4 @@ -Realtek PCIe FE / GBE / 2.5G / 5G Ethernet Family Controller +Realtek PCIe FE / GBE / 2.5G / 5G / 10G Ethernet Family Controller kernel driver. This is the official driver from Realtek with a few patches to @@ -8,21 +8,23 @@ issues with it (eg. watchdog timeouts), or your card is not supported. Supported devices: +* 10G Gigabit Ethernet + - RTL8127 / RTL8127AT / RTL8127ATF + * 5G Gigabit Ethernet - RTL8126 * 2.5G Gigabit Ethernet - - RTL8125 / RTL8125B(G) + - RTL8125 / RTL8125B(G) / RTL8125D / RTL8125K + - RTL8125BP / RTL8125CP * 10/100/1000M Gigabit Ethernet - - RTL8111B / RTL8111C / RTL8111D / RTL8111E / RTL8111F / RTL8111G - RTL8111H / RTL8118(A) / RTL8119i / RTL8111L / RTL8111K - - RTL8168B / RTL8168E / RTL8168H - - RTL8111DP / RTL8111EP(P) / RTL8111FP - - RTL8411 / RTL8411B + - RTL8111B / RTL8111C / RTL8111D / RTL8111E / RTL8111F / RTL8111G / + RTL8111H(S) / RTL8118A / RTL8119i / RTL8111L / RTL8111K / RTL8116AF + - RTL8168B / RTL8168E / RTL8168G / RTL8168H + - RTL8111DP / RTL8111EP(P)(V) / RTL8111FP * 10/100M Fast Ethernet - RTL8101E / RTL8102E / RTL8103E / RTL8105E / RTL8106E / RTL8107E - - RTL8401 / RTL8402 -See also: https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software +See also: https://www.realtek.com/Download/List?cate_id=584 diff --git a/net/realtek-re-kmod/pkg-message b/net/realtek-re-kmod/pkg-message index 07b478dccc53..e91179d1feb3 100644 --- a/net/realtek-re-kmod/pkg-message +++ b/net/realtek-re-kmod/pkg-message @@ -24,10 +24,28 @@ to set the following tunables: hw.re.s5wol="1" hw.re.s0_magic_packet="1" -If you experience network hangs with IPv6 enabled, -you might need to disable the checksum offloading -by adding the following parameters to the related -ifconfig line in your /etc/rc.conf file: +By default the driver negotiates 802.3x flow +control with the link partner. If a congested +peer throttles your transmit path with pause +frames (e.g. a 2.5GbE card behind a 1GbE switch), +you can disable flow control with: + +hw.re.flow_control="0" + +The driver programs the PCIe Max Read Request +Size for better transmit performance. On Realtek +SoC platforms this can be disabled with: + +hw.re.config_soc_lan="1" + +Driver versions before 1102.01 could hang the +RTL8125 transmitter when sending small UDP +packets (e.g. IPv6 DNS queries). This is fixed, +but if you still experience network hangs with +IPv6 enabled, you can disable the checksum +offloading by adding the following parameters to +the related ifconfig line in your /etc/rc.conf +file, and please report the issue: -rxcsum -txcsum -rxcsum6 -txcsum6 EOMhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a2c329f.3804f.3369cf78>
