* Hal Rosenstock <[email protected]> [2010-02-25 09:45:04]:

> The link won't renegotiate automatically. The link needs to be reset
> after updating the speed/width enabled values. Was that done ?

I assumed OpenSM was resetting the link. Are you saying I need to run
ibportstate reset in addition to running a modified opensm?
(Or, using only ibportstate using ibportstate speed followed by a
ibportstate reset?)

> > - Is there another way to get what I want (control over link width+speed)?

> The latest ibportstate can do this.

I installed the latest version, and it indeed has width and speed.
However, it doesn't seem to have any effect:


[dki...@f28]~% sudo /usr/sbin/ibportstate 232 1 query
PortInfo:
# Port info: Lid 232 port 1
LinkState:.......................Active
PhysLinkState:...................LinkUp
LinkWidthSupported:..............1X or 4X
LinkWidthEnabled:................1X or 4X
LinkWidthActive:.................4X
LinkSpeedSupported:..............2.5 Gbps or 5.0 Gbps or 10.0 Gbps
LinkSpeedEnabled:................2.5 Gbps or 5.0 Gbps or 10.0 Gbps
LinkSpeedActive:.................10.0 Gbps

[dki...@f28]~% sudo /usr/sbin/ibportstate 232 1 speed 1
Initial PortInfo:
# Port info: Lid 232 port 1
LinkSpeedEnabled:................2.5 Gbps or 5.0 Gbps or 10.0 Gbps

After PortInfo set:
# Port info: Lid 232 port 1
LinkSpeedEnabled:................2.5 Gbps
[dki...@f28]~% sudo /usr/sbin/ibportstate 232 1 query  
PortInfo:
# Port info: Lid 232 port 1
LinkState:.......................Active
PhysLinkState:...................LinkUp
LinkWidthSupported:..............1X or 4X
LinkWidthEnabled:................1X or 4X
LinkWidthActive:.................4X
LinkSpeedSupported:..............2.5 Gbps or 5.0 Gbps or 10.0 Gbps
LinkSpeedEnabled:................2.5 Gbps
LinkSpeedActive:.................10.0 Gbps

[dki...@f28]~% sudo /usr/sbin/ibportstate 232 1 reset
ibportstate: iberror: failed: smp query nodeinfo: Node type not switch


  Thanks,
  Dries

Attachment: pgpmlcOhhKkab.pgp
Description: PGP signature

Reply via email to