Bugfix:
In a case when SG num is greater than HW can support, IPoIB switches to 'send_copy' flow, but this situation is normal for UD flow
But send_gen(), when falling to 'send_copy' flow, sets the status to NDIS_STATUS_RESOURCES both for CM and UD flow.
[MLNX 2.3.0.6796]
git-svn-id: svn://openib.tc.cornell.edu/gen1@2986
ad392aa1-c5ef-ae45-8dd8-
e69d62a5ef86
status = __send_copy( s_buf->p_port, s_buf, lso_header_size );\r
cl_perf_stop( &s_buf->p_port->p_adapter->perf, SendCopy );\r
}\r
-\r
- status = NDIS_STATUS_RESOURCES;\r
+ else \r
+ {\r
+ status = NDIS_STATUS_RESOURCES;\r
+ }\r
IPOIB_EXIT( IPOIB_DBG_SEND );\r
return status;\r
}\r