[rds-devel] RDS hanging in send queue

Sean Hefty sean.hefty at intel.com
Wed May 27 17:29:11 PDT 2009


>-22 is EINVAL. Hmmm.
>
>Do you have the time to help me diagnose this? I can't reproduce it.
>
>in net/rds/ib_cm.c rds_ib_cm_handle_connect():
>
>...
>err = rdma_accept(cm_id, &conn_param);
>...
>
>Either the cm_id is bad (doubtful, since it was passed in to us(?)) or
>something in the conn_param struct is bad?
>
>Sean any ideas?

The rdma_cm will return EINVAL if the cm_id state is invalid.  You could add a
printk in rdma_accept() in cma.c to see if this is the case.  It could also come
from an error trying to modify the QP state if the conn_param values are
incorrect. 

- Sean




More information about the rds-devel mailing list