I was wondering how the Q_KEY is set by default, if the user doesn't specify it in the ibv_qp_attr struct?
I couldn't find a suitable answer in the spec. The reason I'm asking is because I have a program where I create a "connection" in the sense that I perform all steps from opening the device to creating queue pairs and modifying them to point at the remote queue pairs. Then I run all the destructor functions, until I close the device. I then re-open a new "connection." Right now I'm having issues with the poll_cq function either never finding anything on the queue, or returning transport retry counter error, when I try to send data over the new connection. When investigating the issue I noticed that the new QP had the same Q_KEY as the old QP, which surprised me. Thanks -- Greg Kerr -- 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