>> -    for (portnum = 0; portnum <= ca.numports; portnum++)
>> +    for (portnum = 0; portnum < ca.numports; portnum++)
>>              port_dump(ca.ports[portnum], 0);
>
>As expected on linux it shows only first port of two ports CA.

Correct - port_dump checks for NULL ports and returns.  This patch does break
Linux.

>Likely we have libibumad implemented differently in this part.

In libibumad, is umad_ca_t:ports[0] ever not NULL?

- Sean

_______________________________________________
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