[openib-general] Re: How to debug QP INIT->RTR -22 error
Michael S. Tsirkin
mst at mellanox.co.il
Sun Oct 16 08:43:37 PDT 2005
Quoting r. Steve Wooding <steve_wooding at keysounds.co.uk>:
> Subject: How to debug QP INIT->RTR -22 error
>
> Hi there,
>
> I'm trying to make a QP connection using the CM, but the active side
> cannot get to the RTR state. ibv_modify_qp returns errorno -22, invalid
> argument.
>
> What would the best way to find out exactly what the error is and help
> me fix my app (just to say, it is only my app that's broken, nothing
> else)? Would turning kernel debugging on be helpful at all?
>
> Thanks everyone,
>
>
> Steve.
Yes, enabling debug messages in mthca is typically helpful.
The relevant code with tests is in mthca_qp.c, function mthca_modify_qp,
and in uverbs_cmd.c, ib_uverbs_modify_qp.
--
MST
More information about the general
mailing list