From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by dpdk.org (Postfix) with ESMTP id 304131B74A for ; Wed, 7 Feb 2018 17:48:00 +0100 (CET) Received: by mail-wr0-f194.google.com with SMTP id v31so1744189wrc.11 for ; Wed, 07 Feb 2018 08:48:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Zl4iP88erhSvekgCwXH29vjmGWwc3Ys3iCDr9yptiBQ=; b=bJP/Yc8L/JxKWMSHTZvgWY8VGOLpizpc93XsVl0ZiMap0EoMSTc2P/ImN0SIYxxgWe RyysZ+C9WVBt2gWeM6VqsjRTGrFNrnqcL5IiyBZO/FudKaP3r1JzzGtmiAGEo6/FVfzS ou5Rcxn6l9YUWST4DRvbhUDN+CnBjHXEDG5bqecOFyapLKYeM0Pl1FNbXQn/vupN6S1B RsAs3jf0OSOOcsp/2WsK9CIozvOSbk1VjvYdwKlChQNioi+l9fIjR9r3G6VYOU9P0qLE TgOhbdOyhl8INb6OTA73HnAcuY93su8GJvqHaIae4x/voYNr3A9J59FdbJ6VfVBt/6l1 +eZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Zl4iP88erhSvekgCwXH29vjmGWwc3Ys3iCDr9yptiBQ=; b=c9ii6BeUyu4YX692PZWKn2aE4EK907Kg6TjoUWq/gYYJTk+KiJiCKEVATBTzaeAj13 9QtWSX0GsG4yjtlJpjEKt1H4AM3v+cUrh9OqcRuNjelznKnW5YiddBdOJiQBMTg/KL1H Fg9NBHJI/0Y16V/2ciaO01kSOmpVH5qj3MOa8J7/IfykynzrtFO+qGS5wznQLapk+MOI 6BZBEGFlYDToYeCCnAkwsEo4waxKK12kX2Zz/QjbyLGP4Qy3GDyR1bWBtJZvDSejFVAR N8CQb+7JLHrOFJdstLtc3rREurd3Sa+GJKE2i0438OAvqBl3gbFS+LYjsn1FsqkgFYJ/ vrdQ== X-Gm-Message-State: APf1xPA1aKngCBJk3fVCwPeMnJCvJjxYBt9ZAc7/h7YaXnL2DeYKOsa5 OnC7NnpU0rCnhdVgzd0rFyMT4gNBxm4= X-Google-Smtp-Source: AH8x227bxfGKltyNC+eQvXJl6oKOeTOWsEFM+fOVp40e1mN3eAP9HFKJl+LorWTipoVVZzGdSj+20A== X-Received: by 10.223.183.27 with SMTP id l27mr6563721wre.181.1518022079932; Wed, 07 Feb 2018 08:47:59 -0800 (PST) Received: from localhost ([2a00:23c5:bef3:400:9531:588b:44ae:bec4]) by smtp.gmail.com with ESMTPSA id g8sm1732819wrb.88.2018.02.07.08.47.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Feb 2018 08:47:59 -0800 (PST) From: luca.boccassi@gmail.com To: Bao-Long Tran Cc: Jasvinder Singh , dpdk stable Date: Wed, 7 Feb 2018 16:47:00 +0000 Message-Id: <20180207164705.29052-29-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180207164705.29052-1-luca.boccassi@gmail.com> References: <20180126131332.15346-62-luca.boccassi@gmail.com> <20180207164705.29052-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'examples/ip_pipeline: fix timer period unit' has been queued to LTS release 16.11.5 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 16:48:00 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.5 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. Luca Boccassi --- >>From 830c7e392dd3b8f310e0d688e9e89eb1b57cbacc 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 d46bd3659..0e1438c11 100644 --- a/examples/ip_pipeline/init.c +++ b/examples/ip_pipeline/init.c @@ -1701,7 +1701,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.14.2