bonding: use compare_ether_addr_64bits() in ALB
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 1 Sep 2009 06:31:18 +0000 (06:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 00:40:26 +0000 (17:40 -0700)
We can speedup ether addresses compares using compare_ether_addr_64bits()
instead of memcmp(). We make sure all operands are at least 8 bytes long and
16bits aligned (or better, long word aligned if possible)

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Reviewed-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found