Optimized ether_crc32_be()

M. Warner Losh imp at bsdimp.com
Wed Jun 23 02:20:20 GMT 2004


In message: <20040622230406.GJ762 at empiric.dek.spc.org>
            Bruce M Simpson <bms at spc.org> writes:
: 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@ 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)).

That issue is already resolved.  ether_crc32_be can help in the future
keeping such code from being committed, but the GPL'd code has already
been eliminated from the driver.

Warner


More information about the freebsd-current mailing list