Optimized ether_crc32_be()

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Jun 22 21:16:12 GMT 2004

In message <200406221712.13015.jhb at FreeBSD.org>, John Baldwin writes:
>On Friday 18 June 2004 07:37 pm, 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?
>Doesn't look like anyone responded.  Perhaps ask someone on sparc64 to test it 
>along with some simple multicast test?  (Use mtest to join a group, turn on 
>bmcastecho and then ping the multicast group to see if it responds?)

For things like this I would really advocate adding a regression
test over in src/tools/regression.

Please ?

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the freebsd-current mailing list