[ofa-general] kernel CM question

Hal Rosenstock hrosenstock at xsigo.com
Sat Dec 8 12:52:34 PST 2007


Hi again Sean,

On Sat, 2007-12-08 at 08:41 -0800, Hal Rosenstock wrote:
> Hi Sean,
> 
> In cm.c, there is:
> static inline int cm_convert_to_ms(int iba_time)
> {
>         /* approximate conversion to ms from 4.096us x 2^iba_time */
>         return 1 << max(iba_time - 8, 0);
> }
> 
> Seems to me that as iba_time gets larger, the approximation is off by
> more and forces using the next lower time.
> 
> For example, if 22 is used:
> ib_cm: req timeout_ms 16896 > 8192, decreasing
> 
> Is it too much computation to make this more accurate ?

My bad; this computation is fine and the question/problem is in the
OFED patch which produces this message.

-- Hal

> Thanks.
> 
> -- Hal
> 
> 
> 
> 
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



More information about the general mailing list