Re: [PATCH v2 01/20] net: slight optimization of addr compare for some modules

2013-12-24 Thread Ding Tianhong
于 2013/12/24 23:05, Joe Perches 写道: > On Tue, 2013-12-24 at 22:35 +0800, Ding Tianhong wrote: >> 于 2013/12/24 22:22, Joe Perches 写道: >>> On Tue, 2013-12-24 at 19:27 +0800, Ding Tianhong wrote: Use possibly more efficient ether_addr_equal_unaligned and ether_addr_equal to instead of memcmp

Re: [PATCH v2 01/20] net: slight optimization of addr compare for some modules

2013-12-24 Thread Joe Perches
On Tue, 2013-12-24 at 22:35 +0800, Ding Tianhong wrote: > 于 2013/12/24 22:22, Joe Perches 写道: > > On Tue, 2013-12-24 at 19:27 +0800, Ding Tianhong wrote: > >> Use possibly more efficient ether_addr_equal_unaligned > >> and ether_addr_equal to instead of memcmp. > > > > A negative of adding so many

Re: [PATCH v2 01/20] net: slight optimization of addr compare for some modules

2013-12-24 Thread Ding Tianhong
于 2013/12/24 22:22, Joe Perches 写道: > On Tue, 2013-12-24 at 19:27 +0800, Ding Tianhong wrote: >> Use possibly more efficient ether_addr_equal_unaligned >> and ether_addr_equal to instead of memcmp. > > A negative of adding so many different drivers in a single > patch is that you miss sending patc

Re: [PATCH v2 01/20] net: slight optimization of addr compare for some modules

2013-12-24 Thread Joe Perches
On Tue, 2013-12-24 at 19:27 +0800, Ding Tianhong wrote: > Use possibly more efficient ether_addr_equal_unaligned > and ether_addr_equal to instead of memcmp. A negative of adding so many different drivers in a single patch is that you miss sending patches to the named maintainers. Most of these b

[PATCH v2 01/20] net: slight optimization of addr compare for some modules

2013-12-24 Thread Ding Tianhong
Use possibly more efficient ether_addr_equal_unaligned and ether_addr_equal to instead of memcmp. Cc: "David S. Miller" Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: e1000-de...@lists.sourceforge.net Signed-off-by: Ding Tianhong --- drivers/net/bonding/bond_3ad.c