[ofw] [PATCH] osmtest - bye order already set for vendor IBAL.
Smith, Stan
stan.smith at intel.com
Fri May 21 12:42:40 PDT 2010
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 <stan.smith at intel.com>
>
> --- 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.
More information about the ofw
mailing list