Re: Optimized ether_crc32_be()

From: Bruce M Simpson <bms_at_spc.org>
Date: Wed, 23 Jun 2004 00:04:06 +0100
On Fri, Jun 18, 2004 at 11:37:40PM +0000, Christian Weisgerber wrote:
> Taken from kern/49957, here's a table-driven implementation of
> ether_crc32_be() to complement the little-endian one.  For 6-byte
> MAC addresses it's about five times faster than the double loop.
> 
> Comments?

This sounds like a good idea. I'd be happy to see this committed
(providing, as phk_at_ suggested, that it is subject to proper regression
testing) as it may help to address the GPL contamination thread discussed
in May's Core Monthly Report (specifically in sk(4)).

Also, the reduction of code duplication can only be a good thing.

Regards,
BMS
Received on Tue Jun 22 2004 - 21:04:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:58 UTC