On Thu, Feb 25, 2010 at 1:39 AM, Dries Kimpe <[email protected]> wrote:
>
>  Hi,
>
> for various reasons I'm trying to force a specific setting for
> the link speed and link width of an IB link.
>
> I know opensm has an option to force link speed to a certain value.  I
> modified OpenSM (3.3.5) and added a similar option for link width
> (link_width_enabled field of port info struct).
>
> Reading the IB spec, link_width_enabled is marked as read-write, just as
> the link speed field.
>
> However, it doesn't seem to work. I verified that link_width_enabled is
> correctly set.

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

> My questions:
>
> - Is support for changing link width dependent on driver version
> or specific IB hardware?
>
> - Is there another way to get what I want (control over link width+speed)?

The latest ibportstate can do this.

-- Hal


>  Thanks,
>  Dries
>
> PS. Please cc me. I'm not on the list.
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to