[ofw] IB_WCS_REM_INVALID_REQ_ERR

Diego Guella diego.guella at sircomtech.com
Mon Nov 12 00:10:27 PST 2007


I'm not using any of the ib_cm calls, but that was my mistake: in moving the QP status to INIT (ib_modify_qp) I set
p_qp_mod.state.init.access_ctrl = IB_AC_RDMA_READ | IB_AC_RDMA_WRITE | IB_AC_LOCAL_WRITE;

and now all is working. Thanks Fab!


Regards,
Diego



  ----- Original Message ----- 
  From: Fab Tillier 
  To: Diego Guella ; Tzachi Dar 
  Cc: ofw at lists.openfabrics.org 
  Sent: Friday, November 09, 2007 6:05 PM
  Subject: RE: [ofw] IB_WCS_REM_INVALID_REQ_ERR


  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/20071112/973627b7/attachment.html>


More information about the ofw mailing list