[ofw] patch: Add transport field to vstat.

Tzachi Dar tzachid at mellanox.co.il
Sun Jan 9 06:38:16 PST 2011


Applied on 3062.

Thanks
Tzachi

From: ofw-bounces at lists.openfabrics.org [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Tzachi Dar
Sent: Tuesday, January 04, 2011 4:18 PM
To: ofw at lists.openfabrics.org
Subject: [ofw] patch: Add transport field to vstat.

Index: B:/users/tzachid/projinf5/trunk/tools/vstat/user/vstat_main.c
===================================================================
--- B:/users/tzachid/projinf5/trunk/tools/vstat/user/vstat_main.c           (revision 7146)
+++ B:/users/tzachid/projinf5/trunk/tools/vstat/user/vstat_main.c        (working copy)
@@ -318,6 +318,8 @@
                printf("\t\tsm_lid=0x%04x\n", cl_ntoh16(portPtr->sm_lid));
                printf("\t\tport_lid=0x%04x\n", cl_ntoh16(portPtr->lid));
                printf("\t\tport_lmc=0x%x\n", portPtr->lmc);
+             printf("\t\tTransport=%s\n", portPtr->transport == RDMA_TRANSPORT_RDMAOE ? "RoCE" :
+                             portPtr->transport == RDMA_TRANSPORT_IB ? "IB" : "IWrap");
                printPortMTU(portPtr->mtu);
                if(fullPrint){
                                printf("\t\tmax_msg_sz=0x%x  (Max message size)\n", portPtr->max_msg_size);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20110109/d4b1dd9c/attachment.html>


More information about the ofw mailing list