* Using XRC between kernel and user space.
@ 2013-04-04 17:44 Shlomo Pongratz
[not found] ` <515DBC10.1080009-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Shlomo Pongratz @ 2013-04-04 17:44 UTC (permalink / raw)
To: Hefty, Sean
Cc: Or Gerlitz, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Hi,
I wonder how a kernel "program" and a user space one can communicate
using XRC.
A example for such an application is iSER kernel initiator connected to
tgtd target that runs in user space.
The XRC domain in the kernel is created with "struct ib_xrcd
*ib_alloc_xrcd(struct ib_device *device)" while in the user space it is
created with "static inline struct ibv_xrcd * ibv_open_xrcd(struct
ibv_context *context, struct ibv_xrcd_init_attr *xrcd_init_attr)".
When looking in "xrc_pingpong.c" example we can see that the attribute
has some file descriptor of some file ("/tmp/xrc_domain").
So how a kernel "program" on one machine can communicate with a user
space program on another one?
The XRC annex (page 9) sates that all QP should belong to the same XRC
domain.
S.P.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-05 5:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 17:44 Using XRC between kernel and user space Shlomo Pongratz
[not found] ` <515DBC10.1080009-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-04-05 5:45 ` Shlomo Pongratz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox