[openib-general] Re: Link Width Active

Roland Dreier roland at topspin.com
Thu Nov 11 16:18:21 PST 2004


    Hal> Hi, Is there a way to display PortInfo components other than
    Hal> PortState ? For example, LinkWidthActive might be useful (as
    Hal> might some others). I couldn't find it in
    Hal> /sys/class/infiniband/mthca0/port/1.

Sure, we just need to add more attributes in core/sysfs.c.
LinkWidthActive would require processing a PortInfo MAD (PortState
comes from ib_port_query()) but it's not too much work to implement.

 - R.



More information about the general mailing list