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

Fab Tillier ftillier at silverstorm.com
Wed Jul 20 17:36:07 PDT 2005


> From: Libor Michalek [mailto:libor at topspin.com]
> Sent: Wednesday, July 20, 2005 5:12 PM
> 
> On Thu, Jun 30, 2005 at 07:01:22PM -0700, Arlin Davis wrote:
> >
> > 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?

- Fab




More information about the general mailing list