[openib-general] [PATCH] CM: new call to return QP attributes for use modifying the QP

Sean Hefty mshefty at ichips.intel.com
Wed Jan 26 10:53:57 PST 2005


Libor Michalek wrote:
>   I have a PSN question about the new qp_attr API. What does the function
> ib_cm_init_qp_attr() use for the RQ PSN when creating the RTR QP state
> attributes? This number is the locally generated PSN.

The user provides a starting_psn value when calling ib_send_cm_req and 
ib_send_cm_rep.  The CM stores these values.  The RQ PSN for the active 
side is the starting_psn returned in the REP message.  The RQ PSN for 
the passive side is the starting_psn received in the REQ.

Hmm... it looks like this is backwards.  I'll fix this.

- Sean



More information about the general mailing list