Thread (3 messages) 3 messages, 3 authors, 2013-12-23

Re: [PATCH 19/21] wireless: slight optimization of addr compare

From: Felix Fietkau <hidden>
Date: 2013-12-23 13:47:25
Also in: linux-wireless, lkml

On 2013-12-23 06:11, Ding Tianhong wrote:
Use the recently added and possibly more efficient
ether_addr_equal_unaligned to instead of memcmp.
It looks to me like all of these (including the ones in the other
similar patches) are in places, where the address data is aligned to at
least 16 bit. Because of this, using ether_addr_equal instead of
ether_addr_equal_unaligned would be much better for platforms without
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS.

- Felix
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help