BSD Ports

net/realtek-re-kmod198 198.00.1405500 FreeBSD

Kernel driver for Realtek PCIe Ethernet Controllers

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD4CLAUSE
Categories
net, kld
Package size
112.5 KiB, 547.2 KiB installed

Description

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

In the other systems

SystemPortVersion
FreeBSDnet/realtek-re-kmod198198.00.1405500
MidnightBSDnet/realtek-re-kmod198198.00
HardenedBSDnet/realtek-re-kmod198198.00.1501503
GhostBSDnet/realtek-re-kmod198198.00.1500068

Install

Binary package:

pkg install realtek-re-kmod198

From the ports tree:

cd /usr/ports/net/realtek-re-kmod198/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	realtek-re-kmod198>0:net/realtek-re-kmod198

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest198.00.1404000198.00.1404000-198.00.1402000198.00.1404000
FreeBSD:14:quarterly198.00.1404000198.00.1404000n/a198.00.1402000198.00.1404000
FreeBSD:15:latest198.00.1501000198.00.1501000n/a198.00.1500063198.00.1500063
FreeBSD:15:quarterly198.00.1501000198.00.1501000n/an/an/a
FreeBSD:16:latest198.00.1600026198.00.1600029n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

USES
kmod tar:tgz uidfix
Service scripts
none

Message after installing

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"

Files

distinfo 1
FileSizeSHA256
alexdupre-rtl_bsd_drv-v198.00-d3a7a3d_GH0.tar.gz13272343ff94e41a4c674143f9a37299c40b92fd7f94a25fa33cf253114eda0f9f49fa

Commit history 0

No commits in the history this site was built from.