[Openib-windows] Re: [openib-general] Re: IB Diagnositic Tool s

Eitan Zahavi eitan at mellanox.co.il
Mon Jul 4 13:54:18 PDT 2005


Hi Ben

The patch try to start scanning the ports from i=1 rather then i=0.

status = osm_vendor_get_all_port_attr(p_osm->p_vendor, attr_array,
&num_ports );

But this function to return the port attributes of all available ports does
not use the "port number" as index into the returned array of port
attributes. It simply starts with i=0 and adds on to it. The port numbers
are available in the attributes struct.

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: Bernhard Fischer [mailto:rep.nop at aon.at]
> Sent: Monday, July 04, 2005 11:44 PM
> To: Hal Rosenstock
> Cc: Bernhard Fischer; Eitan Zahavi; openib-windows at openib.org; 'openib-
> general at openib.org'
> Subject: Re: [Openib-windows] Re: [openib-general] Re: IB Diagnositic
Tools
> 
> On Tue, Jun 28, 2005 at 09:22:00AM -0400, Hal Rosenstock wrote:
> >On Mon, 2005-06-27 at 17:30, Hal Rosenstock wrote:
> >> On Mon, 2005-06-27 at 17:13, Bernhard Fischer wrote:
> >> > Hal,
> >> >
> >> > This is kinda offtopic,
> >>
> >> Yes, this is different topic(s).
> >>
> >> > but (iirc) i once stumbled over the issue of
> >> > "port" vs. "mgmt port" [back then i had access to two 2-port cards]
> >> > where you may have said something along the lines of
> >> > \"There is clearly a bug for multi HCAs in
osm_vendor_get_all_port_attr
> >> > which is in the vendor layer. This needs to be fixed and is our
problem.
> >> > So I am close to being able to commit what I now have for this and
fix
> >> > this later (as there are other multi HCA issues).\"
> >> > Just curious.. did somebody already have a chance to touch those or
not?
> >>
> >> I don't think it has been fixed :-( I will need to refresh myself on
> >> this again.
> >
> >Just tried the diags and OpenSM on a multi HCA machine and they appear
> >to run fine. I will need to dig out from my notes as that comment came
> >from back on 2/16.
> 
> Please note that that specific occurance was *not* triggered in a strict
> \"multi HCA\" setup but with two-port HCA(s e.g. opensm'd) back-to_back.
> 
> Back then, i saw (can't reproduce it now since i do not have access to
> an appropriate setup; can't reproduce since even if i would have access
> to such a setup i most likely wouldn't have root access) a listing akin
> to :
> phy-port 1
> phy-port 1
> phy-port 2
> e-o-f
> 
> Please mail me the output of
> opensm -g
> [with opensm as primary SM -- but i guess it does literally everywhere,
> be it hosts or switches] with the attached patch.
> 
> PS: Hal, if the moved question is true, please point me to a document
> and section where this is defined. I may be a pita, but i'd like to
> know that answer. TIA and .....
> 
> ..sorry for the noise
> --
> Bernhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20050704/b1d7d3c8/attachment.html>


More information about the ofw mailing list