[ovs-git] Open vSwitch: ofproto-dpif-upcall: Remove the flow_dumper thread. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Apr 24 05:03:00 UTC 2014

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  7d1700980b5dcf98003fdceb821d7967fad99786 (commit)
      from  96be8de5951502c4d23f80529f4b8785aaf94f04 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7d1700980b5dcf98003fdceb821d7967fad99786
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=7d1700980b5dcf98003fdceb821d7967fad99786
Author: Ethan Jackson <ethan at nicira.com>
ofproto-dpif-upcall: Remove the flow_dumper thread.
Previously, we had a separate flow_dumper thread that fetched flows from
the datapath to distribute to revalidator threads. This patch takes the
logic for dumping and pushes it into the revalidator threads, resulting
in simpler code with similar performance to the current code.

One thread, the "leader", is responsible for beginning and ending each
flow dump, maintaining the flow_limit, and checking whether the
revalidator threads need to exit. All revalidator threads dump,
revalidate, delete datapath flows and garbage collect ukeys.

Co-authored-by: Joe Stringer <joestringer at nicira.com>
Signed-off-by: Joe Stringer <joestringer at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


Summary of changes:
 ofproto/ofproto-dpif-upcall.c |  687 ++++++++++++++++++++---------------------
 tests/ofproto-dpif.at         |    8 +-
 2 files changed, 332 insertions(+), 363 deletions(-)

Open vSwitch

More information about the git mailing list