[Openib-windows] [PATCH] ipoib event log

Yossi Leybovich sleybo at mellanox.co.il
Mon Dec 19 09:03:37 PST 2005


Fab
 
as you requested this patch provide the link speed 
(it also add support to teh different link speeds in IBAL)

I will (or you can as well) add more messeges in case of errors.

10x
Yossi 
 
singed-off-by: Yossi Leybovich (sleybo at mellanox.co.il)
 
Index: inc/iba/ib_types.h
===================================================================
--- inc/iba/ib_types.h (revision 830)
+++ inc/iba/ib_types.h (working copy)
@@ -3837,8 +3837,9 @@
 #define IB_PORT_MPB_SHIFT       6
 #define IB_PORT_LINK_SPEED_SHIFT     4
 #define IB_PORT_LINK_SPEED_SUPPORTED_MASK   0xF0
+#define IB_PORT_LINK_SPEED_ACTIVE_MASK       0xF0
+#define IB_PORT_LINK_SPEED_ENABLED_MASK      0x0F
 
-
 #define IB_PORT_CAP_RESV0   (CL_NTOH32(0x00000001))
 #define IB_PORT_CAP_IS_SM   (CL_NTOH32(0x00000002))
 #define IB_PORT_CAP_HAS_NOTICE  (CL_NTOH32(0x00000004))
@@ -4110,9 +4111,43 @@
 * SEE ALSO
 *********/
 
+/****f* IBA Base: Types/ib_port_info_get_link_speed_active
+* NAME
+* ib_port_info_get_link_speed_active
+*
+* DESCRIPTION
+* Returns the Link Speed Active value assigned to this port.
+*
+* SYNOPSIS
+*/
+AL_INLINE uint8_t    AL_API
+ib_port_info_get_link_speed_active(
+ IN  const ib_port_info_t* const  p_pi )
+{
+  return( (uint8_t)((p_pi->link_speed &
+                     IB_PORT_LINK_SPEED_ACTIVE_MASK) >>
+                    IB_PORT_LINK_SPEED_SHIFT) );
+}
+/*
+* PARAMETERS
+* p_pi
+*  [in] Pointer to a PortInfo attribute.
+*
+* RETURN VALUES
+* Returns the link speed active value assigned to this port.
+*
+* NOTES
+*
+* SEE ALSO
+*********/
+
+
 #define IB_LINK_WIDTH_ACTIVE_1X   1
 #define IB_LINK_WIDTH_ACTIVE_4X   2
 #define IB_LINK_WIDTH_ACTIVE_12X  8
+#define IB_LINK_SPEED_ACTIVE_2_5       1
+#define IB_LINK_SPEED_ACTIVE_5         2
+#define IB_LINK_SPEED_ACTIVE_10        4
 
 #define IB_PATH_RECORD_RATE_2_5_GBS  2
 #define IB_PATH_RECORD_RATE_10_GBS  3
Index: ulp/ipoib/kernel/ipoib.rc
===================================================================
--- ulp/ipoib/kernel/ipoib.rc (revision 830)
+++ ulp/ipoib/kernel/ipoib.rc (working copy)
@@ -45,3 +45,4 @@
 #define VER_ORIGINALFILENAME_STR "ipoib.sys"
 
 #include <common.ver>
