notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
realtek-re-kmod Kernel driver for Realtek PCIe Ethernet Controllers
1100.00 net on this many watch lists=7 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 199.00_1Version of this port present on the latest quarterly branch.
Maintainer: ale@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-07-16 06:09:25
Last Update: 2024-06-14 08:37:58
Commit Hash: 38b6149
People watching this port, also watch:: yt-dlp, rsync, pkg, glib, mkvtoolnix
Also Listed In: kld
License: BSD4CLAUSE
WWW:
https://github.com/alexdupre/rtl_bsd_drv
Description:
Realtek PCIe FE / GBE / 2.5G / 5G Ethernet Family Controller kernel driver. This is the official driver from Realtek with a few patches to improve stability and performance. It can be loaded instead of the FreeBSD driver built into the GENERIC kernel if you experience issues with it (eg. watchdog timeouts), or your card is not supported. Supported devices: * 5G Gigabit Ethernet - RTL8126 * 2.5G Gigabit Ethernet - RTL8125 / RTL8125B(G) * 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 * 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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. /boot/modules/if_re.ko
  2. @kld /boot/modules
  3. /usr/local/share/licenses/realtek-re-kmod-1100.00/catalog.mk
  4. /usr/local/share/licenses/realtek-re-kmod-1100.00/LICENSE
  5. /usr/local/share/licenses/realtek-re-kmod-1100.00/BSD4CLAUSE
Collapse this list.
Dependency lines:
  • realtek-re-kmod>0:net/realtek-re-kmod
To install the port:
cd /usr/ports/net/realtek-re-kmod/ && make install clean
To add the package, run one of these commands:
  • pkg install net/realtek-re-kmod
  • pkg install realtek-re-kmod
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: realtek-re-kmod
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1717494559 SHA256 (alexdupre-rtl_bsd_drv-v1100.00-ea4ed1e_GH0.tar.gz) = c5e670e2d00bedb31b1a8b6c5bf3e53d1ead16fb2f7d6d1aa0ea1887f17b9d66 SIZE (alexdupre-rtl_bsd_drv-v1100.00-ea4ed1e_GH0.tar.gz) = 177649

Packages (timestamps in pop-ups are UTC):
realtek-re-kmod
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1100.001100.00--1100.00---
FreeBSD:13:quarterly199.00_1199.00_1198.00_1-199.00_1---
FreeBSD:14:latest199.00_11100.00198.00-1100.00---
FreeBSD:14:quarterly199.00_1199.00_1--199.00_1---
FreeBSD:15:latest199.00_11100.00n/a-n/a---
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
net_realtek-re-kmod
USES:
kmod tar:tgz uidfix
pkg-message:
For install:
Add the following lines to your /boot/loader.conf to override the built-in FreeBSD re(4) driver. if_re_load="YES" if_re_name="/boot/modules/if_re.ko" By default, the size of allocated mbufs is enough to receive the largest Ethernet frame supported by the card. If your memory is highly fragmented, trying to allocate contiguous pages (more than 4096 bytes) may result in driver hangs. For this reason the value is tunable at boot time, e.g. if you don't need Jumbo frames you can lower the memory requirements and avoid this issue with: hw.re.max_rx_mbuf_sz="2048" To enable Wake on LAN (WoL) support you might need to set the following tunables: hw.re.s5wol="1" hw.re.s0_magic_packet="1"
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/alexdupre/rtl_bsd_drv/tar.gz/ea4ed1e?dummy=/
Collapse this list.

Number of commits found: 27

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1100.00
14 Jun 2024 08:37:58
commit hash: 38b614919a9c973a3c56c8719f632034893fb8bdcommit hash: 38b614919a9c973a3c56c8719f632034893fb8bdcommit hash: 38b614919a9c973a3c56c8719f632034893fb8bdcommit hash: 38b614919a9c973a3c56c8719f632034893fb8bd files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: update to v1.100 release.
199.00_1
25 Dec 2023 16:28:34
commit hash: b750a3fda84f959d0d744755f654213fc004a1f8commit hash: b750a3fda84f959d0d744755f654213fc004a1f8commit hash: b750a3fda84f959d0d744755f654213fc004a1f8commit hash: b750a3fda84f959d0d744755f654213fc004a1f8 files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: update to latest commit to get some additional fixes.

