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>

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

[-- Attachment #1 --]
On Wed, Apr 11, 2018 at 12:32:00PM +0200, BERTRAND Joël 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).
> 
> 	Internal re driver is broken on this ethernet adapter (maybe on several
> other adapters) :
> 
> re0@pci0:2:0:0: class=0x020000 card=0x78511462 chip=0x816810ec rev=0x0c
> hdr=0x00
>     vendor     = 'Realtek Semiconductor Co., Ltd.'
>     device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
>     class      = network
>     subclass   = ethernet
> 
> 	Regards,
> 
> 	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=0x020000 card=0x05b71028 chip=0x816810ec rev=0x0c hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet

freebeast(11.1-S)[2] ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_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 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex,master>)
        status: active
freebeast(11.1-S)[3] 

(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
-- 
David H. Wolfskill				david@catwhisker.org
Well, what did you EXPECT from Trump?  He has a history of breaking promises.

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

[-- Attachment #2 --]
-----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-----
help

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