[openib-general] Re: [PATCH] IPoIB: Add API to retrieve ib device, port, and pkey
Roland Dreier
rolandd at cisco.com
Thu Oct 6 09:55:34 PDT 2005
Did we ever figure out how to handle the hotplug issues with the
lifetime of the struct ib_device pointer? Right now this API is
unsafe, because a caller can get a pointer to a device that has
already disappeared.
Also if we do decide to add an API like this, the struct ipoib_info
and ipoib_get_info() declarations should be in <linux/if_infiniband.h>
rather than in the private ipoib.h header.
- R.
More information about the general
mailing list