> mmm, so can these bogus states for rdma_disconnect to be called be > better defined? basically, for the case where the rdma_cm manages the > consumer QP, this call is the only way to move an RC QP into the error > state when the QP is okay and the consumer want to flush, etc.
By bogus I mean calling disconnect when the QP has never been connected, or calling disconnect twice. The ib_cm will check the state of the connection when disconnect is called. If disconnect is called from the wrong state, it simply fails. -- 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