+#include "ipoib_log.rc"
Index: ulp/ipoib/kernel/ipoib_adapter.c
===================================================================
--- ulp/ipoib/kernel/ipoib_adapter.c (revision 830)
+++ ulp/ipoib/kernel/ipoib_adapter.c (working copy)
@@ -806,27 +806,50 @@
 void
 ipoib_set_rate(
  IN    ipoib_adapter_t* const  p_adapter,
- IN  const uint8_t      link_width )
+ IN  const uint8_t      link_width, 
+ IN  const uint8_t      link_speed)
 {
  IPOIB_ENTER( IPOIB_DBG_INIT );
 
  cl_obj_lock( &p_adapter->obj );
  /* Set the link speed based on the IB link speed (1x vs 4x, etc). */
+ IPOIB_TRACE( IPOIB_DBG_INFO, ("Link speed is %d\n",link_speed) );
+ switch( link_speed )
+ {
+ case IB_LINK_SPEED_ACTIVE_2_5:
+  IPOIB_TRACE( IPOIB_DBG_INFO, ("Link speed is 2.5Gs\n") );
+  p_adapter->rate = IB_LINK_SPEED_ACTIVE_2_5;
+  break;
+
+ case IB_LINK_SPEED_ACTIVE_5:
+  IPOIB_TRACE( IPOIB_DBG_INFO, ("Link speed is 5G\n") );
+  p_adapter->rate = IB_LINK_SPEED_ACTIVE_5;
+  break;
+
+ case IB_LINK_SPEED_ACTIVE_10:
+  IPOIB_TRACE( IPOIB_DBG_INFO, ("Link speed is 10G\n") );
+  p_adapter->rate = IB_LINK_SPEED_ACTIVE_10;
+  break;
+
+ default:
+  IPOIB_TRACE( IPOIB_DBG_INFO, ("Invalid rate.\n") );
+  p_adapter->rate = 0;
+ }
  switch( link_width )
  {
  case IB_LINK_WIDTH_ACTIVE_1X:
-  IPOIB_TRACE( IPOIB_DBG_INFO, ("Link speed is 2.5Gbps\n") );
-  p_adapter->rate = ONE_X_IN_100BPS;
+  IPOIB_TRACE( IPOIB_DBG_INFO, ("Link width is 1X\n") );
+  p_adapter->rate = p_adapter->rate * ONE_X_IN_100BPS;
   break;
 
  case IB_LINK_WIDTH_ACTIVE_4X:
-  IPOIB_TRACE( IPOIB_DBG_INFO, ("Link speed is 10Gbps\n") );
-  p_adapter->rate = FOUR_X_IN_100BPS;
+  IPOIB_TRACE( IPOIB_DBG_INFO, ("Link width is 4X\n") );
+  p_adapter->rate = p_adapter->rate * FOUR_X_IN_100BPS;
   break;
 
  case IB_LINK_WIDTH_ACTIVE_12X:
-  IPOIB_TRACE( IPOIB_DBG_INFO, ("Link speed is 30Gbps\n") );
-  p_adapter->rate = TWELVE_X_IN_100BPS;
+  IPOIB_TRACE( IPOIB_DBG_INFO, ("Link width is 12X\n") );
+  p_adapter->rate = p_adapter->rate * TWELVE_X_IN_100BPS;
   break;
 
  default:
@@ -834,7 +857,7 @@
   p_adapter->rate = 0;
  }
  cl_obj_unlock( &p_adapter->obj );
-
+IPOIB_TRACE( IPOIB_DBG_INFO, (" rate.is %d \n",p_adapter->rate) );
  IPOIB_EXIT( IPOIB_DBG_INIT );
 }
 
@@ -883,6 +906,11 @@
 
   /* Now that we're in the broadcast group, notify that we have a link.
*/
   IPOIB_TRACE( IPOIB_DBG_INFO, ("Link UP!\n") );
+   NdisWriteErrorLogEntry(
+     p_adapter->h_adapter,
+     EVENT_IPOIB_PORT_UP+ (p_adapter->rate/ONE_X_IN_100BPS),
+     1,p_adapter->rate);
+ 
   NdisMIndicateStatus( p_adapter->h_adapter, NDIS_STATUS_MEDIA_CONNECT,
    NULL, 0 );
   NdisMIndicateStatusComplete( p_adapter->h_adapter );
