[openib-general] Re: RDMA Generic Connection Management
Steve Wise
swise at ammasso.com
Tue Aug 30 10:46:32 PDT 2005
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:rolandd at cisco.com]
> Sent: Tuesday, August 30, 2005 12:13 PM
> To: Steve Wise
> Cc: 'James Lentini'; 'Guy German'; openib-general at openib.org
> 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.
>
More information about the general
mailing list