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

2013-12-23 Thread Ding Tianhong
于 2013/12/23 21:47, Felix Fietkau 写道: > 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

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

2013-12-23 Thread Felix Fietkau
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. B

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

2013-12-22 Thread Ding Tianhong
Use the recently added and possibly more efficient ether_addr_equal_unaligned to instead of memcmp. Cc: "John W. Linville" Cc: linux-wirel...@vger.kernel.org Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Weilong Chen Signed-off-by: Ding Tianhong --- drivers/net/wir