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

Alex Naslednikov xalex at mellanox.co.il
Wed Nov 10 01:40:20 PST 2010


Applied at 2986.

-----Original Message-----
From: Alex Naslednikov 
Sent: Tuesday, November 09, 2010 7:22 PM
To: Alex Naslednikov; ofw at lists.openfabrics.org
Subject: [ofw] [IPoIB_NDIS6_CM] [Patch 2/3] Improper IPoIB behavior during simultaneous sends on both sides

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;
 	}



More information about the ofw mailing list