On Thu, Jun 02, 2005 at 11:16:53AM -0400, James Lentini wrote:
> This could be an improvement. We just need to be careful that we don't 
> expose anything transport specific. Off the top of my head, I can 
> think of one way to do this:
> 
> - in dat.h, create a public structure for each object type:
> 
>  struct dat_ep {
>       struct dat_provider *provider;
>  };
> 
> - in the transport provider (dapl.h) have a private structure that
>   contains the public one:
> 
>   struct dapl_ep {
>       struct dat_ep   dat_ep;
>         ...
>   };
> 
> Is that the sort of thing you were thinking of?

That would follow the way the VFS does for inodes.  I just think dapl_*
is a really bad name for an IB-specific implementation.  In the end
when we converge thing more into a common RDMA stack that should
probably become rdma_* for the transport-agnostic and ib_* for
IB-specific structure.
_______________________________________________
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