Index: ulp/ipoib/kernel/ipoib_adapter.h
===================================================================
--- ulp/ipoib/kernel/ipoib_adapter.h (revision 830)
+++ ulp/ipoib/kernel/ipoib_adapter.h (working copy)
@@ -383,9 +383,9 @@
 void
 ipoib_set_rate(
  IN    ipoib_adapter_t* const  p_adapter,
- IN  const uint8_t      rate );
+ IN  const uint8_t      link_width,
+ IN  const uint8_t      link_speed );
 
-
 void
 ipoib_set_active(
  IN    ipoib_adapter_t* const  p_adapter );
Index: ulp/ipoib/kernel/ipoib_driver.c
===================================================================
--- ulp/ipoib/kernel/ipoib_driver.c (revision 830)
+++ ulp/ipoib/kernel/ipoib_driver.c (working copy)
@@ -634,11 +634,24 @@
  ib_status = ipoib_start_adapter( p_adapter );
  if( ib_status != IB_SUCCESS )
  {
+  NdisWriteErrorLogEntry(
+   h_adapter,
+   NDIS_ERROR_CODE_HARDWARE_FAILURE,
+   0);
   ipoib_destroy_adapter( p_adapter );
   IPOIB_TRACE_EXIT( IPOIB_DBG_ERROR,
    ("ipoib_start_adapter returned status %d.\n", ib_status ) );
   return NDIS_STATUS_FAILURE;
  }
+ else
+ {
+  NdisWriteErrorLogEntry(
+   h_adapter,
+   EVENT_IPOIB_INIT_SUCCESS,
+   0);
+  
+ }
+ 
 
  ipoib_ref_ibat();
 
Index: ulp/ipoib/kernel/ipoib_driver.h
===================================================================
--- ulp/ipoib/kernel/ipoib_driver.h (revision 830)
+++ ulp/ipoib/kernel/ipoib_driver.h (working copy)
@@ -33,7 +33,7 @@
 #ifndef _IPOIB_DRIVER_H_
 #define _IPOIB_DRIVER_H_
 
-
+#include "ipoib_log.h"
 #include "ipoib_adapter.h"
 #include <complib/cl_spinlock.h>
 #include <complib/cl_qlist.h>
