[Rdma-developers] Re: [openib-general] OpenIB and OpenRDMA: Convergence on common RDMAAPIs and ULPs for Linux
Tom Duffy
tduffy at sun.com
Thu Jun 2 08:27:14 PDT 2005
On Thu, 2005-06-02 at 11:16 -0400, James Lentini wrote:
> - 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?
Yes, exactly. Then you can create small inline functions that would
cast back and forth.
The other "issue" right now is that dapl has a header struct that needs
to come first in all the structs. So, that would need to be changed.
> I'll do some research here and find out why the original mechanism was
> chosen.
Cool.
-tduffy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050602/392b3d13/attachment.sig>
More information about the general
mailing list