[ofw] IB_WCS_REM_INVALID_REQ_ERR
    Diego Guella 
    diego.guella at sircomtech.com
       
    Fri Nov  9 05:38:07 PST 2007
    
    
  
Hi
I compiled successfully the source example in Mellanox\WinIB\SDK\examples\hello_world, after changing a bit the code to fix compilation errors in VC++ 2005 Express.
I'm trying to change the code in order to do a RDMA READ or WRITE to the remote side.
I changed these things:
1.create the MR with access_ctrl = IB_AC_LOCAL_WRITE | IB_AC_RDMA_READ | IB_AC_RDMA_WRITE;
2.In the "CM" protocol to exchange the vaddr (sent as uint64_t) and rkey of the MR, and to exchange data after creation of the MR;
3.in the creation of the send WR:
send_wr.wr_type = config.xfer_type; // (WR_RDMA_READ/WRITE)
if ( (config.xfer_type == WR_RDMA_WRITE) || (config.xfer_type == WR_RDMA_READ) ) {
    send_wr.remote_ops.rkey = remote_data->rkey;
    send_wr.remote_ops.vaddr = remote_data->vaddr;
}
But I get completion with bad status: IB_WCS_REM_INVALID_REQ_ERR
What am I missing/doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20071109/9f6f2ea2/attachment.html>
    
    
More information about the ofw
mailing list