The reason for [RFC] this series of patches is that I'm adding an ofproto-dpif-monitor.at for testing all monitor thread and bfd/cfm related features. But meanwhile, it would be really helpful if someone can give this series a review since the implementation is complete.
Thanks! Alex Wang (3): feature: Add ofproto-dpif-monitor module ofproto-dpif-monitor: Make ofproto-dpif-monitor thread safe. ofproto-dpif-monitor: Move ofproto-dpif-monitor module to a single thread. lib/timeval.c | 56 +++ lib/timeval.h | 3 + ofproto/automake.mk | 2 + ofproto/ofproto-dpif-monitor.c | 538 ++++++++++++++++++++++++++++ ofproto/ofproto-dpif-monitor.h | 65 ++++ ofproto/ofproto-dpif-xlate.c | 79 +++-- ofproto/ofproto-dpif-xlate.h | 5 +- ofproto/ofproto-dpif.c | 226 +++--------- ofproto/ofproto-dpif.h | 2 + tests/automake.mk | 2 - tests/bfd.at | 760 ---------------------------------------- tests/cfm.at | 57 --- tests/testsuite.at | 2 - 13 files changed, 781 insertions(+), 1016 deletions(-) create mode 100644 ofproto/ofproto-dpif-monitor.c create mode 100644 ofproto/ofproto-dpif-monitor.h delete mode 100644 tests/bfd.at delete mode 100644 tests/cfm.at -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev