Thread (1 message) 1 message, 1 author, 2012-09-20

RE: how to preserve QP over HA events for librdmacm applications

From: Hefty, Sean <hidden>
Date: 2012-09-20 21:52:39

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?).
APM is limited to a single device, as is memory registration, CQs, PDs, SRQs, etc.  Migration between devices requires entirely new memory registrations, the use of different lkeys/rkeys, and new CQs.  There's no guarantee that the HW devices support the same features - registration size, QP size, CQ size, 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.
You can only reuse the resources if you limit yourself to the same device.

Supporting migration between devices requires a higher level abstraction which hides the internal RDMA device details.

HA itself likely requires more than simply establishing a new connection.  You may need to resolve the addresses again, to determine where to migrate to, plus obtain new path records.  Any app that wants full HA capability really needs to be able to handle a connection failing completely and establishing a new one.

- Sean
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help