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 support 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.sherr...@oarcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel