[ofa-general] RFC: SRC API

Ishai Rabinovitz ishai at mellanox.co.il
Mon Jul 30 04:03:40 PDT 2007


 Gleb, 

I'm attaching a presentation that explains how we can use SRC in MPI.
(You need power point to watch it).

Comments are welcomed.

Enjoy
Ishai

-----Original Message-----
From: Gleb Natapov [mailto:glebn at voltaire.com] 
Sent: Monday, July 30, 2007 13:41 PM
To: Michael S. Tsirkin
Cc: general at lists.openfabrics.org; Roland Dreier; Pavel Shamis; Ishai
Rabinovitz; ewg at lists.openfabrics.org
Subject: Re: [ofa-general] RFC: SRC API

On Mon, Jul 30, 2007 at 12:16:39PM +0300, Michael S. Tsirkin wrote:
> More code examples:
> 
> Create an SRC QP, part of SRC domain:
> 
> 	attr.qp_type = IBV_QPT_SRC;
> 	attr.src_domain = d;
> 	qp = ibv_create_qp(pd, &attr);
> 
> Given remote SRQ number, send data to this SRQ over an SRC QP:
> 
> 	wr.src_remote_srq_num = src_remote_srq_num;
> 	ib_post_send(qp, &wr);
> 
> Note: SRQ number needs to be exchanged as part of CM private data
>       or some other protocol.
> 
You are too brief. I can come up with one linears based on the API by
myself. I am trying to understand how sharing of SRC between processes
will work and your example doesn't show this. Can I connected the same
SRC to different QPs? If yes, can I send packet to any SRQ connected to
the SRC through any QP connected to the same SRC?  If yes how is this
different from having regular QPs?

--
			Gleb.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SRC-2.ppt
Type: application/vnd.ms-powerpoint
Size: 66560 bytes
Desc: SRC-2.ppt
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070730/d1ea9cdb/attachment.ppt>


More information about the general mailing list