From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F2F84454E8 for ; Tue, 25 Jun 2024 01:59:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEC24410E8; Tue, 25 Jun 2024 01:59:39 +0200 (CEST) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mails.dpdk.org (Postfix) with ESMTP id 06CBC400EF for ; Tue, 25 Jun 2024 01:59:39 +0200 (CEST) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-42172ed3487so37415575e9.0 for ; Mon, 24 Jun 2024 16:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719273579; x=1719878379; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TDjv62lyF7coT4VNuBAwh/IQnG+MiqFzvGMZEu2D3wM=; b=fJAW1TPdxbMt/mzP1pwxVWYHaw0qCP9dv++A0Azq0+wr+QFaMjSP30w44goCEcNfmU p8WPe/kCrfLmflVV2QodppOV8+ntnhg0XxE6fraTdfn5jBuJBYXC01/PHlTNIws5U4/l umVR6/8NFX4jwByQBL0WfljcgfYTPdnNmIbOd7tiVVkEZXgkq4YVWYx5ppGKl7gijf/4 CHaDu2LNeahIwvvd3eGDi/j/ryUG6aqHA79qIwwwg6I0nhhB1JTqHTJW/8/dkaswx0sa FCYn8RXBzBIXjwt2Xj0Bdg1WWZeMZBLqtSYzt8qOwvLpJUeOf+KYY+uddoniIADMFC1J bRcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719273579; x=1719878379; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TDjv62lyF7coT4VNuBAwh/IQnG+MiqFzvGMZEu2D3wM=; b=euDiZJsbkOILcfgoplvhucbuPbvMZgr8skiSitkSgO9F5wcTQ72oviI/6+eqRejAY9 KDoY/PvXzKeAN9cGV8rMh0QRtlAZ1yoaNiBuR1zLU212+QGuYQUsbVhJ086F6bRHmosj 98T2M0zehNkeo5w1uY0tdsmUocUzeIoLaaix9/bxddWEimHTqh4YYRLKYiEa1nWAIt6s 53X+sR4eMfb5T/oFTKZ6TqTnPfb2fmFTyd1EHEI5yekhaIhTCWfBeNMFCfxBH8038rtQ FpLVTqqolqbphNoBMurrLFEyiiVQgIlyiE7iFrNpGOounNzw7gjDt7498aMVbWxK1Vv6 jQtQ== X-Gm-Message-State: AOJu0YwMv3J3BlRyS1iBwYISu2xyJzUv0g/HCBbQpS//TgEvD/sfipDw PWdJ8wvQw9tgs+mBIha+p7pebGz2uphpLGj2U5v/jcg4ybNNz3Plkj474w== X-Google-Smtp-Source: AGHT+IGHiKs+Acodfu35gTDAFjElhnoN6c86gB1ASfzddndZWxVWOUvsyU6rulvAU4ZK5NIdKZ9y6w== X-Received: by 2002:a05:600c:6d8e:b0:422:df2a:7483 with SMTP id 5b1f17b1804b1-42489e46ea4mr48633895e9.20.1719273578693; Mon, 24 Jun 2024 16:59:38 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:7aef:1aaa:3dff:d546]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-424817a9981sm155446515e9.17.2024.06.24.16.59.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jun 2024 16:59:38 -0700 (PDT) From: luca.boccassi@gmail.com To: Tyler Retzlaff Cc: dpdk stable Subject: patch 'latencystats: fix literal float suffix' has been queued to stable release 22.11.6 Date: Tue, 25 Jun 2024 00:57:53 +0100 Message-Id: <20240624235907.885628-7-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240624235907.885628-1-luca.boccassi@gmail.com> References: <20240624235907.885628-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/27/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/0257b6327a34cb112afbc349468a275aa839875d Thanks. Luca Boccassi --- >From 0257b6327a34cb112afbc349468a275aa839875d Mon Sep 17 00:00:00 2001 From: Tyler Retzlaff Date: Mon, 15 Apr 2024 14:32:26 -0700 Subject: [PATCH] latencystats: fix literal float suffix [ upstream commit 792cb874db647e31183ab6680922cd293dd5bfa6 ] Add missing f suffix to floating point literal to avoid warning about truncation from double to float. Fixes: 5cd3cac9ed22 ("latency: added new library for latency stats") Signed-off-by: Tyler Retzlaff --- lib/latencystats/rte_latencystats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/latencystats/rte_latencystats.c b/lib/latencystats/rte_latencystats.c index 8985a377db..e47eac2cf8 100644 --- a/lib/latencystats/rte_latencystats.c +++ b/lib/latencystats/rte_latencystats.c @@ -164,7 +164,7 @@ calc_latency(uint16_t pid __rte_unused, * a constant smoothing factor between 0 and 1. The value * is used below for measuring average latency. */ - const float alpha = 0.2; + const float alpha = 0.2f; now = rte_rdtsc(); for (i = 0; i < nb_pkts; i++) { -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-06-25 00:22:13.754169540 +0100 +++ 0007-latencystats-fix-literal-float-suffix.patch 2024-06-25 00:22:13.065183203 +0100 @@ -1 +1 @@ -From 792cb874db647e31183ab6680922cd293dd5bfa6 Mon Sep 17 00:00:00 2001 +From 0257b6327a34cb112afbc349468a275aa839875d Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 792cb874db647e31183ab6680922cd293dd5bfa6 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -18 +19 @@ -index 4ea9b0d75b..cae4b50878 100644 +index 8985a377db..e47eac2cf8 100644 @@ -21 +22 @@ -@@ -166,7 +166,7 @@ calc_latency(uint16_t pid __rte_unused, +@@ -164,7 +164,7 @@ calc_latency(uint16_t pid __rte_unused,