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

Sean Hefty mshefty at ichips.intel.com
Thu Nov 10 14:45:47 PST 2005


Roland Dreier wrote:
> Or are the consts too confusing?  Should we be a little less safe but
> make it nice and simple and just do

The const confuses me somewhat.

> extern int ibv_get_device_list(struct ibv_device ***list);

Is ***list really what we want here?  Can we just get away with **list?

Would something like:

struct ibv_device * ibv_get_device(index);

work as well?

- Sean



More information about the general mailing list