Realtek PCIe FE / GBE / 2.5G / Gaming 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:
* 2.5G Gigabit Ethernet
- RTL8125 / RTL8125B(S)(G)
* 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
See also: https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
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"
net/realrek-re-kmod198: Undeprecate and pass maintainership
As discussed in bug 275883, this port is still needed by some users.
Passing maintainership to the user who is still using affected Realtek
chips.
PR: 289012
net/realtek-re-kmod198: Deprecate and set expiration date to 2025-12-31
This port is created to stick with version 198.00 to avoid the issue on
bug 275882. There is now a workaround, disabling checksum offloading,
so we no longer have to stick with the old version.
PR: 275882
net/realrek-re-kmod198: add port for 198 version
as a workaround for bug 275882. This port can be retired when the bug is
resolved completely.
Many people need the 198 version because of the hang-up issue. Another
set of people need 199 because of another issue. This port is needed to
satisfy both sets of people until complete until a complete solution for
275882 is found.
PR: 275882
Sponsored by: Cybertrust Japan