[PATCH 5/5] staging/slicoss: Use ether_crc for mac hash calculation

2013-02-18 Thread Peter Huewe
Instead of performing the hash calculation for the mac address by ourself, we can simply reuse ether_crc and shift only the result according to our needs. The code was tested against the previous implementation by verifying both implementations against each other in userspace for 162

[PATCH 5/5] staging/slicoss: Use ether_crc for mac hash calculation

2013-02-18 Thread Peter Huewe
Instead of performing the hash calculation for the mac address by ourself, we can simply reuse ether_crc and shift only the result according to our needs. The code was tested against the previous implementation by verifying both implementations against each other in userspace for 162