public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Ira Weiny <weiny2-i2BcT+NCU+M@public.gmane.org>
To: "Eli Dorfman (Voltaire)"
	<dorfman.eli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: OFED mailing list <linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Default force_link_speed value in opensm configuration
Date: Mon, 12 Oct 2009 14:35:53 -0700	[thread overview]
Message-ID: <20091012143553.04554689.weiny2@llnl.gov> (raw)
In-Reply-To: <4AD2FB39.6040602-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On Mon, 12 Oct 2009 11:47:37 +0200
"Eli Dorfman (Voltaire)" <dorfman.eli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> Ira Weiny wrote:
> > On Tue, 06 Oct 2009 17:56:01 +0200
> > "Eli Dorfman (Voltaire)" <dorfman.eli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > 
> >> Hi,
> >>
> >> Is there a reason for setting default force_link_speed to 15 (set enabled as supported) 
> >> and not to 0 (don't modify PortInfo:LinkSpeedEnabled )?
> > 
> > The thought was to enable all ports to the maximum supported by default.  This
> > was the behavior before this option was added so it was though to leave it
> > alone by default.
> > 
> > Is there a reason this should not happen?  I guess since the Volume 2 spec
> > says that the power on default for this is LinkSpeedSupported there is no
> > reason to have the SM send these Set's.  Perhaps there is broken hardware out
> > there?
> 
> well actually there is a hardware that supports only 5.0Gbps (but reports 2.5 or 5.0 Gbps since there is no option for 5.0 only)
> and powers on with enabled speed of 5.0Gbps only.
> Setting the enabled speed to the supported speed will fail further negotiation (after link reset) since the device does not support 2.5Gbps.

That seems like broken hardware...

> 
> So if the default for all other devices is enabled=supported then we can change the opensm configuration force_link_speed to 0.
>

I have no problem changing it.  As I said if hardware is compliant I think it
might speed things up.  I will test out a patch with the hardware I can test.

However, I would like to know if anyone else knows of hardware which needs it
set to "15".  If so, this is going to be an interesting problem...  ;-)

Ira


-- 
Ira Weiny
Math Programmer/Computer Scientist
Lawrence Livermore National Lab
925-423-8008
weiny2-i2BcT+NCU+M@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2009-10-12 21:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-06 15:56 Default force_link_speed value in opensm configuration Eli Dorfman (Voltaire)
     [not found] ` <4ACB6891.7010202-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-10-06 21:27   ` Ira Weiny
     [not found]     ` <20091006142728.3d1e5bcc.weiny2-i2BcT+NCU+M@public.gmane.org>
2009-10-12  9:47       ` Eli Dorfman (Voltaire)
     [not found]         ` <4AD2FB39.6040602-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-10-12 21:35           ` Ira Weiny [this message]
     [not found]             ` <20091012143553.04554689.weiny2-i2BcT+NCU+M@public.gmane.org>
2009-10-13 13:39               ` Hal Rosenstock
     [not found]                 ` <f0e08f230910130639v7f2da43bt630b7f42eb0da795-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-10-13 19:44                   ` Ira Weiny
     [not found]                     ` <20091013124448.208cf778.weiny2-i2BcT+NCU+M@public.gmane.org>
2009-10-13 19:53                       ` Hal Rosenstock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091012143553.04554689.weiny2@llnl.gov \
    --to=weiny2-i2bct+ncu+m@public.gmane.org \
    --cc=dorfman.eli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox