Caitlin Bestler wrote:
I don't think that the CMA needs to register as a device client. I was referring to providing a call such as:

ib_device_get_ip(struct ib_device, struct sockaddr*, int num_sockaddr);

To return all IP addresses associated with the given device. The caller can now coordinate calling this routine with device removal.

Why not simply specify the net device, and use the existing
look ups to get the devices IP addresses?

That might work.  I was just trying to toss out some ideas.

A problem that I see is trying to associate net_device's with ib_device's. I haven't thought of a good way to obtain that information if it's needed, which I'm guessing it will be.

- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to