This series of patches implements the multi-threading bfd/cfm in
ofproto-dpif-monitor module.  This module is in charge of the
execution of periodic functions (like bfd_run, cfm_run,
bfd_send_packets).

Rebase to the current master.

Alex Wang (6):
  ofproto-dpif: Move send_packet() to ofproto-dpif-xlate module.
  ofproto-dpif: Make stats update thread safe.
  tests: Remove the unit test for "ovs-appctl coverage/show".
  timeval: Wake up all threads when time is warped.
  ofproto-dpif-monitor: Add ofproto-dpif-monitor module.
  ofproto-dpif-monitor: Run ofproto-dpif-monitor in a thread.

 lib/poll-loop.c                |    5 +
 lib/timeval.c                  |   28 +++++
 lib/timeval.h                  |    2 +
 ofproto/automake.mk            |    2 +
 ofproto/ofproto-dpif-monitor.c |  241 ++++++++++++++++++++++++++++++++++++++++
 ofproto/ofproto-dpif-monitor.h |   30 +++++
 ofproto/ofproto-dpif-xlate.c   |   90 ++++++++++++++-
 ofproto/ofproto-dpif-xlate.h   |    4 +
 ofproto/ofproto-dpif.c         |  122 ++++----------------
 ofproto/ofproto-dpif.h         |    1 +
 tests/bfd.at                   |   59 ++++++----
 tests/ofproto-dpif.at          |   92 +++++++++------
 12 files changed, 513 insertions(+), 163 deletions(-)
 create mode 100644 ofproto/ofproto-dpif-monitor.c
 create mode 100644 ofproto/ofproto-dpif-monitor.h

-- 
1.7.9.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to