From nobody Fri Jun 12 16:23:59 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gcPwH5Wfhz6j56K for ; Fri, 12 Jun 2026 16:23:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gcPwH4YXgz3mhv for ; Fri, 12 Jun 2026 16:23:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781281439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wMBqlWypB3dHaCN6Kf9owBpbKssH7chZ7C94c3Jb/s4=; b=SO4sqkmnq3N6Qfr9XD2HdwVRz9zf59ROdR+UR31cwKvHz3+pj8778C2jUTWe7JOnZTPgBc /VuRzQXtD6DoR2cnZy5aaklu7/SeMujhK1zldDh7UIDj/fjEvGKywAPo59yw1NzDhwW3No yn5kaxGTgL2l66vtn97BPiD0FbVAvgAwNb4xtx4GvlvTbKdWl4kWZKIW5LLd5N5OMHzQ4Y cK1qMLKm2VcVBkh/V5fORrya56khPmvv99bCfkR8r5aS6qXIMMG0MEZkg/ZxveRy46uJAo X7b80h8sB05H4aDZxw53IOLTrK/k3N40+Cbi9LfrzE25oprZCtNM7qZqhDl8Xw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781281439; a=rsa-sha256; cv=none; b=o5jcOcbDEaMTV/Ygjb/UbW4KEYpsoEFUhizkeC7HYWD8VzgfzUPefAG6z3usLqxNzz/EXA rVIfcyLEG+0QkerGIKYwf5aYKBz1oNVNYTf2IH766VufxEAZ06Y3CA5+q7zchdVnI5rA8+ deDOGjETjLzLGL/dY3FJb2wsgCGoG6C/XGI++uFnp/h/TOA1o8OFrg29fF1eXwMPE8xVEs A6rTT7hOgFsgqkvxN4N9BWWwB2G294IDaGfuCfWRStVSxN0dgXMDMgAXk+IRkB0/EHZbXp aGlNQUgUJuaurp0L2I7WwXpktm7M36/1T7lalcD5r+Q/KKaWch+ZxM25XXX0gQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781281439; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wMBqlWypB3dHaCN6Kf9owBpbKssH7chZ7C94c3Jb/s4=; b=yss316tYkZAn3MBFQHponVokG+iaQ+5Ot8IhRsKPNjro13HmqIoyqw41zDcVKoJAOvv4a5 4Skp23HulWXN/HuH+Ac4l86A54qpy3GljQ7CPHsSAEAK4ul7G8sWugEnAN51GMYMuKb1GP 6Wx1VIBXZlLpXVM7ysrzHVLqFYxlpHUEg1Zk3/i4F4YsT1HZnFnWn4JpT8v5x8z1MM7BVq jeJtOwDI0qibZxMyOozlf1mo/JnBcux2m7ZjULDhD4y+MkSrqHUW+tKxup7du9EEzy/1nI m7BHLyI45HR8uWZ9TxmKU/uftCHIG9vxVak5H7Rfmie4s1zcnfduznuR6Vdndw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gcPwH3klDzlDy for ; Fri, 12 Jun 2026 16:23:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3804f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 12 Jun 2026 16:23:59 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alex Dupre Subject: git: 673a3785333e - main - net/realtek-re-kmod: update to 1.102.01 release (add support for 10G cards) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 673a3785333ee8d47eeaf08e35449179d29ceb27 Auto-Submitted: auto-generated Date: Fri, 12 Jun 2026 16:23:59 +0000 Message-Id: <6a2c329f.3804f.3369cf78@gitrepo.freebsd.org> The branch main has been updated by ale: URL: https://cgit.FreeBSD.org/ports/commit/?id=673a3785333ee8d47eeaf08e35449179d29ceb27 commit 673a3785333ee8d47eeaf08e35449179d29ceb27 Author: Alex Dupre AuthorDate: 2026-06-12 16:17:46 +0000 Commit: Alex Dupre 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 EOM