[ofw] [PATCH] Identify IPoIB mode in System event log
Smith, Stan
stan.smith at intel.com
Thu Oct 6 08:55:35 PDT 2011
Write a system Event log entry identifying IPoIB operational mode as Connected or User Datagram.
Signed-off-by: stan smith <stan.smith at intel.com>
--- trunk/ulp/ipoib/kernel/ipoib_driver.cpp Thu Oct 06 08:49:21 2011
+++ trunk/ulp/ipoib/kernel/ipoib_driver.cpp Wed Oct 05 14:35:10 2011 (working version)
@@ -736,6 +736,10 @@
}
#endif
+ NdisWriteErrorLogEntry( p_adapter->h_adapter,
+ (p_adapter->params.cm_enabled ?
+ EVENT_IPOIB_MODE_CM : EVENT_IPOIB_MODE_UD), 1, 0 );
+
if (p_adapter->params.lso) {
if (!p_adapter->params.LsoV1IPv4 &&
!p_adapter->params.LsoV2IPv4 &&
--- trunk/ulp/ipoib/kernel/ipoib_log.mc Thu Oct 06 08:50:03 2011
+++ trunk/ulp/ipoib/kernel/ipoib_log.mc Wed Oct 05 14:35:34 2011 (working version)
@@ -379,3 +379,18 @@
%2: CM Enabled, LSO disabled.
.
+MessageId=0x0064
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_MODE_CM
+Language=English
+%2: Connected Mode Enabled.
+.
+
+MessageId=0x0065
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_MODE_UD
+Language=English
+%2: User Datagram Mode Enabled.
+.
More information about the ofw
mailing list