svn.commit 2804

Smith, Stan wrote:
> Skip the destination lid byte-order swap as it's already in the
> correct order for vendor IBAL.
>
> Permits 'osmtest -f f -s4' test to correctly complete.
>
> signed-off-by: stan smith <[email protected]>
>
> --- a/ulp/opensm/user/osmtest/osmtest.c       Thu May 20 12:34:59 2010
> +++ b/ulp/opensm/user/osmtest/osmtest.c       Thu May 20 12:36:33 2010
> @@ -2885,7 +2885,11 @@
>       memset(&context, 0, sizeof(context));
>
>       slid = cl_ntoh16(p_osmt->local_port.lid);
> +#ifdef OSM_VENDOR_INTF_AL
> +     dlid = p_osmt->local_port.sm_lid; // already in correct byte-order
> +#else
>       dlid = cl_ntoh16(p_osmt->local_port.sm_lid);
> +#endif
>
>       /*
>        * Do a blocking query for the PathRecord.

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to