[openib-general] Error messages for ibverbs failures

Dotan Barak dotanb at mellanox.co.il
Wed Jul 5 23:43:54 PDT 2006


Hi Mike.

On Wednesday 05 July 2006 19:15, Mike Heffner wrote:
> Is there a way to get detailed error messages for failures in the 
> ibverbs API? Something similar to perror/strerror or VAPI_strerror from 
> VAPI?

As much as i know there isn't any way to know what the problem was.

Sometimes, when the verb return an error, errno contains the problems (it depend the location of the error :user / kernel).
There aren't any IB error messages in errno, for example: EINVAL can be invalid LID, or PORT or any other parameter ...

Dotan




More information about the general mailing list