You could enforce that ulps must register as clients. Then get_ib_device() or whatever would only work if the client ULP is registered...
This approach might be the simple to do initially... It adds logic to the CM, however, to validate that the caller is a registered ULP. But that might not be a bad thing... Stevo. > -----Original Message----- > From: Roland Dreier [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 30, 2005 12:13 PM > To: Steve Wise > Cc: 'James Lentini'; 'Guy German'; [email protected] > Subject: Re: [openib-general] Re: RDMA Generic Connection Management > > Steve> I thought all ULPs needed to register as an IB client > Steve> regardless? > > Right now they do, because there's no other way to get a struct > ib_device pointer. If we add a new API that returns a struct > ib_device pointer, then inevitably consumers will use it instead of > the current client API, and then hotplug will be hopelessly broken. > > - R. > _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
