[ofa-general] RE: [Bug 465] IPoIB CM HA fails after several hours of failures

Michael S. Tsirkin mst at dev.mellanox.co.il
Wed Mar 28 23:11:52 PDT 2007


> > > > 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.
> 
> Search for "H-<GUID in hex>", where GUID in hex is the node GUID, in the
> output of ibnetdiscover. [1] to the right of it indicates it is port 1.
> 
> So for example, 
> Switch  24 "S-005442ba00003080"         # "ISR9024 Voltaire" base port 0 lid 6 lmc 0
> [22]    "H-0008f10403961354"[1]         # "MT23108 InfiniHost Mellanox Technologies" lid 4
> 
> It is listed under the switch it is attached to and in the right hand
> side is the LID of the switch which in this case is 6.

And how do I know the switch port here?

Hal, where does this syntax come from? Some legacy script?

How about fixing this tool to provide a sane, tabulated output, with
a top self-documenting header, and flags to select specific rows/colums?

I envision something a la ps:

type guid port remote_lid remote_port description

Would such a patch be accepted?

-- 
MST



More information about the general mailing list