[ofw] [PATCH] add debug flags

Smith, Stan stan.smith at intel.com
Tue Jan 4 16:35:52 PST 2011


Add more debug flags for finer control of debug output.
Align line continuation chars.

signed-off-by: stan smith <stan.smith at intel.com>

--- A/ulp/ipoib_NDIS6_CM/kernel/ipoib_debug.h   Tue Jan 04 16:28:47 2011
+++ B/ulp/ipoib_NDIS6_CM/kernel/ipoib_debug.h   Tue Jan 04 16:29:40 2011
@@ -59,22 +59,30 @@
 #define WPP_CONTROL_GUIDS \
        WPP_DEFINE_CONTROL_GUID( \
                IPOIBCtlGuid,(3F9BC73D, EB03, 453a, B27B, 20F9A664211A), \
-       WPP_DEFINE_BIT(IPOIB_DBG_ERROR) \
-       WPP_DEFINE_BIT(IPOIB_DBG_INIT) \
-       WPP_DEFINE_BIT(IPOIB_DBG_PNP) \
-       WPP_DEFINE_BIT(IPOIB_DBG_SEND) \
-       WPP_DEFINE_BIT(IPOIB_DBG_RECV) \
-       WPP_DEFINE_BIT(IPOIB_DBG_ENDPT) \
-       WPP_DEFINE_BIT(IPOIB_DBG_IB) \
-       WPP_DEFINE_BIT(IPOIB_DBG_BUF) \
-       WPP_DEFINE_BIT(IPOIB_DBG_MCAST) \
-       WPP_DEFINE_BIT(IPOIB_DBG_ALLOC) \
-       WPP_DEFINE_BIT(IPOIB_DBG_OID) \
-       WPP_DEFINE_BIT(IPOIB_DBG_IOCTL) \
-       WPP_DEFINE_BIT(IPOIB_DBG_STAT) \
-       WPP_DEFINE_BIT(IPOIB_DBG_OBJ) \
-       WPP_DEFINE_BIT(IPOIB_DBG_SHUTTER) \
-       WPP_DEFINE_BIT(IPOIB_DBG_ALL) \
+       WPP_DEFINE_BIT(IPOIB_DBG_ERROR) \
+       WPP_DEFINE_BIT(IPOIB_DBG_INIT)  \
+       WPP_DEFINE_BIT(IPOIB_DBG_PNP)           \
+       WPP_DEFINE_BIT(IPOIB_DBG_SEND)  \
+       WPP_DEFINE_BIT(IPOIB_DBG_RECV)  \
+       WPP_DEFINE_BIT(IPOIB_DBG_ENDPT) \
+       WPP_DEFINE_BIT(IPOIB_DBG_IB)            \
+       WPP_DEFINE_BIT(IPOIB_DBG_BUF)           \
+       WPP_DEFINE_BIT(IPOIB_DBG_MCAST) \
+       WPP_DEFINE_BIT(IPOIB_DBG_ALLOC) \
+       WPP_DEFINE_BIT(IPOIB_DBG_OID)           \
+       WPP_DEFINE_BIT(IPOIB_DBG_IOCTL) \
+       WPP_DEFINE_BIT(IPOIB_DBG_STAT)  \
+       WPP_DEFINE_BIT(IPOIB_DBG_OBJ)           \
+       WPP_DEFINE_BIT(IPOIB_DBG_SHUTTER)       \
+       WPP_DEFINE_BIT(IPOIB_DBG_ALL)           \
+       WPP_DEFINE_BIT(IPOIB_DBG_ARP)           \
+       WPP_DEFINE_BIT(IPOIB_DBG_FRAG)  \
+       WPP_DEFINE_BIT(IPOIB_DBG_IPV6)  \
+       WPP_DEFINE_BIT(IPOIB_DBG_CM)            \
+       WPP_DEFINE_BIT(IPOIB_DBG_CM_RECV)       \
+       WPP_DEFINE_BIT(IPOIB_DBG_CM_SEND)       \
+       WPP_DEFINE_BIT(IPOIB_DBG_CM_CONN)       \
+       WPP_DEFINE_BIT(IPOIB_DBG_CM_DCONN)      \
        )


@@ -119,6 +127,14 @@
 #define IPOIB_DBG_STAT         (1 << 12)
 #define IPOIB_DBG_OBJ          (1 << 13)
 #define IPOIB_DBG_SHUTTER      (1 << 14)
+#define IPOIB_DBG_ARP          (1 << 15)
+#define IPOIB_DBG_FRAG         (1 << 16)
+#define IPOIB_DBG_IPV6         (1 << 17)
+#define IPOIB_DBG_CM           (1 << 18)
+#define IPOIB_DBG_CM_RECV      (1 << 19)
+#define IPOIB_DBG_CM_SEND      (1 << 20)
+#define IPOIB_DBG_CM_CONN      (1 << 21)
+#define IPOIB_DBG_CM_DCONN     (1 << 22)

 #define IPOIB_DBG_ERROR        (CL_DBG_ERROR | IPOIB_DBG_ERR)
 #define IPOIB_DBG_ALL  CL_DBG_ALL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipoib_debug.h.patch
Type: application/octet-stream
Size: 2291 bytes
Desc: ipoib_debug.h.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20110104/b3c2fb67/attachment.obj>


More information about the ofw mailing list