Note: the driver is still unstable (crash or hang) on some cards/machines.
199.00
21 Dec 2023 15:26:31
commit hash: 0c54d94044ae7d5b7e3b1564d9cae8ba3e46bccacommit hash: 0c54d94044ae7d5b7e3b1564d9cae8ba3e46bccacommit hash: 0c54d94044ae7d5b7e3b1564d9cae8ba3e46bccacommit hash: 0c54d94044ae7d5b7e3b1564d9cae8ba3e46bcca files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: try to fix build on i386.
199.00
19 Dec 2023 12:56:58
commit hash: 9bad61eff3b39985f9f5b23777c59deb2a0b5c72commit hash: 9bad61eff3b39985f9f5b23777c59deb2a0b5c72commit hash: 9bad61eff3b39985f9f5b23777c59deb2a0b5c72commit hash: 9bad61eff3b39985f9f5b23777c59deb2a0b5c72 files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: update to v1.99 release.
198.00_3
17 Jul 2023 15:50:18
commit hash: 7845799f666b35881b8387bd1ae5aba68d666b61commit hash: 7845799f666b35881b8387bd1ae5aba68d666b61commit hash: 7845799f666b35881b8387bd1ae5aba68d666b61commit hash: 7845799f666b35881b8387bd1ae5aba68d666b61 files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: fix kernel panic when generating MAC address.

PR:		262407
Reported by:	Evgeni Golov <evgeni@debian.org>
Submitted by:	kib
198.00_2
03 Jul 2023 06:57:57
commit hash: 17214a37d72b7f35998426d9990591971a5082c4commit hash: 17214a37d72b7f35998426d9990591971a5082c4commit hash: 17214a37d72b7f35998426d9990591971a5082c4commit hash: 17214a37d72b7f35998426d9990591971a5082c4 files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: fix panic when kldloaded outside of loader

PR:		272169
Reported by:	Oleg <oleglelchuk@gmail.com>
Submitted by:	kib
198.00_1
23 May 2023 06:35:28
commit hash: 22eacba09ade7f96cc31f21ccedb0d9ce7b252e9commit hash: 22eacba09ade7f96cc31f21ccedb0d9ce7b252e9commit hash: 22eacba09ade7f96cc31f21ccedb0d9ce7b252e9commit hash: 22eacba09ade7f96cc31f21ccedb0d9ce7b252e9 files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: Use C89 function declarations.

Differential Revision:	https://reviews.freebsd.org/D40171
198.00_1
15 Mar 2023 16:11:48
commit hash: eb22a3e0752dfdd191263ebaa7df3229a0170dcfcommit hash: eb22a3e0752dfdd191263ebaa7df3229a0170dcfcommit hash: eb22a3e0752dfdd191263ebaa7df3229a0170dcfcommit hash: eb22a3e0752dfdd191263ebaa7df3229a0170dcf files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: add support Killer E3000/E3100 cards (RTL8125)

PR:		270195
Submitted by:	Tino Engel <tino.engel@mail.de>
198.00
08 Jan 2023 11:31:07
commit hash: 62b19e05955635da6a2e843be38c31c36b61104ecommit hash: 62b19e05955635da6a2e843be38c31c36b61104ecommit hash: 62b19e05955635da6a2e843be38c31c36b61104ecommit hash: 62b19e05955635da6a2e843be38c31c36b61104e files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: update to v1.98 release.
197.00
19 Sep 2022 06:26:27
commit hash: cd6de38cc36145f3d222623da1bc61060d1cdf16commit hash: cd6de38cc36145f3d222623da1bc61060d1cdf16commit hash: cd6de38cc36145f3d222623da1bc61060d1cdf16commit hash: cd6de38cc36145f3d222623da1bc61060d1cdf16 files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: fix build on FreeBSD < 13.x
197.00
15 Sep 2022 15:32:25
commit hash: 59b9210de67ff58e3a993aea4eaeb9f55d6b9645commit hash: 59b9210de67ff58e3a993aea4eaeb9f55d6b9645commit hash: 59b9210de67ff58e3a993aea4eaeb9f55d6b9645commit hash: 59b9210de67ff58e3a993aea4eaeb9f55d6b9645 files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: update to v1.97 release.
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
196.04
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
196.04
20 Jul 2022 14:22:37
commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
net: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Jette <jettea46@yahoo.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Bakhtin <Alex.Bakhtin@gmail.com>
  *  Alex Deiter <Alex.Deiter@Gmail.COM>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
196.04
20 May 2022 17:12:21
commit hash: ad28aec4d627e45be486e052331eabbdf922cff7commit hash: ad28aec4d627e45be486e052331eabbdf922cff7commit hash: ad28aec4d627e45be486e052331eabbdf922cff7commit hash: ad28aec4d627e45be486e052331eabbdf922cff7 files touched by this commit
John Baldwin (jhb) search for other commits by this committer
net/realtek-re-kmod: Remove unused DRIVER_MODULE devclass on recent main.

Reviewed by:	ale (maintainer)
Differential Revision:	https://reviews.freebsd.org/D35203
196.04
26 Apr 2022 09:55:24
commit hash: 3dc1851383fd8a35334fe3ad2c2c20374ec21ddacommit hash: 3dc1851383fd8a35334fe3ad2c2c20374ec21ddacommit hash: 3dc1851383fd8a35334fe3ad2c2c20374ec21ddacommit hash: 3dc1851383fd8a35334fe3ad2c2c20374ec21dda files touched by this commit
Stefan Eßer (se) search for other commits by this committer
net/realtek-re-kmod: fix build on -CURRENT

