diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-09-01 06:31:18 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 00:40:26 (GMT) |
commit | 885a136c52a8871175477baf3903e1c38751b35a (patch) | |
tree | 7df36a899371078e1600531d4c6e3870e188cd60 /include/net/netns | |
parent | ac06713d55d450cbc9ef871b1b238409238f0fe0 (diff) | |
download | linux-fsl-qoriq-885a136c52a8871175477baf3903e1c38751b35a.tar.xz |
bonding: use compare_ether_addr_64bits() in ALB
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>
Diffstat (limited to 'include/net/netns')
0 files changed, 0 insertions, 0 deletions