On 18:25 Thu 01 Jan , Eli Dorfman (Voltaire) wrote: > set switch end ports to full member in default partition configuration.
Regardless to partition config file existence? Why? This changes OpenSM PM default behavior as described in the man page. Sasha > > Signed-off-by: Eli Dorfman <[email protected]> > --- > opensm/opensm/osm_prtn.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/opensm/opensm/osm_prtn.c b/opensm/opensm/osm_prtn.c > index 8b9301e..21c7add 100644 > --- a/opensm/opensm/osm_prtn.c > +++ b/opensm/opensm/osm_prtn.c > @@ -331,6 +331,9 @@ static ib_api_status_t osm_prtn_make_default(osm_log_t * > const p_log, > status = osm_prtn_add_all(p_log, p_subn, p, 0xff, no_config); > if (status != IB_SUCCESS) > goto _err; > + status = osm_prtn_add_all(p_log, p_subn, p, IB_NODE_TYPE_SWITCH, TRUE); > + if (status != IB_SUCCESS) > + goto _err; > cl_map_remove(&p->part_guid_tbl, p_subn->sm_port_guid); > status = > osm_prtn_add_port(p_log, p_subn, p, p_subn->sm_port_guid, TRUE); > -- > 1.5.5 > _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
