[openib-general] [PATCHv2][RFC] kDAPL: use cm timers instead of own
James Lentini
jlentini at netapp.com
Thu Jun 2 08:40:16 PDT 2005
On Wed, 1 Jun 2005, Tom Duffy wrote:
> On Tue, 2005-05-31 at 14:52 -0700, 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?
>
> This is from DT_fft_connect() in test/dapltest/test/dapl_fft_util.c:
>
> /* attempt to connect, timeout = 10 secs */
> rc = dat_ep_connect (conn->ep_handle, conn->remote_netaddr,
> SERVER_PORT_NUMBER, 10*1000, 0, (void *)0,
> DAT_QOS_BEST_EFFORT, DAT_CONNECT_DEFAULT_FLAG);
> DT_assert_dat (phead, rc == DAT_SUCCESS);
>
> leading me to believe we are talking about milliseconds. Or is this a
> bug?
That is a bug.
More information about the general
mailing list