Hi,

Le vendredi 27 mai 2011 à 19:06 +0200, Yann Droneaud a écrit :

> But __ibv_get_device_list() returns a non NULL pointer when there's no
> device.
> 

Forget about my comment, I haven't checked the manpage for the function:

ibv_get_device_list(3) :

RETURN VALUE

ibv_get_device_list()  returns  the array of available RDMA devices, or
sets errno and returns NULL if the request fails.  If  no  devices  are
found then num_devices is set to 0, and non-NULL is returned.

I'm sending a patch against rdmacm to address the problem.

Regards.

-- 
Yann Droneaud
OPTEYA


--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to