[openib-general] SRP device management client (and a few opensmglitches)

Hal Rosenstock halr at voltaire.com
Tue Nov 15 06:48:02 PST 2005


Roland,
 
Just to close the loop on this:
 
Are those the only component fields which were zeroed out ?
 
Thanks.
 
-- Hal

________________________________

From: Eitan Zahavi [mailto:eitan at mellanox.co.il]
Sent: Tue 11/15/2005 9:41 AM
To: Hal Rosenstock; Roland Dreier
Cc: openib-general at openib.org
Subject: RE: [openib-general] SRP device management client (and a few opensmglitches)



I think Yael figured it out:
Looking at Roland's code it seems like it will not filter out the
PortRecords coming from switch physical ports. So actually he gets many
records that all have base lid = 0 and gid = 0 from these ports...

I assume this is the case. There is no trivial way to know from the
PortInfo in the PortRecord to which type of node the port belongs. Only
a combination of NodeRecord PortRecord (by base lid) can tell you if the
PortRecord is an HCA port or switch port.

EZ

Eitan Zahavi
Design Technology Director
Mellanox Technologies LTD
Tel:+972-4-9097208
Fax:+972-4-9593245
P.O. Box 586 Yokneam 20692 ISRAEL


> -----Original Message-----
> From: Hal Rosenstock [mailto:halr at voltaire.com]
> Sent: Tuesday, November 15, 2005 4:24 PM
> To: Roland Dreier; Eitan Zahavi
> Cc: openib-general at openib.org
> Subject: RE: [openib-general] SRP device management client (and a few
> opensmglitches)
>
> Hi,
>
> It's not necessarily an RMPP bug. A lot of the port 2s on SCinet are
not plugged in.
>
> -- Hal
>
> ________________________________
>
> From: openib-general-bounces at openib.org on behalf of Roland Dreier
> Sent: Tue 11/15/2005 3:27 AM
> To: Eitan Zahavi
> Cc: openib-general at openib.org
> Subject: Re: [openib-general] SRP device management client (and a few
> opensmglitches)
>
>
>
>     Eitan> Yes this is correct we never got requested for that query.
>     Eitan> If you are only interested in obtaining the guid of the
>     Eitan> port you can simply use NodeInfoRecord and you get the guid
>     Eitan> in the NodeInfo.  But you probably know that. Is there
>     Eitan> anything more you expect to get from the GUIDInfo? Are you
>     Eitan> using/having multiple GUIDs for port?
>
> Good point -- I'll just switch to getting the NodeInfoRecord.
>
>     Eitan> This must be an RMPP bug of some sort. How easy is it to
>     Eitan> reproduce?  Please give us some hints.
>
> Quite easy in my setup -- it seems to happen every time on my fabric
> when I do a get table for PortInfoRecords with local port num 2.
>
>  - R.
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general





More information about the general mailing list