linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to preserve QP over HA events for librdmacm applications
@ 2012-09-19 15:43 Or Gerlitz
       [not found] ` <5059E82E.9020600-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Or Gerlitz @ 2012-09-19 15:43 UTC (permalink / raw)
  To: Hefty, Sean
  Cc: Alex Rosenbaum,
	linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)

Hi Sean,

We have a case here where an app which uses librdmacm wants to preserve its
QP over HA events such IB link down/up, specifically the sequence of 
operations
done by the app is the following:

1. rdma_create_id using the IPoIB  port space
2. rdma_bind _addr
3. rdma_create_qp  using UD QP type.

We are looking for a way to reset this QP such that any pending send 
buffers will be flushed
out and then the QP returns to be functional (in RTS state) - eventually 
with the same QPN.

Using rdma_disconnect indeed moves the QP to the error state and the 
buffers are flushed,
however, there's no way to modify the QP state again to RTS, etc via 
librdmacm.

Can this flushing be somehow done with the current librdmacm/libibverbs APIs
or we need some enhancement?

Or.
--
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] 15+ messages in thread

end of thread, other threads:[~2012-09-22 15:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

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).