From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id D8C251B79A for ; Wed, 7 Feb 2018 10:00:07 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8610D20F2D; Wed, 7 Feb 2018 04:00:07 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 07 Feb 2018 04:00:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=FZ7WI/+GDp5PtMCfv iXpbBiqUBmdkKTakKhj6bTDL/g=; b=JB6YlTPDRvtVVl+77yg6pP3aCdynSFZuE bPImgiq4FrYSwXo0izgHyKJfmzFST1CdwFZfZ1xBnGeehLB6WraAIDjNW0/BJgI9 5aPKkRNDKejzrkxTLLkVsVWbLPsN4sF9C1hstuAZoeXSETFX5ELyZnD+TJg+4dyt Z/sPnCIdtIfPtcgSCz06hbeo6tAO84QXfCWBWxp9Frwe4UyLuVxEcJk6KBWP1Wyd /Cq58EeKy3GQpuZ/PCBhT3uCtNjrAQowXfqq7a6TH4TdmujAhGPbLha5fJluuqkL 659u3FpoHl+zYo/m4ajdORgAkrZpIKl+v3rIZd2p1MOXH3HOAo+eA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=FZ7WI/+GDp5PtMCfviXpbBiqUBmdkKTakKhj6bTDL/g=; b=LNTbtjtZ VlwX0ba2nIMjCCYcVkrHzsBc1uo0bztgT9ndBfgVbyKn52PtdUmcraSwu9/QxLrh GC+EaFYyQ0rVR51mmJHZiKcr5I+W6Gdd6iQ8nW//C43iI0t36qYujvP2L5x6V/1S yPYz9+5VOfqwBzWCOYk4yfDwzS4eQb/dBzetKfxfUByiGrC8temj9AVwy9/c2RzG k1oymsVtfk50M/BHD17HEM7/R71qIA1vge2YYJKUsdNJNwkyV4lQMEvnes6hF/Qh sR8jcrHh4BCstLdT9y2ZtdicTWJQdWSFX7GerCcuRNAQ3lw/TTo2Sj01AnJDcgBc q7CsGVJ34NHCvA== X-ME-Sender: Received: from localhost.localdomain (unknown [182.84.161.100]) by mail.messagingengine.com (Postfix) with ESMTPA id 199DF24BA7; Wed, 7 Feb 2018 04:00:04 -0500 (EST) From: Yuanhan Liu To: Bao-Long Tran Cc: Jasvinder Singh , dpdk stable Date: Wed, 7 Feb 2018 16:57:11 +0800 Message-Id: <1517993838-26692-17-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517993838-26692-1-git-send-email-yliu@fridaylinux.org> References: <1517993838-26692-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'examples/ip_pipeline: fix timer period unit' has been queued to LTS release 17.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Feb 2018 09:00:08 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/09/18. So please shout if anyone has objections. Thanks. --yliu --- >>From ad2beec0ac6233e099fffce0f2135a1c31d949f7 Mon Sep 17 00:00:00 2001 From: Bao-Long Tran Date: Wed, 31 Jan 2018 15:48:16 +0700 Subject: [PATCH] examples/ip_pipeline: fix timer period unit [ upstream commit 07b7b0b5a922a44c24252cb62e4ebba3b8774674 ] The timer_period option specified by users via config file should have unit of 1 millisecond. However timer_period is internally converted to unit of 10 millisecond. Fixes: 4e14069328fc ("examples/ip_pipeline: measure CPU utilization") Signed-off-by: Bao-Long Tran Reviewed-by: Jasvinder Singh --- examples/ip_pipeline/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ip_pipeline/init.c b/examples/ip_pipeline/init.c index e56e404..ffd0fc2 100644 --- a/examples/ip_pipeline/init.c +++ b/examples/ip_pipeline/init.c @@ -1726,7 +1726,7 @@ app_init_pipelines(struct app_params *app) data->ptype = ptype; data->timer_period = (rte_get_tsc_hz() * - params->timer_period) / 100; + params->timer_period) / 1000; } } -- 2.7.4