Messages in this thread | | | Date | Mon, 09 Dec 2013 20:58:38 -0500 (EST) | Subject | Re: [PATCH -next] etherdevice: Optimize a few is_<foo>_ether_addr functions | From | David Miller <> |
| |
From: Joe Perches <joe@perches.com> Date: Fri, 06 Dec 2013 15:44:21 -0800
> 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>
Applied.
| |