Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Apr 2018 03:45:33 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        BERTRAND =?iso-8859-1?Q?Jo=EBl?= <joel.bertrand@systella.fr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Realtek re(4) driver
Message-ID:  <20180411104533.GC1134@albert.catwhisker.org>
In-Reply-To: <8919d821-2200-a2aa-87c3-bcad16bc75fb@systella.fr>
References:  <CAA3ZYrCdBWi%2BXSge%2BYfDH73a5QpaK0oOVTABb2k16NA5xUx%2BdA@mail.gmail.com> <f76f167d-c37f-3673-11c3-094a3fb13186@multiplay.co.uk> <20180411121404.71a07fef@ernst.home> <8919d821-2200-a2aa-87c3-bcad16bc75fb@systella.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

--hI0LKvM4dmXJ5Wy2
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 11, 2018 at 12:32:00PM +0200, BERTRAND Jo=EBl wrote:
> ...
> 	I use a diskless workstation. With re driver provided by FreeBSD kernel
> (9/10/11.x), system randomly crashed because ethernet driver stalls (and
> datarate is always less than 300mbps). With official realtek driver
> (v194.01), system now runs as expected (with datarate up to 1 Gbps).
>=20
> 	Internal re driver is broken on this ethernet adapter (maybe on several
> other adapters) :
>=20
> re0@pci0:2:0:0: class=3D0x020000 card=3D0x78511462 chip=3D0x816810ec rev=
=3D0x0c
> hdr=3D0x00
>     vendor     =3D 'Realtek Semiconductor Co., Ltd.'
>     device     =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Contro=
ller'
>     class      =3D network
>     subclass   =3D ethernet
>=20
> 	Regards,
>=20
> 	JKB
> ....

In counterpoint, my build machine for the last few years has been a Dell
mini-tower I bought from Costco... with its original disk drive removed
(replaced by an SSD, then supplemented with 3 more for a poudriere
scratch-space).  It runs a GENERIC kernel, tracking stable/11 & head
daily, using poudriere to build local packages weekly, and acting as an
NFS server for my "production" machines for their weekly updates.

Its NIC:

re0@pci0:3:0:0: class=3D0x020000 card=3D0x05b71028 chip=3D0x816810ec rev=3D=
0x0c hdr=3D0x00
    vendor     =3D 'Realtek Semiconductor Co., Ltd.'
    device     =3D 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controll=
er'
    class      =3D network
    subclass   =3D ethernet

freebeast(11.1-S)[2] ifconfig re0
re0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=3D8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,W=
OL_MAGIC,LINKSTATE>
        ether 98:90:96:d6:c9:6d
        hwaddr 98:90:96:d6:c9:6d
        inet 172.16.8.10 netmask 0xffffff00 broadcast 172.16.8.255=20
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex,master>)
        status: active
freebeast(11.1-S)[3]=20

(It is connected to a "dumb" 16-port Netgear gigabit switch.)

I will admit that I avoid having the machine try to do too much
else while the production machines are using it as an NFS server
(serving /usr/src & /usr/obj, while (e.g.) "make installworld" runs
on the production machines), but other than that, I have no issues
involving performance and behavior of the NIC and its driver.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Well, what did you EXPECT from Trump?  He has a history of breaking promise=
s.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--hI0LKvM4dmXJ5Wy2
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEEzLfO+ReoAfQwZNd7FTnMQKBJ7hcFAlrN501fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEND
QjdDRUY5MTdBODAxRjQzMDY0RDc3QjE1MzlDQzQwQTA0OUVFMTcACgkQFTnMQKBJ
7hdrCwgA0g7vKNdRGYyATMu36uGuf8ulwaiuu3cAFMu6fLiKpxtZ0jn861x11hUL
ITIuMPn+abI6G2cVtE+Mvqk8bizcEP+ls57Ku+bSJ+xACfURIs6o5mvSt/wswbU7
sXyhDS3mSf3XHxDrqK7T8S660rWdGIqoXS4euFzCPqRrgq0wMegGKQFpbh9/MtVD
NQNZ4I5C2Z5HDYcLF9VApQWLxaglwHlg8QpVe/LbD1RElHDPCc/kx76WW+y24PBL
aLQSZsUlXqdVB8NfeMEsdEXYlhZcwv1QBWoiNG/IE/sf4M3PBEt3QRbiw6pW/sI9
hkK2byILX2sW96Po5hGtqdiOL4337Q==
=CjKr
-----END PGP SIGNATURE-----

--hI0LKvM4dmXJ5Wy2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180411104533.GC1134>