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

Bernhard Fischer rep.nop at aon.at
Mon Jul 4 14:48:20 PDT 2005


On Mon, Jul 04, 2005 at 11:54:18PM +0300, Eitan Zahavi wrote:
>Hi Ben
>
>The patch try to start scanning the ports from i=1 rather then i=0.

Hm? My patch started to scan from 0 and not 1;

The patch i sent to Hal in February kindly started at 1 (i.e. current
opensm), but i wonder what port 0 in this case does denotes.

Please clarify.

>
>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
Bernhard



More information about the general mailing list