From: Joe Perches Date: Fri, 6 Dec 2013 23:44:21 +0000 (-0800) Subject: etherdevice: Optimize a few is__ether_addr functions X-Git-Tag: v3.14-rc1~94^2~554 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c722fe1c821a100ca87fcc36e90a9bceb497c7c;p=pandora-kernel.git etherdevice: Optimize a few is__ether_addr functions If CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is set, several is__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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed