From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] net: flow_dissector: small optimizations in IPv4 dissect
Date: Fri, 08 Nov 2013 13:30:15 -0500 (EST) [thread overview]
Message-ID: <20131108.133015.2000589866643088644.davem@davemloft.net> (raw)
In-Reply-To: <1383842248.9412.84.camel@edumazet-glaptop2.roam.corp.google.com>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Thu, 07 Nov 2013 08:37:28 -0800
> From: Eric Dumazet <edumazet@google.com>
>
> By moving code around, we avoid :
>
> 1) A reload of iph->ihl (bit field, so needs a mask)
>
> 2) A conditional test (replaced by a conditional mov on x86)
> Fast path loads iph->protocol anyway.
>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied.
prev parent reply other threads:[~2013-11-08 18:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-07 16:37 [PATCH net-next] net: flow_dissector: small optimizations in IPv4 dissect Eric Dumazet
2013-11-08 18:30 ` 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=20131108.133015.2000589866643088644.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=netdev@vger.kernel.org \
/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).