[ofa-general] Re: [PATCH] opensm/osm_prtn.c set switch end ports to full member in default partition configuration
Sasha Khapyorsky
sashak at voltaire.com
Wed Jan 7 08:43:20 PST 2009
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 <elid at voltaire.com>
> ---
> 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
>
More information about the general
mailing list