public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* Is there a way to transfer a rdma connection between userspace processes?
@ 2012-10-15  8:27 Stefan (metze) Metzmacher
       [not found] ` <507BC8EE.2020908-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan (metze) Metzmacher @ 2012-10-15  8:27 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 1402 bytes --]

Hi,

I'm currently researching how to implement SMBDirect [MS-SMBD]
together with the multi channel feature of SMB 3.0 in Samba.

As Samba currently uses one process per tcp connection
and maintains a lot of in memory state within the process
(e.g. for the SMB_VFS modules) it would require a lot of work
to change Samba to coordinate two (or more) processes for one logical
multi channel connection.

My current plan tries to pass the socket fd of new connections
(which join an existing multi channel session) via fd-passing to
the existing process.

Now I'm wondering if this would also be possible with
a rdma connection (struct rdma_cm_i ).

From reading the code of rdma_create_event_channel()/rdma_create_id()
and rdma_migrate_id(), it seems that the connection state is in
partly in userspace (structures) and partly in the kernel space
(hidden behind the channel fd)

ibv_create_comp_channel() and ibv_create_cq() seem to have a similar design.

As the ibverbs interface typically has a userspace driver I'm wondering if
it's always true that there's also some kernel state maintained via the
rdma/ibv_comp event channels?

As far as I can see there's currently no way to transfer the rdma/ibv
state to
another process (for me it's enough to transfer it, using it from both
processes
is not strictly needed).

Is anybody working on this already?

metze


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-17 19:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15  8:27 Is there a way to transfer a rdma connection between userspace processes? Stefan (metze) Metzmacher
     [not found] ` <507BC8EE.2020908-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2012-10-15  9:07   ` Yann Droneaud
     [not found]     ` <1350292042.2750.11.camel-vNW8ozRvgWupuGC+iAP0z+TW4wlIGRCZ@public.gmane.org>
2012-10-15 15:31       ` Steve Wise
     [not found]         ` <507C2C6E.7010507-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2012-10-16 14:25           ` Stefan (metze) Metzmacher
     [not found]             ` <507D6E3C.2050405-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2012-10-16 16:46               ` Stefan (metze) Metzmacher
2012-10-17 19:01               ` Hefty, Sean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox