[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131226.133200.1159110493607479477.davem@davemloft.net>
Date: Thu, 26 Dec 2013 13:32:00 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dingtianhong@...wei.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
joe@...ches.com, alexander.h.duyck@...el.com,
antonio@...hcoding.com, sergei.shtylyov@...entembedded.com
Subject: Re: [PATCH v3.5 00/19] slight optimization of addr compare for
some modules
From: Ding Tianhong <dingtianhong@...wei.com>
Date: Thu, 26 Dec 2013 19:40:12 +0800
> Joe Perches add ether_addr_equal_unaligned to test if
> possibly unaligned to u16 Ethernet addresses are equal.
>
> If CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS is set, this uses
> the slightly faster generic routine ether_addr_equal,
> otherwise this uses memcmp.
>
> So I use the recently added and possibly more efficient
> ether_addr_equal_unaligned to instead of memcmp for slight
> optimization.
Series applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists