[openib-general] APM support in openib stack

Sean Hefty sean.hefty at intel.com
Mon Oct 16 12:33:42 PDT 2006


>now I am able to create connections with pri_path = path1, alt_path = path2
>with the following change in the code.
>
>I specify the port_num and al_port_num before calling ib_modify_qp() to
>change
>state to RTR (earlier I was changing this when modifying state to
>IB_QPS_INIT).

Doesn't ib_cm_init_qp_attr() set this for you?

>( but it fails if I do this  qp_attr_mask  |= IB_QP_PORT, should it fail?)

This sets the primary physical port, which is only valid transitioning to INIT.

- Sean




More information about the general mailing list