[openib-general] [PATCH] OpenSM: SA SMInfoRecord should support GetTable as well as Get method

Hal Rosenstock halr at voltaire.com
Tue Dec 6 06:05:36 PST 2005


OpenSM: SA SMInfoRecord should support GetTable as well as Get method

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: osm_sa_sminfo_record.c
===================================================================
--- osm_sa_sminfo_record.c      (revision 4323)
+++ osm_sa_sminfo_record.c      (working copy)
@@ -165,7 +165,8 @@ osm_smir_rcv_process(
 
   CL_ASSERT( p_sa_mad->attr_id == IB_MAD_ATTR_SMINFO_RECORD );
 
-  if (p_sa_mad->method != IB_MAD_METHOD_GET)
+  if ( (p_sa_mad->method != IB_MAD_METHOD_GET) &&
+       (p_sa_mad->method != IB_MAD_METHOD_GETTABLE) )
   {
     osm_log( p_rcv->p_log, OSM_LOG_ERROR,
              "osm_smir_rcv_process: ERR 2804: "





More information about the general mailing list