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 BC138A0C41 for ; Tue, 30 Nov 2021 17:43:17 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AD331410F7; Tue, 30 Nov 2021 17:43:17 +0100 (CET) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id E8316411A7 for ; Tue, 30 Nov 2021 17:43:15 +0100 (CET) Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id BD9EB3F1B2 for ; Tue, 30 Nov 2021 16:43:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290595; bh=BejjQDji3HTqi4/1e7QDWLbwIo3Y+aEpa7H9y3ykM08=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=wC0aZHHgB50pvmRpNIk73YEklTAPA31V9B5o4Hv1aByvCRGsG5bKwXmXB7gOuoct0 +0DLt4CXuRzCfYWAKfN9qSSMl3zN2QvxmVLGVQ2LQyfh2WIeudnTkuF1tNqLDXgZcV Jq3zImxtqxqZ6UwILWqSuNAHAkDUQZqfKvs80u1kbdTsWeEAW1HdDdZMVeUFupkQcL Yj5q/07kFM6+/ydCJwuDRZMvoXbkVVIR+91pb4zEQiQb6ENu7febusS/2wdbQxgDXG LZzxn5RaC9Q0BBiY957dX5VC1N+lLT7ugfp+mLzWYuyexwNbSc3xjgb62qfhqNFvCb +Pz/40VqZaBhA== Received: by mail-ed1-f71.google.com with SMTP id b15-20020aa7c6cf000000b003e7cf0f73daso17418107eds.22 for ; Tue, 30 Nov 2021 08:43:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BejjQDji3HTqi4/1e7QDWLbwIo3Y+aEpa7H9y3ykM08=; b=KC1KLwovN7poX9PPv+dn14TmxYPqhNHkxdMAXnsW7T0QTR8vDM0aBcb+v54P4UhPEm w+4C/laDgtndFW4mq96b8yNbq55/LPVeUIyGOUqZXsyDyUSlBNWNCGtlBpHHHIQAbFZB ogGThF5GSpjmCCfrWmYx7XDj18aeAniBS0VlZ8/chMlATPJCp4tLTGSKMPKvJzHJigAp chKJHGpD8pZIAhoiiEx+ADPi5iiyS9OOzf/a6jKeiU4kUtW7JyZYIEHOkZ0W1aGwneoC JAIgHI8Y83Dnoas1sRD040zscIk2niE8mfTGETnvTTMcoy3SAnYrvuw+ZDQvQOxgbuJG /2KQ== X-Gm-Message-State: AOAM530wUlGp2iUYI1zu7wAkrY/0Q6zsrPPzD/jkdfCLKkFITlYbo4Gf Wv06H10RKgMjtj2lRBWQHoL7WUkY2snDjBadp9wba+mYTpGCJtDR3yilrPA3/QxJf1Kbz0BQiQ6 edQniCoQat/Bl0ZgTFcCeBP0u X-Received: by 2002:a17:907:a40c:: with SMTP id sg12mr242723ejc.408.1638290594911; Tue, 30 Nov 2021 08:43:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyMIrruJDH1t7v14p5xIBXfgrH4ScZ/WGZwUr9xuatHrivRrLJgq1Hhe0yUHJTDaX571Uo/bg== X-Received: by 2002:a17:907:a40c:: with SMTP id sg12mr242698ejc.408.1638290594666; Tue, 30 Nov 2021 08:43:14 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id dy4sm11454065edb.92.2021.11.30.08.43.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:43:13 -0800 (PST) From: christian.ehrhardt@canonical.com To: Conor Walsh Cc: Liang Longfeng , David Marchand , dpdk stable Subject: patch 'test/distributor: remove unused counter' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:35:43 +0100 Message-Id: <20211130163605.2460997-139-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> References: <20211130163605.2460997-1-christian.ehrhardt@canonical.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 19.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before December 10th 2021. 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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/78665353d69fdb904e1d7a5a74b13a5919643087 Thanks. Christian Ehrhardt --- >From 78665353d69fdb904e1d7a5a74b13a5919643087 Mon Sep 17 00:00:00 2001 From: Conor Walsh Date: Mon, 15 Nov 2021 17:58:50 +0000 Subject: [PATCH] test/distributor: remove unused counter [ upstream commit ccbdaaa9815259f5af3b6cd3be6ba6eb8ffc4b5b ] Reported by clang 13. This patch fixes unused but set variables in the distributor test perf. Bugzilla ID: 881 Fixes: c0de0eb82e40 ("distributor: switch over to new API") Reported-by: Liang Longfeng Signed-off-by: Conor Walsh Reviewed-by: David Marchand --- app/test/test_distributor_perf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/test/test_distributor_perf.c b/app/test/test_distributor_perf.c index 1f5db4c533..2441231e49 100644 --- a/app/test/test_distributor_perf.c +++ b/app/test/test_distributor_perf.c @@ -108,7 +108,6 @@ static int handle_work(void *arg) { struct rte_distributor *d = arg; - unsigned int count = 0; unsigned int num = 0; int i; unsigned int id = __atomic_fetch_add(&worker_idx, 1, __ATOMIC_RELAXED); @@ -120,11 +119,9 @@ handle_work(void *arg) num = rte_distributor_get_pkt(d, id, buf, buf, num); while (!quit) { worker_stats[id].handled_packets += num; - count += num; num = rte_distributor_get_pkt(d, id, buf, buf, num); } worker_stats[id].handled_packets += num; - count += num; rte_distributor_return_pkt(d, id, buf, num); return 0; } -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:13.950106343 +0100 +++ 0139-test-distributor-remove-unused-counter.patch 2021-11-30 16:50:05.978874910 +0100 @@ -1 +1 @@ -From ccbdaaa9815259f5af3b6cd3be6ba6eb8ffc4b5b Mon Sep 17 00:00:00 2001 +From 78665353d69fdb904e1d7a5a74b13a5919643087 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit ccbdaaa9815259f5af3b6cd3be6ba6eb8ffc4b5b ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index fdbeae6d2f..92e330f194 100644 +index 1f5db4c533..2441231e49 100644