From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v6 4/4] latencystats: added new library for latency stats Date: Fri, 13 Jan 2017 10:53:38 +0100 Message-ID: <13507107.EIuE9WulkJ@xps13> References: <1484150594-3758-1-git-send-email-remy.horton@intel.com> <8494765.8zaa745I9T@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: "Pattan, Reshma" , dev@dpdk.org, olivier.matz@6wind.com To: "Mcnamara, John" , "Horton, Remy" Return-path: Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by dpdk.org (Postfix) with ESMTP id 5B97D11D9 for ; Fri, 13 Jan 2017 10:53:41 +0100 (CET) Received: by mail-lf0-f47.google.com with SMTP id k86so32777750lfi.0 for ; Fri, 13 Jan 2017 01:53:41 -0800 (PST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-13 09:45, Mcnamara, John: > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon > > 2017-01-12 00:03, Remy Horton: > > > Add a library designed to calculate latency statistics and report them > > > to the application when queried. The library measures minimum, average > > > and maximum latencies, and jitter in nano seconds. The current > > > implementation supports global latency stats, i.e. per application > > stats. > > > > Is it specific to ethdev ports? > > > > > Added new field to mbuf struct to mark the packet arrival time on Rx. > > > > There was another patch adding a timestamp in mbuf: > > http://dpdk.org/ml/archives/dev/2016-October/048809.html > > Hi Thomas, > > Is that an issue? The other patch adds the same field for more or less the same purpose. > If the other patch goes in we can rework this patch or if this patch goes in the > other one won't be required. Yes The only issue is that it is not yet accepted or merged. I think Olivier was considering it in a more global mbuf rework.