[openib-general][RFC][CMA]: ib_cma_get_device hot unplug issue

Sean Hefty mshefty at ichips.intel.com
Wed Sep 21 09:47:20 PDT 2005


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



More information about the general mailing list