[ofa-general] [PATCH] opensm/opensm/osm_subnet.c: add a comment of valid "force_link_speed" values

Hal Rosenstock hrosenstock at xsigo.com
Thu Jan 24 13:41:53 PST 2008


On Thu, 2008-01-24 at 13:40 -0800, Ira Weiny wrote:
> On Thu, 24 Jan 2008 13:33:42 -0800
> Hal Rosenstock <hrosenstock at xsigo.com> wrote:
> 
> > On Wed, 2008-01-23 at 12:40 -0800, Ira Weiny wrote: 
> > > >From 020618d66bdcecba6f49bc7f48ae40485d657437 Mon Sep 17 00:00:00 2001
> > > From: Ira K. Weiny <weiny2 at llnl.gov>
> > > Date: Wed, 23 Jan 2008 12:39:05 -0800
> > > Subject: [PATCH] opensm/opensm/osm_subnet.c: add a comment of valid "force_link_speed" values
> > > 
> > > 
> > > Signed-off-by: Ira K. Weiny <weiny2 at llnl.gov>
> > > ---
> > >  opensm/opensm/osm_subnet.c |   13 +++++++++++--
> > >  1 files changed, 11 insertions(+), 2 deletions(-)
> > > 
> > > diff --git a/opensm/opensm/osm_subnet.c b/opensm/opensm/osm_subnet.c
> > > index c9b4d57..7b14e0c 100644
> > > --- a/opensm/opensm/osm_subnet.c
> > > +++ b/opensm/opensm/osm_subnet.c
> > > @@ -1469,10 +1469,19 @@ ib_api_status_t osm_subn_write_conf_file(IN osm_subn_opt_t * const p_opts)
> > >  		"leaf_head_of_queue_lifetime 0x%02x\n\n"
> > >  		"# Limit the maximal operational VLs\n"
> > >  		"max_op_vls %u\n\n"
> > > -		"# Force link speed enable on switch links\n"
> > > +		"# Force PortInfo:LinkSpeedEnabled on switch ports\n"
> > >  		"# If 0, don't modify PortInfo:LinkSpeedEnabled on switch port\n"
> > >  		"# Otherwise, use value for PortInfo:LinkSpeedEnabled on switch port\n"
> > > -		"# Default is 15 (to set to PortInfo:LinkSpeedSupported)\n\n"
> > > +		"# Values are (IB Spec 1.2, 14.2.5.6 Table 145 \"PortInfo\")\n"
> > > +		"#    1: 2.5 Gbps\n"
> > > +		"#    2: 5.0 Gbps\n"
> > > +		"#    3: 2.5 or 5.0 Gbps\n"
> > > +		"#    4: 10.0 Gbps\n"
> > > +		"#    5: 2.5 or 10.0 Gbps\n"
> > > +		"#    6: 5.0 or 10.0 Gbps\n"
> > > +		"#    7: 2.5 or 5.0 or 10.0 Gbps\n"
> > 
> > Should the values be per IBA 1.2.1 r.t. 1.2 ?
> 
> I'm sorry did I miss the release of 1.2.1?

Look on the IBTA site. vol 1's been released.

>   I got those out of the 1.2 Release
> PDF.  Are they different in 1.2.1?

Yes.

> Ira
> 
> > 
> > > +		"#    8-14: Reserved\n"
> > > +		"#    Default 15: set to PortInfo:LinkSpeedSupported\n\n"
> > >  		"force_link_speed %u\n\n"
> > >  		"# The subnet_timeout code that will be set for all the ports\n"
> > >  		"# The actual timeout is 4.096usec * 2^<subnet_timeout>\n"
> > > _______________________________________________
> > > general mailing list
> > > general at lists.openfabrics.org
> > > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> > > 
> > > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general




More information about the general mailing list