From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Adit Ranadive <adit.262-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: RDMA version of select for multiplexing rdma connections?
Date: Fri, 22 Oct 2010 16:06:44 -0600 [thread overview]
Message-ID: <20101022220644.GC15514@obsidianresearch.com> (raw)
In-Reply-To: <AANLkTikPStczJpRo9va7Q=rj0C+gwwq0X0kOUKDBKN34-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Fri, Oct 22, 2010 at 05:07:23PM -0400, Adit Ranadive wrote:
> I have been building a server client type of application based on top
> of RDMA/Verbs user libraries.
You can use select/poll/etc on CQ's after the connection has been
accepted, see ibv_create_comp_channel.
If you want to do non-blocking accept .. I'm not sure that is possible
with RDMA CM. Create a thread to block in rmda_accept and pass
the accepted connection back to your main thread using an eventfd/pipe
construct to wake your select loop?
Jason
--
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
next prev parent reply other threads:[~2010-10-22 22:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-22 21:07 RDMA version of select for multiplexing rdma connections? Adit Ranadive
[not found] ` <AANLkTikPStczJpRo9va7Q=rj0C+gwwq0X0kOUKDBKN34-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-22 22:06 ` Jason Gunthorpe [this message]
[not found] ` <20101022220644.GC15514-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2010-10-23 5:28 ` Hefty, Sean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101022220644.GC15514@obsidianresearch.com \
--to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
--cc=adit.262-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox