--- Sean Hefty <[EMAIL PROTECTED]> 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
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to