]> git.proxmox.com Git - mirror_ovs.git/commitdiff
datapath-windows: Add define for last module number
authorShashank Ram <rams@vmware.com>
Mon, 19 Sep 2016 23:16:02 +0000 (16:16 -0700)
committerGurucharan Shetty <guru@ovn.org>
Tue, 20 Sep 2016 14:39:19 +0000 (07:39 -0700)
Adds a define for the last defined module number.

Signed-off-by: Shashank Ram <rams@vmware.com>
Acked-by: Sairam Venugopal <vsairam@vmware.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
AUTHORS
datapath-windows/ovsext/Debug.c
datapath-windows/ovsext/Debug.h

diff --git a/AUTHORS b/AUTHORS
index 21ca73a95d89cb11a1482f2a75d0b8549cc96952..335f79b1f13d1d4ec3c27016c0647de30243f069 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -219,6 +219,7 @@ Scott Mann              sdmnix@gmail.com
 Selvamuthukumar         smkumar@merunetworks.com
 Shad Ansari             shad.ansari@hpe.com
 Shan Wei                davidshan@tencent.com
+Shashank Ram            rams@vmware.com
 Shashwat Srivastava     shashwat.srivastava@tcs.com
 Shih-Hao Li             shli@nicira.com
 Shu Shen                shu.shen@radisys.com
index a96d38d405e0bd469431fcff1ec6a6465e5b8719..c3d14ae54478f7ad0b32282d80bf95c6ae546161 100644 (file)
@@ -25,6 +25,7 @@
 
 UINT32  ovsLogFlags = 0xffffffff;
 UINT32  ovsLogLevel = OVS_DBG_DEFAULT;
+BUILD_ASSERT(OVS_DBG_LAST < 31); /* 'ovsLogLevel' is 32 bits. */
 
 #define OVS_LOG_BUFFER_SIZE 384
 
index 935f8584a8324c0bc0d6eef6b328be6b93d0139b..cae6ac961af05259cad90911b1a9643e077e5967 100644 (file)
@@ -43,8 +43,8 @@
 #define OVS_DBG_CONTRK   BIT32(23)
 #define OVS_DBG_GENEVE   BIT32(24)
 
-#define OVS_DBG_RESERVED BIT32(31)
-//Please add above OVS_DBG_RESERVED.
+#define OVS_DBG_LAST     24  /* Set this to the last defined module number. */
+/* Please add above OVS_DBG_LAST. */
 
 #define OVS_DBG_ERROR    DPFLTR_ERROR_LEVEL
 #define OVS_DBG_WARN     DPFLTR_WARNING_LEVEL