(SPAM?) [openib-general] [RFC] new ibv_get_devices() API -- avoid dlists

Johann George johann at pathscale.com
Thu Nov 10 15:02:15 PST 2005


> Is ***list really what we want here?  Can we just get away with **list?
> 
> Would something like:
> 
> struct ibv_device * ibv_get_device(index);

I would prefer one call to get the entire structure.  Another option might
be:

    struct ibv_device ** ibv_get_device()

where it returns a list which is null terminated so you do not need to
return the length.

Johann



More information about the general mailing list