[ofw] RE: Completion with bad status: IBV_WC_RETRY_EXC_ERROR
Dotan Barak
dotanb at mellanox.co.il
Tue Nov 13 06:13:23 PST 2007
o.k., I passed that and the code compilation stage ....
Just a small note:
In the modify_qp: qp_access_flags is only for supported remote
operations, so IBV_ACCESS_LOCAL_WRITE should be removed
I understand what the root cause of the problem is: you took a code from
windows and moved only PART of the code to Linux.
For example: WR_SEND is defined in iba/ib_types and has the value 1
(which is RDMA WRITE_WITH_IMM in Linux)
so actually, you did RDMA write with rkey and remote address with
undefined values.
(this is only an example for the corruption that happens during the test
execution because of this issue)
The code passed compilation because you included iba/ib_types.h (in
types.h) in Linux too.
This file should not be included in Linux (unless you really need it
...)
All of the structures, functions, enumerations in Linux verbs start with
IBV_ or ibv_.
This should fix the test problems (I hope ...)
thanks
Dotan
________________________________
From: Diego Guella [mailto:diego.guella at sircomtech.com]
Sent: Tuesday, November 13, 2007 3:49 PM
To: Dotan Barak; Tzachi Dar; Fab Tillier
Cc: ofw at lists.openfabrics.org
Subject: Re: Completion with bad status: IBV_WC_RETRY_EXC_ERROR
The code compiles successfully on my Linux machine (Dell
Poweredge 2850 SUSE 9.3 Professional, kernel 2.6.11.4-21.12-smp, x86_64,
Mellanox MHGA28-XTC) with OFED 1.1 installed under /usr/local/ofed/
The executable included in the zip file I sent was compiled
about one hour ago..
Maybe the include and link directories in the Makefile should be
changed?
Or maybe is an OFED version problem?
----- Original Message -----
From: Dotan Barak <mailto:dotanb at mellanox.co.il>
To: Diego Guella <mailto:diego.guella at sircomtech.com> ;
Tzachi Dar <mailto:tzachid at mellanox.co.il> ; Fab Tillier
<mailto:ftillier at windows.microsoft.com>
Cc: ofw at lists.openfabrics.org
Sent: Tuesday, November 13, 2007 2:29 PM
Subject: RE: Completion with bad status:
IBV_WC_RETRY_EXC_ERROR
did you check the compilation of the linux code?
(the compilation fails for me ..)
Dotan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20071113/90bc8e92/attachment.html>
More information about the ofw
mailing list