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 D92E7A06CB for ; Tue, 22 Nov 2022 23:02:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B4A8E42D8C; Tue, 22 Nov 2022 23:02:56 +0100 (CET) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mails.dpdk.org (Postfix) with ESMTP id 97E4742D79 for ; Tue, 22 Nov 2022 23:02:55 +0100 (CET) Received: by mail-wr1-f52.google.com with SMTP id x5so22814789wrt.7 for ; Tue, 22 Nov 2022 14:02:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=TY2ImwW8WUndOlKoBFAkWLDQo/L4c2fkYgFv3AQh2F8=; b=bXeyY4koeQ0c99R+mlYflBQescRekXOKLJhBVQnpMDGzEfHSI+sUHY6jAXbZyjqPvl nQbDpFnrQYA6FBnH7wZZo/RIu3TJMRdhVRMCdWTUrWtbal36S0MlVjCqlXVXSXBcr65U lfLJXZvf4FJZ5yzLrUQWcm145/ItQJBn9HMjCJn/c5PFdPsYhtkp6UPFIvsmofMMJ3rm 7I8V3lbIHvNbemrl4vVr/sc6pJm5D7FusmR+dX/btbcrDZuMbr3dXD5sTrGFxIwYj/43 vzL74z9XZEcjWwtks8F3qO1NlujlixI7EUdJDFecmV2vSqiIGVob1btYQHXJS9ZuA9f4 1GNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=TY2ImwW8WUndOlKoBFAkWLDQo/L4c2fkYgFv3AQh2F8=; b=bDQWvcwc/r/qNLWKsZzS/ek/pENtwOZk+YMy7BtA9zyCKHvxa2V3T2fdOYg4r1Yjkv 3lM4Uu5ztOKev/pBZyOzdp4dZRmKJ8EsDUVJfqTzb4CH069iQ3JXqw5fOUgA96UsvoX8 UrLNwvYKYUCNuaBMp4ZBvuS1c/XQNr7EemmAjwtBej0PeugmaS1EmNYTzWkiePn5VWjI cU2RStNUqmlH0OB9NCzFllIf+ZTr8Yi8IQFdy/fKMjBHFIuYdSMfNIiUvJRIppzgqfFd H19pYdPZiLFvZlCmjWvcwWBJtKBLz8MrYZNmv2Nf20y3/AyaqFkaNaIsVJXlqVAU4ck9 NBew== X-Gm-Message-State: ANoB5pkORT/T8qhHhsi/pqVTqlCMz/A/JLg0ut91UzbgqSJkbsWxXVbr PQITCWNY1MyztldRfEgoXPs= X-Google-Smtp-Source: AA0mqf7m54CsRy9iI6ZvBlEuehGBCp3u7VjAoiTYVjg82lmEWaGnPNdYeZ0Crcxi/4y1c832xI6Egg== X-Received: by 2002:a05:6000:1c03:b0:241:c567:8e3a with SMTP id ba3-20020a0560001c0300b00241c5678e3amr3587889wrb.120.1669154575353; Tue, 22 Nov 2022 14:02:55 -0800 (PST) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id r8-20020adfe688000000b0023662245d3csm5680101wrm.95.2022.11.22.14.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 14:02:54 -0800 (PST) From: luca.boccassi@gmail.com To: David Marchand Cc: Tyler Retzlaff , dpdk stable Subject: patch 'app/testpmd: fix build with clang 15' has been queued to stable release 20.11.7 Date: Tue, 22 Nov 2022 22:02:29 +0000 Message-Id: <20221122220241.926784-5-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221122220241.926784-1-luca.boccassi@gmail.com> References: <20221117230859.611465-34-luca.boccassi@gmail.com> <20221122220241.926784-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 20.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/24/22. 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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/d81102bcb08f00000d7950bf5069e96111b795d1 Thanks. Luca Boccassi --- >From d81102bcb08f00000d7950bf5069e96111b795d1 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Fri, 18 Nov 2022 09:53:09 +0100 Subject: [PATCH] app/testpmd: fix build with clang 15 [ upstream commit ff3cc8657549a313d7d3199bc38fbcd0d8090bff ] This variable is used to create some artificial load. Fixes: 3c156061b938 ("app/testpmd: add noisy neighbour forwarding mode") Signed-off-by: David Marchand Acked-by: Tyler Retzlaff --- app/test-pmd/noisy_vnf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/noisy_vnf.c b/app/test-pmd/noisy_vnf.c index a92e810190..d70940006d 100644 --- a/app/test-pmd/noisy_vnf.c +++ b/app/test-pmd/noisy_vnf.c @@ -56,8 +56,8 @@ do_write(char *vnf_mem) static inline void do_read(char *vnf_mem) { + uint64_t r __rte_unused; uint64_t i = rte_rand(); - uint64_t r; r = vnf_mem[i % ((noisy_lkup_mem_sz * 1024 * 1024) / RTE_CACHE_LINE_SIZE)]; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-22 22:01:31.862745289 +0000 +++ 0005-app-testpmd-fix-build-with-clang-15.patch 2022-11-22 22:01:31.467523881 +0000 @@ -1 +1 @@ -From ff3cc8657549a313d7d3199bc38fbcd0d8090bff Mon Sep 17 00:00:00 2001 +From d81102bcb08f00000d7950bf5069e96111b795d1 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit ff3cc8657549a313d7d3199bc38fbcd0d8090bff ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -18 +19 @@ -index b17a1febd3..c65ec6f06a 100644 +index a92e810190..d70940006d 100644 @@ -21 +22 @@ -@@ -57,8 +57,8 @@ do_write(char *vnf_mem) +@@ -56,8 +56,8 @@ do_write(char *vnf_mem)