[ofw] [IPoIB_NDIS6_CM] [Patch 2/3] Improper IPoIB behavior during simultaneous sends on both sides

Alex Naslednikov xalex at mellanox.co.il
Tue Nov 9 09:22:09 PST 2010


Signed-off by: Alexander Naslednikov (xalex at mellanox.co.il)

Index: ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp
===================================================================
--- ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp	(revision 2984)
+++ ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp	(working copy)
@@ -4284,8 +4284,10 @@
 			status = __send_copy( s_buf->p_port, s_buf, lso_header_size );
 			cl_perf_stop( &s_buf->p_port->p_adapter->perf, SendCopy );
 		}
-
-		status = NDIS_STATUS_RESOURCES;
+		else 
+		{
+			status = NDIS_STATUS_RESOURCES;
+		}
 		IPOIB_EXIT( IPOIB_DBG_SEND );
 		return status;
 	}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: large_send_2.patch
Type: application/octet-stream
Size: 559 bytes
Desc: large_send_2.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20101109/d1ad49be/attachment.obj>


More information about the ofw mailing list