summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ipv6_sockglue.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-12-06 15:44:21 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-09 20:58:11 -0500
commit2c722fe1c821a100ca87fcc36e90a9bceb497c7c (patch)
treebe96c28923670d0daa2119e414efa9c52991928d /net/ipv6/ipv6_sockglue.c
parentd9cd4fe5ef4373e0f5b2e752b1859bee33bc5644 (diff)
downloadop-kernel-dev-2c722fe1c821a100ca87fcc36e90a9bceb497c7c.zip
op-kernel-dev-2c722fe1c821a100ca87fcc36e90a9bceb497c7c.tar.gz
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 <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ipv6_sockglue.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud