diff mbox

[ovs-dev,v3,08/11] dpif-netdev: Document locking discipline for non_pmd_mutex.

Message ID 1458081003-82542-9-git-send-email-diproiettod@vmware.com
State Superseded, archived
Headers show

Commit Message

Daniele Di Proietto March 15, 2016, 10:30 p.m. UTC
This just documents what the current code already assumes.

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
---
 lib/dpif-netdev.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
index 0268b9b..597e1d7 100644
--- a/lib/dpif-netdev.c
+++ b/lib/dpif-netdev.c
@@ -184,6 +184,7 @@  static bool dpcls_lookup(const struct dpcls *cls,
  * Acquisition order is, from outermost to innermost:
  *
  *    dp_netdev_mutex (global)
+ *    non_pmd_mutex
  *    port_mutex
  */
 struct dp_netdev {