From e3aa4d251a110b74e86e1743c66150b4dd332edd Mon Sep 17 00:00:00 2001 From: Tzachi Dar Date: Tue, 23 Nov 2010 12:33:02 +0000 Subject: [PATCH] [vstat] Also print the node guid for the given port. git-svn-id: svn://openib.tc.cornell.edu/gen1@3001 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/tools/vstat/user/vstat_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/tools/vstat/user/vstat_main.c b/trunk/tools/vstat/user/vstat_main.c index 3f1e4a47..dfd4aa45 100644 --- a/trunk/tools/vstat/user/vstat_main.c +++ b/trunk/tools/vstat/user/vstat_main.c @@ -306,6 +306,7 @@ void printPortActiveSpeed(uint8_t speed){ 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); -- 2.46.0