Index: ulp/ipoib/kernel/ipoib_log.mc
===================================================================
--- ulp/ipoib/kernel/ipoib_log.mc (revision 0)
+++ ulp/ipoib/kernel/ipoib_log.mc (revision 0)
@@ -0,0 +1,524 @@
+;/*++
+;======================================================================
==============
+;Copyright (c) 2001 Mellanox Technologies
+;
+;Module Name:
+;
+;    ipoiblog.mc
+;
+;Abstract:
+;
+;    IPoIB Driver event log messages
+;
+;Authors:
+;
+;    Yossi Leybovich
+;
+;Environment:
+;
+;   Kernel Mode .
+;
+;======================================================================
===============
+;--*/
+;
+MessageIdTypedef = NDIS_ERROR_CODE
+
+SeverityNames = (
+ Success    = 0x0:STATUS_SEVERITY_SUCCESS
+ Informational = 0x1:STATUS_SEVERITY_INFORMATIONAL
+ Warning    = 0x2:STATUS_SEVERITY_WARNING
+ Error    = 0x3:STATUS_SEVERITY_ERROR
+ )
+
+FacilityNames = (
+ System  = 0x0
+ RpcRuntime = 0x2:FACILITY_RPC_RUNTIME
+ RpcStubs = 0x3:FACILITY_RPC_STUBS
+ Io   = 0x4:FACILITY_IO_ERROR_CODE
+ IPoIB   = 0x7:FACILITY_IPOIB_ERROR_CODE
+ )
+
+
+MessageId=0x0001
+Facility=IPoIB
+Severity=Warning
+SymbolicName=EVENT_IPOIB_PORT_DOWN
+Language=English
+%2: Network controller link is down.
+.
+
+MessageId=0x0002
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP
+Language=English
+%2: Network controller link is up 2.5Gbps .
+.
+
+
+MessageId=0x0003
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP1
+Language=English
+%2: Network controller link is up 2.5Gbps .
+.
+
+MessageId=0x0004
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP2
+Language=English
+%2: Network controller link is up 5Gbps .
+.
+
+MessageId=0x0006
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP3
+Language=English
+%2: Network controller link is up 10Gbps .
+.
+
+MessageId=0x000a
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP4
+Language=English
+%2: Network controller link is up 20Gps.
+.
+
+MessageId=0x000e
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP5
+Language=English
+%2: Network controller link is up 30Gps .
+.
+
+MessageId=0x0012
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP6
+Language=English
+%2: Network controller link is up 40Gps .
+.
+
+MessageId=0x001a
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP7
+Language=English
+%2: Network controller link is up 60Gps .
+.
+
+MessageId=0x0032
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP8
+Language=English
+%2: Network controller link is up 120Gps .
+.
+
+MessageId=0x0040
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_INIT_SUCCESS
+Language=English
+%2: Driver Initialized succesfully.
+.
+
+
+;/*++
+;======================================================================
==============
+;Copyright (c) 2001 Mellanox Technologies
+;
+;Module Name:
+;
+;    ipoiblog.mc
+;
+;Abstract:
+;
+;    IPoIB Driver event log messages
+;
+;Authors:
+;
+;    Yossi Leybovich
+;
+;Environment:
+;
+;   Kernel Mode .
+;
+;======================================================================
===============
+;--*/
+;
+MessageIdTypedef = NDIS_ERROR_CODE
+
+SeverityNames = (
+ Success    = 0x0:STATUS_SEVERITY_SUCCESS
+ Informational = 0x1:STATUS_SEVERITY_INFORMATIONAL
+ Warning    = 0x2:STATUS_SEVERITY_WARNING
+ Error    = 0x3:STATUS_SEVERITY_ERROR
+ )
+
+FacilityNames = (
+ System  = 0x0
+ RpcRuntime = 0x2:FACILITY_RPC_RUNTIME
+ RpcStubs = 0x3:FACILITY_RPC_STUBS
+ Io   = 0x4:FACILITY_IO_ERROR_CODE
+ IPoIB   = 0x7:FACILITY_IPOIB_ERROR_CODE
+ )
+
+
+MessageId=0x0001
+Facility=IPoIB
+Severity=Warning
+SymbolicName=EVENT_IPOIB_PORT_DOWN
+Language=English
+%2: Network controller link is down.
+.
+
+MessageId=0x0002
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP
+Language=English
+%2: Network controller link is up 2.5Gbps .
+.
+
+
+MessageId=0x0003
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP1
+Language=English
+%2: Network controller link is up 2.5Gbps .
+.
+
+MessageId=0x0004
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP2
+Language=English
+%2: Network controller link is up 5Gbps .
+.
+
+MessageId=0x0006
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP3
+Language=English
+%2: Network controller link is up 10Gbps .
+.
+
+MessageId=0x000a
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP4
+Language=English
+%2: Network controller link is up 20Gps.
+.
+
+MessageId=0x000e
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP5
+Language=English
+%2: Network controller link is up 30Gps .
+.
+
+MessageId=0x0012
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP6
+Language=English
+%2: Network controller link is up 40Gps .
+.
+
+MessageId=0x001a
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP7
+Language=English
+%2: Network controller link is up 60Gps .
+.
+
+MessageId=0x0032
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP8
+Language=English
+%2: Network controller link is up 120Gps .
+.
+
+MessageId=0x0040
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_INIT_SUCCESS
+Language=English
+%2: Driver Initialized succesfully.
+.
+
+
+;/*++
+;======================================================================
==============
+;Copyright (c) 2001 Mellanox Technologies
+;
+;Module Name:
+;
+;    ipoiblog.mc
+;
+;Abstract:
+;
+;    IPoIB Driver event log messages
+;
+;Authors:
+;
+;    Yossi Leybovich
+;
+;Environment:
+;
+;   Kernel Mode .
+;
+;======================================================================
===============
+;--*/
+;
+MessageIdTypedef = NDIS_ERROR_CODE
+
+SeverityNames = (
+ Success    = 0x0:STATUS_SEVERITY_SUCCESS
+ Informational = 0x1:STATUS_SEVERITY_INFORMATIONAL
+ Warning    = 0x2:STATUS_SEVERITY_WARNING
+ Error    = 0x3:STATUS_SEVERITY_ERROR
+ )
+
+FacilityNames = (
+ System  = 0x0
+ RpcRuntime = 0x2:FACILITY_RPC_RUNTIME
+ RpcStubs = 0x3:FACILITY_RPC_STUBS
+ Io   = 0x4:FACILITY_IO_ERROR_CODE
+ IPoIB   = 0x7:FACILITY_IPOIB_ERROR_CODE
+ )
+
+
+MessageId=0x0001
+Facility=IPoIB
+Severity=Warning
+SymbolicName=EVENT_IPOIB_PORT_DOWN
+Language=English
+%2: Network controller link is down.
+.
+
+MessageId=0x0002
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP
+Language=English
+%2: Network controller link is up 2.5Gbps .
+.
+
+
+MessageId=0x0003
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP1
+Language=English
+%2: Network controller link is up 2.5Gbps .
+.
+
+MessageId=0x0004
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP2
+Language=English
+%2: Network controller link is up 5Gbps .
+.
+
+MessageId=0x0006
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP3
+Language=English
+%2: Network controller link is up 10Gbps .
+.
+
+MessageId=0x000a
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP4
+Language=English
+%2: Network controller link is up 20Gps.
+.
+
+MessageId=0x000e
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP5
+Language=English
+%2: Network controller link is up 30Gps .
+.
+
+MessageId=0x0012
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP6
+Language=English
+%2: Network controller link is up 40Gps .
+.
+
+MessageId=0x001a
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP7
+Language=English
+%2: Network controller link is up 60Gps .
+.
+
+MessageId=0x0032
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP8
+Language=English
+%2: Network controller link is up 120Gps .
+.
+
+MessageId=0x0040
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_INIT_SUCCESS
+Language=English
+%2: Driver Initialized succesfully.
+.
+
+
+;/*++
+;======================================================================
==============
+;Copyright (c) 2001 Mellanox Technologies
+;
+;Module Name:
+;
+;    ipoiblog.mc
+;
+;Abstract:
+;
+;    IPoIB Driver event log messages
+;
+;Authors:
+;
+;    Yossi Leybovich
+;
+;Environment:
+;
+;   Kernel Mode .
+;
+;======================================================================
===============
+;--*/
+;
+MessageIdTypedef = NDIS_ERROR_CODE
+
+SeverityNames = (
+ Success    = 0x0:STATUS_SEVERITY_SUCCESS
+ Informational = 0x1:STATUS_SEVERITY_INFORMATIONAL
+ Warning    = 0x2:STATUS_SEVERITY_WARNING
+ Error    = 0x3:STATUS_SEVERITY_ERROR
+ )
+
+FacilityNames = (
+ System  = 0x0
+ RpcRuntime = 0x2:FACILITY_RPC_RUNTIME
+ RpcStubs = 0x3:FACILITY_RPC_STUBS
+ Io   = 0x4:FACILITY_IO_ERROR_CODE
+ IPoIB   = 0x7:FACILITY_IPOIB_ERROR_CODE
+ )
+
+
+MessageId=0x0001
+Facility=IPoIB
+Severity=Warning
+SymbolicName=EVENT_IPOIB_PORT_DOWN
+Language=English
+%2: Network controller link is down.
+.
+
+MessageId=0x0002
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP
+Language=English
+%2: Network controller link is up 2.5Gbps .
+.
+
+
+MessageId=0x0003
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP1
+Language=English
+%2: Network controller link is up 2.5Gbps .
+.
+
+MessageId=0x0004
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP2
+Language=English
+%2: Network controller link is up 5Gbps .
+.
+
+MessageId=0x0006
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP3
+Language=English
+%2: Network controller link is up 10Gbps .
+.
+
+MessageId=0x000a
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP4
+Language=English
+%2: Network controller link is up 20Gps.
+.
+
+MessageId=0x000e
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP5
+Language=English
+%2: Network controller link is up 30Gps .
+.
+
+MessageId=0x0012
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP6
+Language=English
+%2: Network controller link is up 40Gps .
+.
+
+MessageId=0x001a
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP7
+Language=English
+%2: Network controller link is up 60Gps .
+.
+
+MessageId=0x0032
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_PORT_UP8
+Language=English
+%2: Network controller link is up 120Gps .
+.
+
+MessageId=0x0040
+Facility=IPoIB
+Severity=Informational
+SymbolicName=EVENT_IPOIB_INIT_SUCCESS
+Language=English
+%2: Driver Initialized succesfully.
+.
+
+
Index: ulp/ipoib/kernel/ipoib_port.c
===================================================================
--- ulp/ipoib/kernel/ipoib_port.c (revision 830)
+++ ulp/ipoib/kernel/ipoib_port.c (working copy)
@@ -4436,7 +4436,8 @@
     ("Received port info: link width = %d.\n",
     p_port_rec->port_info.link_width_active) );
    ipoib_set_rate( p_port->p_adapter,
-    p_port_rec->port_info.link_width_active );
+    p_port_rec->port_info.link_width_active,
+    ib_port_info_get_link_speed_active(&p_port_rec->port_info));
    __port_get_mcast( p_port );
   }
   else
