[Openib-windows] [PATCH] MTHCA: always treat RKEY in network order

Fabian Tillier ftillier at silverstorm.com
Sun Apr 2 03:58:40 PDT 2006


On 4/2/06, Leonid Keller <leonid at mellanox.co.il> wrote:
> About the patch: if changing, I think, we need to change both rkey and
> lkey to be consistent.

Ok, I'll fix it up and resend.  I hadn't changed the lkey since it's
only used locally, so it doesn't really matter.

For the rkey, I've always felt that since it goes on the wire, and
really is an opaque value returned by the HCA driver, it was really
unnatural for a ULP to byteswap this value.  Plus, it had the added
benefit of removing the swap from the WQE formatting, which should
make it a little more efficient.

> About the below stuff: did you try using the new driver on both sides ?

I did, and it failed too, except that in this case, both RDMA write
and RDMA read failed.  In both cases, the error was remote invalid
request.

I was going to put together an RDMA test to see if it's something
within the WSD provider, but I doubt it is.  Do you have an RDMA test
handy to verify that RDMAs work?

Looking at the MTT and MPT dumps, everything on the MR side of things
looks good.  Perhaps the QP is not being put in the proper state? 
What would cause that specific error (vs some other error)?

Thanks,

- Fab



More information about the ofw mailing list