From: Olivier Matz <olivier.matz@6wind.com>
To: "Morten Brørup" <mb@smartsharesystems.com>
Cc: ferruh.yigit@intel.com, harry.van.haaren@intel.com,
konstantin.ananyev@intel.com, jerinjacobk@gmail.com,
dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] net: rte_ether minor optimizations
Date: Mon, 27 Jul 2020 09:34:58 +0200 [thread overview]
Message-ID: <20200727073458.GP5869@platinum> (raw)
In-Reply-To: <20200626165135.119557-1-mb@smartsharesystems.com>
On Fri, Jun 26, 2020 at 06:51:35PM +0200, Morten Brørup wrote:
> * rte_is_broadcast_ether_addr():
> Use binary logic instead of comparisons and boolean logic, thus reducing
> the number of branches.
> It now resembles rte_is_zero_ether_addr().
>
> * rte_ether_addr_copy():
> The source code modifications were discussed on the mailing list:
> http://mails.dpdk.org/archives/dev/2020-June/171584.html
> Remove obsolete ICC-specific code and related comment.
> Restrict pointer aliasing (suggested by Jerin Jacob).
> Remove superfluous "Fast" from function description headline; all DPDK
> data plane functions are supposed to be fast.
>
> Signed-off-by: Morten Brørup <mb@smartsharesystems.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
next prev parent reply other threads:[~2020-07-27 7:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-26 16:51 Morten Brørup
2020-07-27 7:34 ` Olivier Matz [this message]
2020-08-25 17:30 ` Ferruh Yigit
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=20200727073458.GP5869@platinum \
--to=olivier.matz@6wind.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=harry.van.haaren@intel.com \
--cc=jerinjacobk@gmail.com \
--cc=konstantin.ananyev@intel.com \
--cc=mb@smartsharesystems.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).