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).

Alex Wang (5):
  ofproto-dpif: Move send_packet() to ofproto-dpif-xlate module.
  ofproto-dpif: Make stats update thread safe.
  timeval: Add time-warp sequence number.
  ofproto-dpif-monitor: Add ofproto-dpif-monitor module.
  ofproto-dpif-monitor: Run ofproto-dpif-monitor in a thread.

 lib/timeval.c                  |    8 ++
 lib/timeval.h                  |    3 +
 ofproto/automake.mk            |    2 +
 ofproto/ofproto-dpif-monitor.c |  265 ++++++++++++++++++++++++++++++++++++++++
 ofproto/ofproto-dpif-monitor.h |   30 +++++
 ofproto/ofproto-dpif-xlate.c   |   92 +++++++++++++-
 ofproto/ofproto-dpif-xlate.h   |    3 +
 ofproto/ofproto-dpif.c         |  119 +++---------------
 ofproto/ofproto-dpif.h         |    1 +
 tests/bfd.at                   |   59 +++++----
 tests/ofproto-dpif.at          |   58 +++++++++
 11 files changed, 513 insertions(+), 127 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