[ofw] patch: [vstat] Also print the node guid for the given port.

Tzachi Dar tzachid at mellanox.co.il
Mon Nov 22 04:19:12 PST 2010


Index: B:/users/tzachid/projinf5/trunk/tools/vstat/user/vstat_main.c
===================================================================
--- B:/users/tzachid/projinf5/trunk/tools/vstat/user/vstat_main.c           (revision 6888)
+++ B:/users/tzachid/projinf5/trunk/tools/vstat/user/vstat_main.c        (revision 6889)
@@ -306,6 +306,7 @@

 void printPortInfo(ib_port_attr_t* portPtr, ib_port_info_t portInfo, BOOLEAN fullPrint, BOOLEAN moreVerbose){
                printf("\t\tport=%d\n", portPtr->port_num);
+             printGUID("\t\tport_guid=", portPtr->port_guid);
                printPortLinkState(portPtr->link_state);
                if (moreVerbose) {
                                printPortRate(LINK_SPEED_SUPPORTED, portInfo.state_info1>>4, portInfo.link_width_supported, portPtr->link_state, moreVerbose);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20101122/9cfd6e46/attachment.html>


More information about the ofw mailing list