On Mon, Jul 30, 2007 at 12:01:40PM +0300, Michael S. Tsirkin wrote: > Some code examples: > /* create a domain and share it: */ > > struct ibv_src_domain * d = ibv_get_new_src_domain(ctx); > int fd = open(path, O_CREAT | O_RDWR, mode); > ibv_share_src_domain(d, fd); > > /* get a reference to a shared domain: */ > > int fd = open(path, O_CREAT | O_RDWR, mode); > struct ibv_src_domain * d = ibv_get_shared_src_domain(ctx, fd); > > /* once done: */ > ibv_put_src_domain(d); > > Note: when all users do put, domain is destroyed. > OK. I am more interested in how SRC is connected to a QP in different processes. How a process will be able to do sends to different processes through one QP, etc...
-- Gleb. _______________________________________________ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg