[ofw] [patch][IPoIB_NDIS6_CM] Code restructure and comments

Alex Naslednikov xalex at mellanox.co.il
Sun Feb 6 05:12:06 PST 2011


Signed off by: Alexander Naslednikov (xalex at mellanox.co.il)
Index: B:/users/xalex/WoF-trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_driver.cpp
===================================================================
--- B:/users/xalex/WoF-trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_driver.cpp     (revision 3092)
+++ B:/users/xalex/WoF-trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_driver.cpp  (working copy)
@@ -2930,7 +2930,7 @@
 /*          Tear down the connection and start over again.                This is only called when there is a problem.
 For example, if a send, query info, or set info had a time out.  MiniportCheckForHang will
 be called first.
-IRQL = DISPATCH_LEVEL
+IRQL <= DISPATCH_LEVEL

 @param p_addr_resetPointer to BOOLLEAN that is set to TRUE if the NDIS
 library should call MiniportSetInformation to restore addressing information to the current values.
@@ -2951,7 +2951,8 @@
                p_adapter = (ipoib_adapter_t*)adapter_context;
                ++g_reset;

-              switch( ipoib_reset_adapter( p_adapter ) )
+             ib_api_status_t status = ipoib_reset_adapter( p_adapter );
+             switch( status )
                {
                case IB_NOT_DONE:
                                IPOIB_EXIT( IPOIB_DBG_INIT );
Alexander (XaleX) Naslednikov
SW Networking Team
Mellanox Technologies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20110206/1a4ce319/attachment.html>


More information about the ofw mailing list