netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: dingtianhong@huawei.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	joe@perches.com, alexander.h.duyck@intel.com,
	antonio@meshcoding.com, sergei.shtylyov@cogentembedded.com
Subject: Re: [PATCH v3.5 00/19] slight optimization of addr compare for some modules
Date: Thu, 26 Dec 2013 13:32:00 -0500 (EST)	[thread overview]
Message-ID: <20131226.133200.1159110493607479477.davem@davemloft.net> (raw)
In-Reply-To: <52BC159C.1000903@huawei.com>

From: Ding Tianhong <dingtianhong@huawei.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.

      reply	other threads:[~2013-12-26 18:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-26 11:40 [PATCH v3.5 00/19] slight optimization of addr compare for some modules Ding Tianhong
2013-12-26 18:32 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131226.133200.1159110493607479477.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=alexander.h.duyck@intel.com \
    --cc=antonio@meshcoding.com \
    --cc=dingtianhong@huawei.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=sergei.shtylyov@cogentembedded.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).