[openib-general] How to debug QP INIT->RTR -22 error

Sean Hefty mshefty at ichips.intel.com
Mon Oct 17 09:49:08 PDT 2005


Steve Wooding wrote:
> 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.

How are you setting the QP attributes?  You can try using the 
ib_cm_init_qp_attr() call to set the attributes if you're not.

- Sean



More information about the general mailing list