On Thu, May 22, 2014 at 01:17:31PM -0700, Gurucharan Shetty wrote:
> On Thu, May 22, 2014 at 10:43 AM, Ben Pfaff <b...@nicira.com> wrote:
> > On Mon, May 19, 2014 at 12:35:46PM -0700, Jarno Rajahalme wrote:
> >> When, during a classifier lookup, we narrow down to a single potential
> >> rule, it is enough to match on ("unwildcard") one bit that differs
> >> between the packet and the rule.
> >>
> >> This is a special case of the more general algorithm, where it is
> >> sufficient to match on enough bits that separates the packet from all
> >> higher priority rules than the matched rule.  For a miss that would be
> >> all the rules.  Implementing this is expensive for a more than a few
> >> rules.  This patch starts by doing this for a single rule when we
> >> already have it, also reducing the lookup cost by finishing the lookup
> >> earlier than before.
> >>
> >> Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com>
> >
> > I've asked Guru (CCed) to find out whether the latest MSVC now
> > supports declarations within "for" statements.  If it does, then we
> > can get rid of the CodingStyle rule prohibiting that feature, which
> > will make life easier.
> 
> It is fine from Visual Studio's perspective (it supports declarations
> inside for statements).

Great.

Jarno, do you want to update CodingStyle?
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to