From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) by dpdk.org (Postfix) with ESMTP id 1B64F1B4B7 for ; Thu, 29 Nov 2018 14:24:23 +0100 (CET) Received: by mail-qt1-f170.google.com with SMTP id y20so1849665qtm.13 for ; Thu, 29 Nov 2018 05:24:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cfvEN0Y/2NJr2JgkPEVmfs6sU91rqpWJb0UiWPospus=; b=KSeMwm3Hw7PPyqGBte5Tp5C1G5/4Uh3RZeiMrHDXPSoW5WlvwCsPVhWHhdlN7GO0FO SAWF8qligGLJVQwhYXhTf8bqMxWMJ+qaqNbuXyYC8ApD/k03ug5fUeeRtKLYMmuLQ73h cQD1BlEPKqfHFVotgUQLehKqV9IVQxqd8+rxp78ziTKRhHlGrDWuciiFmSEWg50oQC9K ywfNv86JrNr1zaM+ATOcjnCqhkzHn/6LsH5Cwv/zTAQQioOpaRM9kxvIKc94/tdPsJa+ CtI+Rm38GrZUR3b5DtOlFEj5ffdWugSRSDdJ/Q5pujlLzB7/qwjObx9X/ChbFJ9IzVYh rZrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cfvEN0Y/2NJr2JgkPEVmfs6sU91rqpWJb0UiWPospus=; b=KT1pOmQNQMWqHApETEKa+s3iYZNKxo9WXZU8qZEdBK8lpn0jPLibk3eYxEX9ft8Iq4 aQw/QIxYyeKT6ODnw3nTFh8FjTDC18CMlqkLDqjOPr0ccjoqwvhpwgrkca27RY3A/z7m Hcda18cktNbsck2IFNstts/FFCkUCG1OX/zD8AvtS62wr3hEUYNFB6bltwWwrcyk3W29 0ma47qkN0jtXe7KrM99lDiIrdh/5HN4VW2zZq3mS7wSxXsxGWgiBUzvo3oJDq/uyJl4D yrMetAqPcvIJUHG8T4UZ2s+nvoBVRfM5GeepejoP69UMQoT9bUjamfv1SQldB3G2FABC vdcg== X-Gm-Message-State: AA+aEWaW/4ais0JLAHuFmddh3AbrON6jWSdsaaDCHeeRCociSQL1Jd+3 B2ftW4r3WcPDjAJAlCEkdD4gip8c22P8m8PZ+Q== X-Google-Smtp-Source: AFSGD/VNXnmlLg5va4aCsFJvr+V19J54nwcJDmutOT3tj5/Ir20EeAknZ2TRv+51+iGQsoIXDTRtBW5ylXz9kBEDr2k= X-Received: by 2002:a0c:b48d:: with SMTP id c13mr1318151qve.91.1543497862412; Thu, 29 Nov 2018 05:24:22 -0800 (PST) MIME-Version: 1.0 References: <1543305470209.67587@kth.se> <1543399262203.78098@kth.se> In-Reply-To: <1543399262203.78098@kth.se> From: Anshu Boonapalli Date: Thu, 29 Nov 2018 06:24:11 -0700 Message-ID: To: barbette@kth.se Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] MLX5 Rx HW Timestamp units X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2018 13:24:23 -0000 Thank you very much Tom! Do you know if your work is portable to DPDK 17.11 tip? If not, i will look into the move to 18.11. -Anshu On Wed, Nov 28, 2018 at 3:01 AM Tom Barbette wrote: > You actually motivated me to finish re-writing the patch... I just sent i= t > to the dev mailing list. You'll also find the 3 commits there : > https://github.com/tbarbette/dpdk/tree/mlxclock > > > Tom > ------------------------------ > *De :* Anshu Boonapalli > *Envoy=C3=A9 :* mardi 27 novembre 2018 16:36 > *=C3=80 :* Tom Barbette > *Cc :* users@dpdk.org > *Objet :* Re: [dpdk-users] MLX5 Rx HW Timestamp units > > hi Tom, > > Thanks for clarifying. > > I am interested in the patch that allows the query of the current device > clock values. Please point me to this patch. > > -Anshu > > On Tue, Nov 27, 2018 at 12:57 AM Tom Barbette wrote: > >> Hi Anshu, >> >> No it's the value of an internal Clock. The frequency and the base are >> both unknown. >> >> We have a patch that works (but must be reworked before submission to >> dev) that allows to query the current device clock value. Then from ther= e >> you can derive the base and the frequency. I can send it to you if you w= ish. >> >> Tom >> ________________________________________ >> De : users de la part de Anshu Boonapalli < >> anshu.boonapalli@gmail.com> >> Envoy=C3=A9 : mardi 27 novembre 2018 02:41 >> =C3=80 : users@dpdk.org >> Objet : [dpdk-users] MLX5 Rx HW Timestamp units >> >> Anyone know the units of Rx HW timestamps MLX5 provides? >> >> I assumed nanoseconds but tests i have run don't match the nanosecond >> units. >> >> Thanks, >> -Anshu >> >