[ovs-dev] [dpif 0/5] make dpif library thread-safe

Ben Pfaff blp at nicira.com
Wed Jul 24 00:07:46 UTC 2013


This series makes the dpif library thread-safe.  I have not checked
yet whether the netdev library, which is not yet thread-safe, screws
up this property of the dpif changes yet.

Ben Pfaff (5):
  ovs-thread: Add wrappers for "destroy" functions too.
  dpif-linux: Make port change notification thread-safe.
  dpif-linux: Make use of channels thread-safe.
  dpif-netdev: Make internally thread-safe by introducing a global
    mutex.
  dpif: Make dpifs thread-safe, and document it.

 lib/dpif-linux.c  |  277 +++++++++++++++++++++++++++++++++--------------------
 lib/dpif-netdev.c |  203 +++++++++++++++++++++++++++++----------
 lib/dpif.c        |  108 ++++++++++++++++-----
 lib/ovs-thread.c  |    3 +
 lib/ovs-thread.h  |    3 +
 5 files changed, 410 insertions(+), 184 deletions(-)

-- 
1.7.2.5




More information about the dev mailing list