From 8671626d805ff0d37bd7cb623320764de65f0e6b Mon Sep 17 00:00:00 2001 From: Stan Smith Date: Fri, 21 May 2010 19:31:28 +0000 Subject: [PATCH] [OPENSM] support IB_MAD_METHOD_GETMULTI and fix spelling errors. git-svn-id: svn://openib.tc.cornell.edu/gen1@2805 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/ulp/opensm/user/libvendor/osm_vendor_al.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/trunk/ulp/opensm/user/libvendor/osm_vendor_al.c b/trunk/ulp/opensm/user/libvendor/osm_vendor_al.c index 277efbc1..aa353f05 100644 --- a/trunk/ulp/opensm/user/libvendor/osm_vendor_al.c +++ b/trunk/ulp/opensm/user/libvendor/osm_vendor_al.c @@ -382,7 +382,7 @@ __osm_al_rcv_callback( */ osm_log( p_vend->p_log, OSM_LOG_DEBUG, "__osm_al_rcv_callback: " - "The Mad is a response , thus handeled in __osm_al_send_callback\n"); + "The Mad is a response , thus handled in __osm_al_send_callback\n"); CL_ASSERT( p_elem->send_context1 != NULL ); CL_ASSERT( p_elem->send_context2 == NULL ); @@ -402,7 +402,7 @@ __osm_al_rcv_callback( { osm_log( p_vend->p_log, OSM_LOG_DEBUG, "__osm_al_rcv_callback: " - "The Mad is a request , thus handeled in __osm_al_rcv_callback\n"); + "The Mad is a request , thus handled in __osm_al_rcv_callback\n"); CL_ASSERT( p_elem->send_context1 == NULL ); CL_ASSERT( p_elem->send_context2 == NULL ); @@ -1139,12 +1139,16 @@ osm_vendor_bind( mad_svc.mgmt_class = p_user_bind->mad_class; mad_svc.mgmt_version = p_user_bind->class_version; mad_svc.support_unsol = p_user_bind->is_responder; + mad_svc.method_array[IB_MAD_METHOD_GET] = TRUE; mad_svc.method_array[IB_MAD_METHOD_SET] = TRUE; mad_svc.method_array[IB_MAD_METHOD_DELETE] = TRUE; mad_svc.method_array[IB_MAD_METHOD_TRAP] = TRUE; mad_svc.method_array[IB_MAD_METHOD_GETTABLE] = TRUE; +#ifdef DUAL_SIDED_RMPP + mad_svc.method_array[IB_MAD_METHOD_GETMULTI] = TRUE; +#endif status = ib_reg_mad_svc( p_bind->h_qp, -- 2.46.0