[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131108.133015.2000589866643088644.davem@davemloft.net>
Date: Fri, 08 Nov 2013 13:30:15 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: flow_dissector: small optimizations in
IPv4 dissect
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 07 Nov 2013 08:37:28 -0800
> From: Eric Dumazet <edumazet@...gle.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@...gle.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists