From: Pradeep Satyanarayana <pradeeps-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: "Hefty, Sean" <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: "Atchley, Scott" <atchleyes-1Heg1YXhbW8@public.gmane.org>,
Alex Rosenbaum <alexr-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
"linux-rdma
(linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: how to preserve QP over HA events for librdmacm applications
Date: Thu, 20 Sep 2012 13:57:45 -0700 [thread overview]
Message-ID: <505B8349.4050402@linux.vnet.ibm.com> (raw)
In-Reply-To: <1828884A29C6694DAF28B7E6B8A8237346A8E77F-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
On 09/20/2012 01:10 PM, Hefty, Sean wrote:
>> What if you say pre-created a second (fail over) QP for HA purposes all
>> under the covers of a single socket? And both QPs were connected before
>> the failure. Not sure if that would work with the same CM id though. If
>> not, we will need to rdma_connect() the second QP after failure.
>
> CM IDs are not shared across devices, and can't be reused for different QPs until the first connection has been torn down and gone through timewait. For IB, you probably want path migration capabilities.
>
Fair enough, I understand one needs to use a different CM id. For the IB
case I was thinking of avoiding APM (since that is limited to a device
-isn't that so?).
> Anything more generic should really be handled by the application. Migrating a connection between devices also requires using different CQs, PDs, MRs, etc.
>
Is PD device specific? Couldn't one reuse the same CQs and MRs, even
though the QP is different? Of course only one QP would be active at any
time.
Thanks
Pradeep
--
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:[~2012-09-20 20:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-19 15:43 how to preserve QP over HA events for librdmacm applications Or Gerlitz
[not found] ` <5059E82E.9020600-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2012-09-19 15:48 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A8237346A8E418-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-09-19 15:52 ` Or Gerlitz
[not found] ` <5059EA48.1040407-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2012-09-19 15:58 ` Alex Rosenbaum
[not found] ` <A4E971F4031F1840BBA6E79B417E62E82CF29C3B-SlGPd/IId7auSA5JZHE7gA@public.gmane.org>
2012-09-19 16:52 ` Atchley, Scott
[not found] ` <46C75A5F-AD9F-45CF-A441-B7D5F60709D8-1Heg1YXhbW8@public.gmane.org>
2012-09-19 17:05 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A8237346A8E47E-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-09-19 18:14 ` Atchley, Scott
[not found] ` <86756672-ADCC-4EF0-A24C-19C4A0EB8188-1Heg1YXhbW8@public.gmane.org>
2012-09-19 18:39 ` Atchley, Scott
[not found] ` <16AD9776-40CA-4106-8F3D-A974067EEE2A-1Heg1YXhbW8@public.gmane.org>
2012-09-19 19:22 ` Hefty, Sean
2012-09-20 17:37 ` Pradeep Satyanarayana
[not found] ` <505B5470.9030707-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2012-09-20 18:18 ` Atchley, Scott
2012-09-20 20:10 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A8237346A8E77F-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-09-20 20:57 ` Pradeep Satyanarayana [this message]
[not found] ` <505B8349.4050402-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2012-09-20 21:52 ` Hefty, Sean
[not found] ` <1828884A29C6694DAF28B7E6B8A8237346A8E89E-P5GAC/sN6hmkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-09-22 15:57 ` Alex Rosenbaum
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=505B8349.4050402@linux.vnet.ibm.com \
--to=pradeeps-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
--cc=alexr-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=atchleyes-1Heg1YXhbW8@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@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;
as well as URLs for NNTP newsgroup(s).