There were several set-but-not-used variables that caused the build on
-CURRENT to fail, since this case is no longer treated as a warning
but as an error.

No port revision bump, since there is no need to rebuild existing
official packages with this patch applied. But it is required for
users that build this port on -CURRENT and 13-STABLE with the
rejection of unused variable that has been enabled there.

Approved by:	portmgr (implicit)
196.04
17 Jan 2022 16:14:06
commit hash: 6a4e552e40762e99e2b7b15e9542d46fbfd3c6d9commit hash: 6a4e552e40762e99e2b7b15e9542d46fbfd3c6d9commit hash: 6a4e552e40762e99e2b7b15e9542d46fbfd3c6d9commit hash: 6a4e552e40762e99e2b7b15e9542d46fbfd3c6d9 files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: allow building for other architectures

Disable dash support on such archs and fix version number.

PR:		258473
Submitted by:	Franco Fichtner <franco@opnsense.org>
v196.04_3
25 Oct 2021 12:58:29
commit hash: 61b661339366b6ee95ca1de0667979da9240c6b8commit hash: 61b661339366b6ee95ca1de0667979da9240c6b8commit hash: 61b661339366b6ee95ca1de0667979da9240c6b8commit hash: 61b661339366b6ee95ca1de0667979da9240c6b8 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
Style: improve ONLY_FOR_ARCHS_REASON (grammar, markup, etc.)

ONLY_FOR_ARCHS_REASON is used as part of the sentence and thus should
start with lower-case letter and not end with a period which is added
by the framework, similar to other knobs like BROKEN, IGNORE, et al.

While here, remove needless quoting, add missing Oxford comma, expand
contractions and jargonisms, use correct spelling for proper names.
v196.04_3
22 Jun 2021 05:52:49
commit hash: c83bb257d1cd80e1627375a1875a0764b059620ecommit hash: c83bb257d1cd80e1627375a1875a0764b059620ecommit hash: c83bb257d1cd80e1627375a1875a0764b059620ecommit hash: c83bb257d1cd80e1627375a1875a0764b059620e files touched by this commit
Alex Dupre (ale) search for other commits by this committer
net/realtek-re-kmod: fix locking bugs.

PR:		256757
Submitted by:	Niels Bakker <niels=freebsd@bakker.net>
v196.04_2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
v196.04_2
07 Aug 2020 19:39:00
Revision:544347Original commit files touched by this commit
linimon search for other commits by this committer
Mark this driver as x86-only: includes x86-specific definitions.

It *appears* that this code and sys/dev/re/if_re.c have common ancestry
but this is not obvious to a casual observer.  ISTM there would be a
very significant merge/re-engineering effort to produce a superset.

Approved by:	portmgr (tier-2 blanket)
v196.04_2
23 Jul 2020 12:39:00
Revision:542930Original commit files touched by this commit
ale search for other commits by this committer
Further enhance the pkg-message and bump PORTREVISION.
v196.04_1
21 Jul 2020 13:38:17
Revision:542740Original commit files touched by this commit
ale search for other commits by this committer
Minor textual nits.

Submitted by:	danfe
v196.04_1
21 Jul 2020 13:21:31
Revision:542738Original commit files touched by this commit
ale search for other commits by this committer
Improve pkg-message by adding a suggestion on kernel memory usage.
Bump PORTREVISION.
v196.04
20 Jul 2020 06:14:44
Revision:542612Original commit files touched by this commit
ale search for other commits by this committer
Fix conditional check introduced in last commit.
v196.04
20 Jul 2020 06:10:03
Revision:542611Original commit files touched by this commit
ale search for other commits by this committer
Try to fix build on -CURRENT.
v196.04
16 Jul 2020 06:09:17
Revision:542324Original commit files touched by this commit
ale search for other commits by this committer
Realtek PCIe FE / GBE / 2.5G / Gaming Ethernet Family Controller
kernel driver.

This is the official driver from Realtek and can be loaded instead of
the FreeBSD driver built into the GENERIC kernel if you experience
issues with it (eg. watchdog timeouts), or your card is not supported.

Supported devices:

* 2.5G Gigabit Ethernet
  - RTL8125 / RTL8125B(S)

* 10/100/1000M Gigabit Ethernet
  - RTL8111B / RTL8111C / RTL8111D / RTL8111E / RTL8111F / RTL8111G(S)
    RTL8111H(S) / RTL8118(A)(S) / RTL8119i / RTL8111L / RTL8111K
  - RTL8168B / RTL8168E / RTL8168H
  - RTL8111DP / RTL8111EP / RTL8111FP
  - RTL8411 / RTL8411B

* 10/100M Fast Ethernet
  - RTL8101E / RTL8102E / RTL8103E / RTL8105E / RTL8106E / RTL8107E
  - RTL8401 / RTL8402

WWW:
https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software

Number of commits found: 27