This is a set of precursor patches for moving the "learn" action into individual threads rather than doing them all in the main thread, which in turn is necessary to fix a regression in the promptness of learning.
Ben Pfaff (11): ofproto: Do not call ->rule_destruct() if ->rule_construct() failed. ofproto: Support out_group feature when matching on cookie. ofproto: Factor code out of collect_rules_{loose,strict} into new helper. ofproto: Correct comments. ofproto: Avoid gratuitous memory allocation and free. ofproto-dpif: Remove vestigial "clogged" feature. ofproto: Merge ofproto_rule_delete() and ofproto_delete_rule(). ofproto: Move function find_meter() into ofpacts as ofpacts_get_meter(). ofproto: Remove soon-to-be-invalid optimizations. ofproto: Break actions out of rule into new rule_actions structure. ofproto: Add a ref_count to "struct rule" to protect it from being freed. lib/ofp-actions.c | 24 +++ lib/ofp-actions.h | 1 + ofproto/connmgr.c | 4 +- ofproto/ofproto-dpif-upcall.c | 2 +- ofproto/ofproto-dpif-xlate.c | 32 ++-- ofproto/ofproto-dpif.c | 126 ++++--------- ofproto/ofproto-dpif.h | 16 +- ofproto/ofproto-provider.h | 33 +++- ofproto/ofproto.c | 420 +++++++++++++++++++++++------------------ 9 files changed, 357 insertions(+), 301 deletions(-) -- 1.7.10.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev