[dpdk-dev] [PATCH v3 4/6] net/ether: use bitops to speedup comparison
arybchenko at solarflare.com
Wed Jun 5 11:02:12 CEST 2019
On 6/5/19 4:08 AM, Stephen Hemminger wrote:
> 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 at networkplumber.org>
Reviewed-by: Andrew Rybchenko <arybchenko at solarflare.com>
More information about the dev