[Bug 236962] Realtek RTL8111/8168/8411 erratically drops network connection
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 27 11:13:07 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236962
Konstantin Belousov <kib at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kib at FreeBSD.org
--- Comment #6 from Konstantin Belousov <kib at FreeBSD.org> ---
Some time ago I started using
https://www.gigabyte.com/Motherboard/GA-J3455N-D3H-rev-10#ov
for my home server. In-tree driver stops operating with dreaded 'device
timeout', and the official realtek driver caused some weird hangs of the
whole machine.
I was not able to figure out what is missing in the in-tree driver. But
for the realtek code, the cause appeared quite silly. Since chips are
able to do jumbo, but not scatter-gather, they allocated 9K clusters
for rx fill always, even if interface was configured for standard 1500
MTU. At some time (2-3 weeks for my workload) memory becomes fragmented
enough that driver cannot refill rx, and due to the interface mutex, this
cascaded to everything that touched network.
I added a knob to disable jumbo and re-imported several revisions of the
vendor driver there:
https://github.com/kostikbel/rere
After that I am quite happy running stable/11 for a year without an issue.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list