[openib-general] APM support in openib stack

somenath somenath at veritas.com
Wed Oct 11 18:48:58 PDT 2006


hi,

I am trying to use the APM support in openib kernel stack and facing 
some problems.
here are the steps I follow:

1. first resolve both the path, primary and alternate path.

2. send REQ using:

active_param.primary_path = path;
active_param.alternate_path = alt_path;
ib_send_cm_req( cm_id, &active_param);

this call doesn't return any error

3. in req_handler() we follow the same steps as we have done without APM..
   i.e. create qpairs, change qp state to RTR and then  send REP.

however, when trying to change state to RTR usinb ib_modify_qp() I get 
an error (-22).

two info: same code will work if I pass alt_path as NULL or change the 
alt_path as primary path.

I must be missing something here, I assume this basic APM feature works 
in RHEL4 update 4 distribtion
of openib stack.

thanks, som.





More information about the general mailing list