Hi, Dotan:

Thank you for your answer. Actually When I got that error, I quit my program and restart my program to reconnect the QPs. But I still got error for all of the later WR. I have to restart computer. Before I use OFED, my program is based on old Mellanox's verb API. I didn't find any problem for that. So I don't know why for that.

Dotan Barak wrote:
Hi.

Wei Fang wrote:
Hi, All:

I'm new here just some days ago. Right now I'm facing a problem to using OFED 1.2.5's verb api. In my programming, I use RDMA Write function to transfer data ( ibv_post_send ). Then I use ibv_poll_cq to get this CQ's finish. Sometimes, ibv_poll_cq's return error is IBV_WC_RETRY_EXC_ERR (error code is 12). When this error code happen, any next transfer will always fail. In this case, I have to restart computer. Anyone can tell me how to recover this error without quit program or restart PC?


If you have a completion with status IBV_WC_RETRY_EXC_ERR your QP state will be moved to error, so all of the WR that you will post after this will fail too. If you have this failure you need to reconnect the QPs (i don't know why you need to restart the computer in order to fix this ....).


I think that you need to check why you got this completion status from the first place (did the remote side close the QP?)


Dotan



--
Best Regards

Wei Fang

Hermes Microvision Inc.

(Tel)       (408)597-8600
(Fax)       (408)597-8601
(Direct Tel)(408)597-8646

============================================
The information contained in this document is confidential and may be
legally privileged. It is intended solely for the use of the addressee and
others authorized to receive it. If you are not the intended recipient you
are hereby notified that any disclosure, copying, distribution or any action
taken or omitted in reliance on it is strictly prohibited and may be
unlawful.
============================================


_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to