On Wed, 2007-03-28 at 14:12, Michael S. Tsirkin wrote:
> > > There's no way to shut down an IB switch port with opensm or any OFED
> > > diags?  Yuck...
> > 
> > Not true; ibportstate can do this.
> 
> I found that, yes.
> However, to automate this fully I need to find the lid
> of the switch that is connected to specific HCA ports.

So do you have the GUID or LID or the HCA port(s) in question ?

> I expect ibnetdiscover can do this, but was unable to grok
> the output syntax. 

I'll explain once I have the answer to the above question.

> Is it documented somewhere?

In the man page but this may not be sufficient for your purposes.

> Alternatively, can linkinfo be queried with saquery?

Not currently.

-- Hal


_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to