[openib-general] [CM] [patch] add a check that paths are reversible when connecting RC QPs

Dotan Barak dotanb at dev.mellanox.co.il
Wed Nov 29 21:57:44 PST 2006


Sean Hefty wrote:

> Dotan Barak wrote:
>
>> +    if (!param->primary_path->reversible && param->qp_type == 
>> IB_QPT_RC)
>> +        return -EINVAL;
>
>
> Why did you include a check for the qp_type?
>
> - Sean

Because one can use a UC QP as a sender only sending any ack (at least 
on this QP).
But to be honest, i have a second thought on the check of the transport 
type of the QP:
maybe the CM should deny any setting of non reversible path for any QP,
to let know the user that there may be a problem with this path ...

what do you think?

thanks
Dotan




More information about the general mailing list