[openib-general] [PATCH] ib_smi: PMA does not receive TrapRepress

Hal Rosenstock halr at voltaire.com
Tue Oct 12 06:51:26 PDT 2004


ib_smi: PMA does not receive TrapRepress

Index: ib_smi.c
===================================================================
--- ib_smi.c    (revision 971)
+++ ib_smi.c    (working copy)
@@ -592,6 +592,8 @@
  
         /* Obtain MAD agent for PerfMgt class */
         reg_req.mgmt_class = IB_MGMT_CLASS_PERF_MGMT;
+       clear_bit(IB_MGMT_METHOD_TRAP_REPRESS,
+                 (unsigned long *)&reg_req.method_mask);
         port_priv->pma_mad_agent = ib_register_mad_agent(device,
port_num,
                                                         IB_QPT_GSI,
                                                        &reg_req, 0,





More information about the general mailing list