丁定华 wrote: > Hi guys: > I'm doing a project using RDMA to transfer data between servers. I'm > using RDMA_PS_TCP type and do RDMA_WRITE operations from client node > to server node. While the program succeed in setting up connection and > transferring data, I 'm still very confused about two problems: > (1) After transfer the data using IB_WR_RDMA_WRITE , the complete > queue entry found that the opcode turned from IB_WR_RDMA_WRITE to > IB_WR_RDMA_WRITE_WITH_IMM, I don't know the meaning of this opcode and > the reason of the change. >
The opcode in the completion is of type enum ib_wc_opcode, not enum ib_wr_opcode. You are mis-interpreting the opcode in the completion. > (2) It takes a long time to finish rdma_disconnect work (about 10 > seconds), so is it a reasonable time? > What device are you using? Steve. -- 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