@@ -4724,7 +4725,10 @@
  /* Mark our state.  This causes all callbacks to abort. */
  cl_obj_lock( &p_port->obj );
  p_port->state = IB_QPS_ERROR;
-
+  NdisWriteErrorLogEntry(
+   p_port->p_adapter->h_adapter,
+   EVENT_IPOIB_PORT_DOWN,
+   0);
  if( p_port->ib_mgr.h_query )
  {
   p_port->p_adapter->p_ifc->cancel_query( p_port->p_adapter->h_al,
p_port->ib_mgr.h_query );
Index: ulp/ipoib/kernel/netipoib.inf
===================================================================
--- ulp/ipoib/kernel/netipoib.inf (revision 830)
+++ ulp/ipoib/kernel/netipoib.inf (working copy)
@@ -141,7 +141,7 @@
 AddReg = IpoibAddEventLogReg
 
 [IpoibAddEventLogReg]
-HKR, , EventMessageFile, 0x00020000,
"%%SystemRoot%%\System32\netevent.dll"
+HKR, , EventMessageFile, 0x00020000,
"%%SystemRoot%%\System32\netevent.dll";"%%SystemRoot%%\System32\drivers\
ipoib.sys"
 HKR, , TypesSupported,   0x00010001, 7
 
 
Index: ulp/ipoib/kernel/SOURCES
===================================================================
--- ulp/ipoib/kernel/SOURCES (revision 830)
+++ ulp/ipoib/kernel/SOURCES (working copy)
@@ -2,7 +2,8 @@
 TARGETPATH=..\..\..\bin\kernel\obj$(BUILD_ALT_DIR)
 TARGETTYPE=DRIVER
 
-SOURCES= ipoib.rc \
+SOURCES=  ipoib_log.mc \
+  ipoib.rc \
   ipoib_driver.c \
   ipoib_adapter.c \
   ipoib_endpoint.c \

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipoib_eventlog.patch
Type: application/octet-stream
Size: 19397 bytes
Desc: ipoib_eventlog.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20051219/fac1ac1b/attachment.obj>


More information about the ofw mailing list