Performance tests with new network stack
joel.sherrill at oarcorp.com
Thu Sep 25 14:17:36 UTC 2014
On 9/25/2014 9:08 AM, Sebastian Huber wrote:
> On 25/09/14 16:01, Joel Sherrill wrote:
>> I thought at one point, we had populated the new stack with
>> the checksum code from the old stack for the highly optimized
>> cases. Was the PowerPC one where we just trusted their new
>> code and our old code was more optimized?
> FreeBSD no longer uses optimized routines since state of the art network
> interface controllers do this checksum stuff in hardware.
> NetBSD has optimized variants, but the APIs differ. They also have the
> advertising clause in their license.
> I don't have time to write optimized assembler code myself at the moment.
OK. Then is this now a function of the NIC driver for those that don't
hardware checksum calculation?
Looking back at the history, I wrote the current PowerPC one a LONG time ago
based on the x86 one and neither has an advertising clause. They could be
copied and the API updated if someone cares.
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the devel