ofproto-dpif-xlate: Add a mechanism to skip wildcard calculation.
authorEthan Jackson <ethan@nicira.com>
Thu, 5 Dec 2013 21:09:27 +0000 (13:09 -0800)
committerEthan Jackson <ethan@nicira.com>
Fri, 13 Dec 2013 04:21:11 +0000 (20:21 -0800)
commit3f2079100ba9f7d24586dec4237c942e214cc571
tree076e628dd071b990744748e41f5416e299849e06
parentd6fc5f57bb57fede0ddad2272a734a6212eda6b2
ofproto-dpif-xlate: Add a mechanism to skip wildcard calculation.

As time goes on and the classifier becomes more complicated, calculate
the wildcard mask will get more and more expensive.  This patch adds a
mechanism to xlate_actions() allowing callers to disable wildcard
calculation when it isn't really necessary.  Used in future patches.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif-xlate.h