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 ?

Thanks.

-- Hal




_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

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

Reply via email to