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

Smith, Stan stan.smith at intel.com
Tue Nov 9 09:38:43 PST 2010


Alex Naslednikov wrote:
> 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;
>       }

Yep, that's the bug.
Fix is clear.



More information about the ofw mailing list