[Openib-windows] [PATCH] IPoIB ids
Yossi Leybovich
sleybo at mellanox.co.il
Wed Sep 20 06:47:54 PDT 2006
Fab
Can you pls explain what L"IBA\\SID_1000066a00020000\0\0" as
IPOIB_COMPAT_ID stand for ?
This patch convert the guid we report as unique id to host order so we
can
easily know which of the ports guids this IPoIB connect to.
Sign-off-by : Yossi Leybovich (sleybo at mellanox.co.il)
Index: bus_port_mgr.c
===================================================================
--- bus_port_mgr.c (revision 1706)
+++ bus_port_mgr.c (working copy)
@@ -943,7 +943,7 @@
return STATUS_NO_MEMORY;
}
- status = RtlStringCchPrintfW( p_string, 17, L"%016I64x",
p_ext->port_guid );
+ status = RtlStringCchPrintfW( p_string, 17, L"%016I64x",
cl_ntoh(p_ext->port_guid ));
if( !NT_SUCCESS( status ) )
{
CL_ASSERT( NT_SUCCESS( status ) );
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipoib_dev_id.patch
Type: application/octet-stream
Size: 465 bytes
Desc: ipoib_dev_id.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20060920/62760fb7/attachment.obj>
More information about the ofw
mailing list