Port details |
- realtek-re-kmod Kernel driver for Realtek PCIe Ethernet Controllers
- 1100.00_1 net =10 1100.00_1Version of this port present on the latest quarterly branch.
- Maintainer: ale@FreeBSD.org
- Port Added: 2020-07-16 06:09:25
- Last Update: 2024-11-28 09:10:44
- Commit Hash: 4ca9ea9
- People watching this port, also watch:: yt-dlp, rsync, pkg, libxml2, node
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - 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):
- 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"
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:
-rxcsum -txcsum -rxcsum6 -txcsum6
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1100.00_1 28 Nov 2024 09:10:44 |
Alex Dupre (ale) |
net/realtek-re-kmod: fix build on FreeBSD 15.
I've opted for the simplest patch, the inclusion of if_private.h,
instead of a more invasive switch to IfAPI, to keep minimal changes
to vendor branch, hoping in a next vendor update to it. |
1100.00_1 22 Aug 2024 09:29:49 |
Alex Dupre (ale) |
net/realtek-re-kmod: suggest to disable checksum offloading if the network hangs
PR: 275882 |
1100.00 14 Jun 2024 08:37:58 |
Alex Dupre (ale) |
net/realtek-re-kmod: update to v1.100 release. |
199.00_1 25 Dec 2023 16:28:34 |
Alex Dupre (ale) |
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 |
Alex Dupre (ale) |
net/realtek-re-kmod: try to fix build on i386. |
199.00 19 Dec 2023 12:56:58 |
Alex Dupre (ale) |
net/realtek-re-kmod: update to v1.99 release. |
198.00_3 17 Jul 2023 15:50:18 |
Alex Dupre (ale) |
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 |
Alex Dupre (ale) |
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 |
Alex Dupre (ale) |
net/realtek-re-kmod: Use C89 function declarations.
Differential Revision: https://reviews.freebsd.org/D40171 |
198.00_1 15 Mar 2023 16:11:48 |
Alex Dupre (ale) |
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 |
Alex Dupre (ale) |
net/realtek-re-kmod: update to v1.98 release. |
197.00 19 Sep 2022 06:26:27 |
Alex Dupre (ale) |
net/realtek-re-kmod: fix build on FreeBSD < 13.x |
197.00 15 Sep 2022 15:32:25 |
Alex Dupre (ale) |
net/realtek-re-kmod: update to v1.97 release. |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
196.04 20 Jul 2022 14:22:37 |
Tobias C. Berner (tcberner) |
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 ) |
196.04 20 May 2022 17:12:21 |
John Baldwin (jhb) |
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 |
Stefan Eßer (se) |
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 |
Alex Dupre (ale) |
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 |
Alexey Dokuchaev (danfe) |
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 |
Alex Dupre (ale) |
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 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
v196.04_2 07 Aug 2020 19:39:00 |
linimon |
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 |
ale |
Further enhance the pkg-message and bump PORTREVISION. |
v196.04_1 21 Jul 2020 13:38:17 |
ale |
Minor textual nits.
Submitted by: danfe |
v196.04_1 21 Jul 2020 13:21:31 |
ale |
Improve pkg-message by adding a suggestion on kernel memory usage.
Bump PORTREVISION. |
v196.04 20 Jul 2020 06:14:44 |
ale |
Fix conditional check introduced in last commit. |
v196.04 20 Jul 2020 06:10:03 |
ale |
Try to fix build on -CURRENT. |
v196.04 16 Jul 2020 06:09:17 |
ale |
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 |