[openib-general] APM support in openib stack

Tang, Changqing changquing.tang at hp.com
Tue Jan 2 13:46:15 PST 2007


Hi,
	I don't see function 'ib_sa_path_rec_get()' anywhere in the
trunk, Is this a new function to be checked in ?

	Thanks.

--CQ


> 
> thanks for ur reply.
> I use
>  ib_sa_path_rec_get(
>                     device,
>                     HCA_PRM_PORT,           /* first port =1, second 
> port=2 */
>                     &path_rec,
>                     IB_SA_PATH_REC_DGID | IB_SA_PATH_REC_SGID |
>                     IB_SA_PATH_REC_NUMB_PATH
>                     | IB_SA_PATH_REC_PKEY,
>                     5000,
>                     GFP_KERNEL,
>                     func_completion,
>                     context,
>                     &query)
> 
> to get the primary path, and make the same call with 
> HCA_ALT_PORT (=2) to get the alternate path.
> 
> primary path has the source and destination gid for the HCA 
> port 1, alternate path the source and destination gid for the 
> HCA port 2.
> 
> using these two paths, I send the REQ, otherwise gets the REQ...
> (I can dump the primary and alternate path received in req 
> handler to check everything is ok, will try that next..)
> 
> do you remember when you checked in the working code?
> I am wondering if the RHEL4 U4 binary distrition of redhat 
> has your changes.
> 
> thanks, som.
> 
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit 
> http://openib.org/mailman/listinfo/openib-general
> 
> 




More information about the general mailing list