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

Tom Duffy tduffy at sun.com
Wed Jun 1 12:40:31 PDT 2005


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?

-tduffy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050601/30b6ec6a/attachment.sig>


More information about the general mailing list