[Openib-windows] HH error codes

Yossi Leybovich sleybo at mellanox.co.il
Mon Aug 8 04:55:23 PDT 2005


Fab

We start to do some basic testing to the AL interface 

I notice that when the user give invalid port number the return code is
IB_ERROR and not IB_INVALID_PORT
After little investigation it looks like all HH_ret_t codes are translated
to IB_ERROR code regardless to the actual HH code.
In order to support the API all HH error codes need to go through
translation function that will move them to IBAL codes.

I also notice that IBAL define cache in mlnx_hob_t structure but when you
malloc this cache (hca_data.c line 204) you use 2 as hard coded number for
the number of port
I think its better to obtain this number from the dev_lim query [Mellanox
have devices with only one port.... and I hope that some day we will have
devices with more then 2 ports :-) ]

Let me know if you need more info.
Thanks 
Yossi 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20050808/aa83ab84/attachment.html>


More information about the ofw mailing list