[openib-general] Re: uCM init_qp_attr() [Re: uCM create connectionID]

Sean Hefty mshefty at ichips.intel.com
Mon Jul 25 09:38:08 PDT 2005


Fab Tillier wrote:
>>From: Libor Michalek [mailto:libor at topspin.com]
>>>The uDAPL code is now connecting properly but I am having difficulty
>>>setting the QP states properly without the ib_cm_init_qp_attr() call.
>>>Any chance of providing this call in uCM?
>>
>>  Sean, To do this I'll need to add a kernel CM function to get the
>>connections qp attributes from 'struct cm_id_private' inorder to pass
>>them to userspace. Any preference on what form the function should take?
> 
> Why can't you just expose the exiting kernel ib_cm_init_qp_attr call?  It seems
> that call provides the access to cm_id_private.  As long as you buffer the
> qp_attr structure properly, what are the issues?

Can you just use the existing call?

- Sean



More information about the general mailing list