From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id AD8406C9C for ; Mon, 29 Feb 2016 11:23:34 +0100 (CET) Received: by mail-wm0-f47.google.com with SMTP id l68so51769018wml.1 for ; Mon, 29 Feb 2016 02:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=TJqlgGtLDW12zY3I7AOMlg6Q/PkXPWxcqsLQaSq6M/c=; b=Y5mktxpZGIwKaaQxu/uX4Y4JRjVZ+nKTq8pYRJ8367muKqjcgjVQaRY89zOrC51OjH qukMPN/hPiHxmJPdeOvJo3FJHXDlGL3iZWdsnJMCtNfaPnbjEmaTuYYQgK/8rXuEwXrW 3Kao4JvFL8FXhJYh7G8HIlEd7PFYc4mO6q4VGIKxlxDW698OfqtxIJ0Bml7DpMHwojHV YQgnsNx8rwtbIOPLWRWArd2PprToHQGaDI0inbFeK16A5f7HIboDpawTHXAjsIFs13+F cfPkUAp5N1A0X0ew894O6DzJqjWiYjUoiVjK2iFm1WlQxJmlJ5/Ry6YqOxeRfNJOM2Y1 ed+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=TJqlgGtLDW12zY3I7AOMlg6Q/PkXPWxcqsLQaSq6M/c=; b=cBwm1sMrdzdy7T6z+tHb3fk/xtOuAmfP9OZ6DGcvh4PFrX1C8HozmKvUJBGN6mCsp+ mviEuhZBFHzlFkN2Mk83ZXajlZsrbeehgbZRw5aXs/tH2/y1tGjEF6ob/Fxcjdn1nc8K /cKGRsfsM3JmkiBdJV5MX7nbyaiUDl3PFjUba8Yq4tIq/M+r1qy5Kk4k+RJW09o9wxas IXXEVoUFXCOaOtuObUR/IoA4+93tCMycOWXsvdDvp0k3CibFulspcRxdzuiqKPEka9f7 Ql1JFJ8RHRaajwtyl/ibDbopbOMpIVuU9t9QQhNbjDQbuPr+8ixOvXCYN0zKRcdLWOQC tJdg== X-Gm-Message-State: AD7BkJKUzXkCsNUxhz6w1JDaMAszTHBm7ALp/4M26oATwsXh/rtGmQsrZ54XQBTsLt7YfeZg X-Received: by 10.28.85.137 with SMTP id j131mr10228547wmb.15.1456741414547; Mon, 29 Feb 2016 02:23:34 -0800 (PST) Received: from xps13.localnet (171.36.101.84.rev.sfr.net. [84.101.36.171]) by smtp.gmail.com with ESMTPSA id c26sm15513131wmi.24.2016.02.29.02.23.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Feb 2016 02:23:33 -0800 (PST) From: Thomas Monjalon To: Marcin Kerlin Date: Mon, 29 Feb 2016 11:21:56 +0100 Message-ID: <2175407.ng3Fnlb5a0@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <56C321DD.6080906@intel.com> References: <1454081497-13015-1-git-send-email-marcinx.kerlin@intel.com> <1455293081-13094-1-git-send-email-marcinx.kerlin@intel.com> <56C321DD.6080906@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3 1/1] jobstats: added function abort for job X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 10:23:34 -0000 2016-02-16 13:19, Zhang, Roy Fan: > > On 12/02/2016 16:04, Marcin Kerlin wrote: > > This patch adds new function rte_jobstats_abort. It marks *job* as finished and > > time of this work will be add to management time instead of execution time. This > > function should be used instead of rte_jobstats_finish if condition occurs, > > condition is defined by the application for example when receiving n>0 packets. > > Example of usage is added to the example l2fwd-jobstats. At maximum load do-while > > loop inside Idle job will be execute once because one or more jobs waiting to be > > executed, so this time should not be include as the execution time by calling > > rte_jobstats_abort(). > > > > v2: > > * removed redundant field > > v3: > > * added an example of using > > > > Signed-off-by: Marcin Kerlin [...] > > --- a/lib/librte_jobstats/rte_jobstats_version.map > > +++ b/lib/librte_jobstats/rte_jobstats_version.map > > @@ -17,3 +17,10 @@ DPDK_2.0 { > > > > local: *; > > }; > > + > > +DPDK_2.3 { updated to 16.04 > > + global: > > + > > + rte_jobstats_abort; > > + > > +} DPDK_2.0; > > Acked-by : Fan Zhang Applied, thanks