Stephen Hemminger 7750b036d8 net: speedup ethernet address comparison with bitops
Using bit operations like or and xor is faster than a loop
on all architectures. Really just explicit unrolling.

Similar cast to uint16 unaligned is already done in
other functions here.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2019-07-08 21:26:52 +02:00
..
2019-05-24 13:34:45 +02:00
2019-05-24 13:34:45 +02:00
2019-05-24 13:34:46 +02:00
2019-07-05 15:28:14 +02:00
2018-10-26 22:14:06 +02:00
2019-05-24 13:34:46 +02:00