[ovs-dev] [PATCH 08/11] dpif-netdev: Document locking discipline for non_pmd_mutex.
Daniele Di Proietto
diproiettod at vmware.com
Sun Feb 28 20:13:20 UTC 2016
This just documents what the current code already assumes.
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
---
lib/dpif-netdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
index 2c11bd3..26daf08 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 {
--
2.1.4
More information about the dev
mailing list