[openib-general] Support for UC connections using the CM API?
Steven Wooding
sinate at yahoo.com
Thu Oct 20 14:01:33 PDT 2005
--- Sean Hefty <mshefty at ichips.intel.com> wrote:
> Good catch. I overlooked this about 10 times now...
> The break should be there.
>
> - Sean
The break indeed fixes the qp_type value at the
receiver of the req message. However, this is not
enough to successfully make the UC connection using
the CM.
The qp_attr_mask returned by the cm_init_qp_attr()
function still assumes an RC connection is required.
To get around this, I overwrote the qp_attr_mask with
a mask suitable for UC, after the cm_init_qp_attr()
call. This needs to be done for qp state transitions
INIT->RTR and RTR->RTS. This is OK for now, but would
really need to be done by the CM code.
I had a look at where the mask is set in cm.c
(cm_init_qp_rtr_attr() and cm_init_qp_rts_attr()) but
I was unsure how to make the mask depend on the QP
type. Maybe you have a better idea of how to do this.
Anyway, hope this helps.
Cheers,
Steve.
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
More information about the general
mailing list