These are mostly small source code fixes and some refactoring, but the patch 9/10 actually fixes a controller visible stats regression introduced by the xlate cache. The final patch reduces the overhead of each translated and cached learn action from about 3.5kb to about 0.3kb.
This is prepatory work towards properly implementing buffered packet execution from bundles, as well as adding bundle support for PACKET_OUT messages. I decided to post this series separately now, so we may decide if we want to apply these to the branch 2.6 as will, while it is still very easy. Jarno Rajahalme (10): types.h: Move mirror_mask_t here. ofproto-dpif: Remove prototype for an undefined function. ofproto: Change rule's 'removed' member to a tri-state 'state'. ofproto: Remove stale comment. ofproto: Clarify rule_execute packet ownership. object-collection: Remove access to stub. connmgr: Make connmgr_wants_packet_in_on_miss() lock-free. ofproto-dpif-xlate: Expose xlate cache. ofproto-dpif-xlate: Add xlate cache type XC_TABLE. ofproto: Use ofproto_flow_mod for learn execution from xlate cache. include/openvswitch/types.h | 5 + lib/object-collection.h | 5 - ofproto/connmgr.c | 59 +++++--- ofproto/ofproto-dpif-mirror.h | 4 +- ofproto/ofproto-dpif-rid.h | 2 +- ofproto/ofproto-dpif-xlate.c | 338 ++++++++++++++++++------------------------ ofproto/ofproto-dpif-xlate.h | 84 ++++++++++- ofproto/ofproto-dpif.c | 61 +++++--- ofproto/ofproto-dpif.h | 15 +- ofproto/ofproto-provider.h | 17 ++- ofproto/ofproto.c | 267 ++++++++++++++++++++++++--------- 11 files changed, 538 insertions(+), 319 deletions(-) -- 2.1.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev