[ofw] IB_WCS_REM_INVALID_REQ_ERR

Fab Tillier ftillier at windows.microsoft.com
Fri Nov 9 09:05:19 PST 2007


When you connect are you enabling RDMA operations on the QP via the access_ctrl field of the ib_cm_rtu_t and ib_cm_rep_t structures passed to the ib_cm_rtu and ib_cm_rep calls, respectively?

-Fab

From: ofw-bounces at lists.openfabrics.org [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Diego Guella
Sent: Friday, November 09, 2007 5:38 AM
To: Tzachi Dar
Cc: ofw at lists.openfabrics.org
Subject: [ofw] IB_WCS_REM_INVALID_REQ_ERR

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/50c3953b/attachment.html>


More information about the ofw mailing list