Signed-off-by: Ira Weiny <wei...@llnl.gov>
---
 src/perfquery.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/perfquery.c b/src/perfquery.c
index 605ece9..df8556b 100644
--- a/src/perfquery.c
+++ b/src/perfquery.c
@@ -659,7 +659,7 @@ static int process_opt(void *context, int ch, char *optarg)
 
 int main(int argc, char **argv)
 {
-       int mgmt_classes[2] = { IB_SA_CLASS, IB_PERFORMANCE_CLASS };
+       int mgmt_classes[3] = { IB_SMI_CLASS, IB_SA_CLASS, IB_PERFORMANCE_CLASS 
};
        ib_portid_t portid = { 0 };
        int mask = 0xffff;
        uint64_t ext_mask = 0xffffffffffffffffULL;
@@ -758,7 +758,7 @@ int main(int argc, char **argv)
                mask = ext_mask;
        }
 
-       srcport = mad_rpc_open_port(ibd_ca, ibd_ca_port, mgmt_classes, 2);
+       srcport = mad_rpc_open_port(ibd_ca, ibd_ca_port, mgmt_classes, 3);
        if (!srcport)
                IBERROR("Failed to open '%s' port '%d'", ibd_ca, ibd_ca_port);
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to