[ofw] Re: Completion with bad status: IBV_WC_RETRY_EXC_ERROR
Diego Guella
diego.guella at sircomtech.com
Thu Nov 15 07:25:06 PST 2007
Hi Dotan,
Please see my replies inline.
Thanks,
Diego
----- Original Message -----
From: Dotan Barak
To: Diego Guella ; Tzachi Dar ; Fab Tillier
Cc: ofw at lists.openfabrics.org
Sent: Thursday, November 15, 2007 3:35 PM
Subject: RE: Completion with bad status: IBV_WC_RETRY_EXC_ERROR
I don't have an available Linux <--> windows setup, can you please send me the following data:
* LID values (from ibv_devinfo/vstat)
LIDs are 1 for Windows side, and 2 for Linux side. (in host order, as seen by Linux)
* the values that you set to the AV.LID (the value that you set, after fixing/handling endianess)
Using the printfs in the code I can see this:
### Linux ###
commandline:
./verbs_test --ip=193.168.200.5
----------
QP with number 0x406 was created
MR was registered, vaddr=0x0000000000507570, rkey = 0x00003900
<<now reads the LID and htons()' it>>
local LID: 512
sizeof cm data: 18
<<now exchanges data with other side, and htons()' on the received LID>>
Remote data info: lid=1, QP num=0x05040000, vaddr=0x00000000003d7290, rkey=0x00230000
Posting receive request
----------
And this side blocks here indefinitely, since the other completes with error.
### ###
### Windows ###
commandline:
verbs_test.exe -d
----------
QP with number 0x5040000 was created
MR was registered, vaddr=0x00000000003d7290, rkey = 0x00230000
Local LID: 256
sizeof cm data: 18
Remote data info: lid=512, QP num=0x00000406, vaddr=0x0000000000507570, rkey=0x00003900
Sending the string 'Hello world' to the other side
Posting send request
Polling for Completion
Error, got completion with bad status: IB_WCS_TIMEOUT_RETRY_ERR
Starting destruction of resources
----------
### ###
* the QP number in each size
See above. Note that the QPN changes at every test, this results are for one particular test
* the remote QP number that you set in each side
Same as above. I do not change endianness of QPN, vaddr, rkey.
thanks
Dotan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20071115/10ff5334/attachment.html>
More information about the ofw
mailing list