[ofw] patch: [vstat] Also print the node guid for the given port.
Tzachi Dar
tzachid at mellanox.co.il
Tue Nov 23 04:33:26 PST 2010
Applied on 3001.
Thanks
Tzachi
From: Tzachi Dar
Sent: Monday, November 22, 2010 2:19 PM
To: ofw at lists.openfabrics.org; sw_net_windows
Subject: patch: [vstat] Also print the node guid for the given port.
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/20101123/236ee926/attachment.html>
More information about the ofw
mailing list