[Rdma-developers] Re: [openib-general] OpenIB and OpenRDMA: Convergence on common RDMAAPIs and ULPs for Linux
Christoph Hellwig
hch at lst.de
Thu Jun 2 15:10:08 PDT 2005
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.
More information about the general
mailing list