> 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. Anything more generic should really be handled by the application. Migrating a connection between devices also requires using different CQs, PDs, MRs, etc. - Sean -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html