[ofa-general] Re: [PATCH RFC] sharing userspace IB objects

Gleb Natapov glebn at voltaire.com
Tue Jun 26 01:34:45 PDT 2007


On Tue, Jun 26, 2007 at 10:06:41AM +0300, Michael S. Tsirkin wrote:
> >    Is there really a strong use case for making every type of object
> >    shareable?  Can we handle the SRC stuff without going to this
> >    extreme of complexity?
> 
> This is not directly related to SRC: this is an effort
> to make it possible to share QPs, CQ etc across processes
> in the same way as they can be currently shared across threads.
> So assuming that we want multiple processes to post to
> the same QP, how can we support this?
Are you absolutely sure you even want to support this? What is the user
case? If multiple processes what to post to the same QP how will you
ensure that right process will receive right completion event? Or they
will be required to allocated send descriptors from a shared memory too?
I you want them to receive from the same QP they better allocate receive
descriptors/buffers from shared memory too.

--
			Gleb.



More information about the general mailing list