[openib-general] [PATCHv2][RFC] kDAPL: use cm timers instead of own

James Lentini jlentini at netapp.com
Thu Jun 2 07:17:57 PDT 2005



On Tue, 31 May 2005, Tom Duffy wrote:

> On Tue, 2005-05-31 at 14:17 -0400, James Lentini wrote:
>> Here's the specification's exact description:
>>
>>   timeout: Duration of time, in microseconds, that a consumer waits for
>>            connection establishment. The value of DAT_TIMEOUT_INFINITE
>>            represents no timeout, indefinite wait. Values must be
>>            positive.
>
> Let me make sure I got this right: timeout is in µs (10^-6 seconds), not
> ms (10^-3 seconds).  If so, I am off by 3 orders of magnitude in my
> calculation.  Right?

Correct, the value was intended to be in microseconds.

>> My perspective is that we are not implementing this API for a real
>> time operating system and therefore should take a fuzzy view of time.
>
> Trust me, it is going to fuzzy what with the mechanism IB uses to encode
> timeouts.
>
> BTW, what do you think would be a good test case to make sure the new
> code is working as intended?

dapltest could be updated to allow the timeout value to be specified 
on the command line.


More information about the general mailing list