On 02/25/2011 10:04 AM, Bharath Ramesh wrote: >> -----Original Message----- >> From: frank zago [mailto:fz...@systemfabricworks.com] >> >> On 02/25/2011 01:30 AM, Bharath Ramesh wrote: >>> Hi, >>> I am trying to use IB atomic operations, specifically fetch and >> add. >>> I tried a small example but I am unable to get it to work. The WC >> status is >>> IBV_WC_REM_INV_REQ_ERR. My sample code is as follows: >> >> Did you register your memory with IBV_ACCESS_REMOTE_ATOMIC ? > > I have registered both the remote and local data with > IBV_ACCESS_LOCAL_WRITE | IBV_ACCESS_REMOTE_ATOMIC | IBV_ACCESS_REMOTE_READ | > IBV_ACCESS_REMOTE_WRITE >
Do you create your QPs with RDMA CM or do you transition them by hand ? In the later case there is a couple flags to set. Frank. -- 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