aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2013-12-06 23:44:21 +0000
committerDavid S. Miller <[email protected]>2013-12-10 01:58:11 +0000
commit2c722fe1c821a100ca87fcc36e90a9bceb497c7c (patch)
treebe96c28923670d0daa2119e414efa9c52991928d /net/ipv6/tcp_ipv6.c
parentbatadv: Slight optimization of batadv_compare_eth (diff)
downloadkernel-2c722fe1c821a100ca87fcc36e90a9bceb497c7c.tar.gz
kernel-2c722fe1c821a100ca87fcc36e90a9bceb497c7c.zip
etherdevice: Optimize a few is_<foo>_ether_addr functions
If CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is set, several is_<foo>_ether_addr functions can be slightly improved by using u32 dereferences. I believe all current uses of is_zero_ether_addr and is_broadcast_ether_addr are u16 aligned, so always use u16 references to improve those functions performance. Document the u16 alignment requirements. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions