Re: net5501: FreeBSD ipfw and the elusive 75Mbps throughput

Stuart Henderson <[email protected]> Sat, 11 Jun 2016 11:39:24 +0000 (UTC)
Newsgroups gmane.comp.hardware.soekris.technical
Message-ID <[email protected]>
On 2016-06-10, Jed Clear <[email protected]> wrote:
>>     The vr driver always copies transmit mbuf chains into longword-aligned
>>     buffers prior to transmission in order to pacify the Rhine chips.  If
>>     buffers are not aligned correctly, the chip will round the supplied
>>     buffer address and begin DMAing from the wrong location.  This buffer
>>     copying impairs transmit performance on slower systems but cannot be
>>     avoided.  On faster machines (e.g. a Pentium II), the performance
>> impact
>>     is much less noticeable.
>
> Interesting. You'd think the drivers would align the packets on Rx and I vaguely recall that FreeBSD managed to go zero copy a few major versions ago.  Although that could be for straight forwarding.  IPFW and NAT might behave differently.  Not sure I'd have any control over it. 

The manpage is outdated, this is only done for the old chips.
It's not needed and isn't done for VT610x.