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 5782FA0C41 for ; Tue, 30 Nov 2021 17:43:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 515EA410F7; Tue, 30 Nov 2021 17:43:13 +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 8AA5A410F7 for ; Tue, 30 Nov 2021 17:43:12 +0100 (CET) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (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 64F393F1B1 for ; Tue, 30 Nov 2021 16:43:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290592; bh=BnQJ9ZvJx86TEaGRv/f56ShawkXoeMvCe/khHzwpgpU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=llCA+AWvmQmle97BQ6zd1yG+O/gJiLmSFCmIFVOit15VLan9bH5qgONaOGv0NQqha 6E/PKB+NViRpZuOFXkshUgvILPWfM4762VCWJdCVFNSecgnjBWF8haJ501qZdkZ+Qq i7YZzPG2X/h4nSjXvUGF1sudB+kWdmHDCoVimky/Hvq4jBPyo1iwQxXh+O4hD1+itA MrAeC/Rx0XEQdTaRR2ooHCPXCpHG2iC+f0jWqrSQdj0wrIXiZzOd7oRacXjZcfyQLw knGnRY0IMLjxYYfXwY+mDz3c1H1IH89vBlG38PMK43NpqpwQSGgI/gCzuVPR4iXXpy MtcLF47rUbJdQ== Received: by mail-ed1-f70.google.com with SMTP id q17-20020aa7da91000000b003e7c0641b9cso17477276eds.12 for ; Tue, 30 Nov 2021 08:43:12 -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=BnQJ9ZvJx86TEaGRv/f56ShawkXoeMvCe/khHzwpgpU=; b=S9416RKHoE1a/MKO0s5tK9IW1OJwKfN7rBq+j81/SGJGDZhcEU/JrLP4iZ0IShuXkm 8bJ/1uuYMEnWdUvN7ujsyCXml4Wm9nDxNKSgsep5Vxni7pY3xSsGL70TcTwmwhLU73pu 2wUjbr4o+UBvZ4QtNnv27q5VmjAi6WdCrKgMhz/cCEmOKv1KgggzTuEgVl36y+R9AFIF UDVuOVlDcoV7WdXtQllHuSqJCpC1DARcdbo7cjIKuBbo3YpHOCdJzculLcA7S8HI5u3m Fxz4E6SFi+U//WecFmDEUtO32b7N6mWfFzTJBPi75TehOCIXdr+gya/GiniDFT6GYoGy VCBw== X-Gm-Message-State: AOAM533myphiyZpoabcFdDjT3KjksxJXcMGAgXYyCWrHq6Ypu90VG7B1 HfL8Qws/+b+cUBmqOmlzuCwdbS701lBwIHiqONl5UCp0CDvDrXC3n6aE517wYrqNj9+eg6NyO1n nOcYOG9M1sXqx4Nm/Jw+MoSAb X-Received: by 2002:a05:6402:2547:: with SMTP id l7mr46878edb.301.1638290592116; Tue, 30 Nov 2021 08:43:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxtc3iKMxfQ5lGMuddhkR+9Ku5UvmBBE/SUvdaByJy5uyH0bo5NGPpkuApubXBnxOkwutg1yg== X-Received: by 2002:a05:6402:2547:: with SMTP id l7mr46857edb.301.1638290591998; Tue, 30 Nov 2021 08:43:11 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:43:11 -0800 (PST) From: christian.ehrhardt@canonical.com To: Conor Walsh Cc: Liang Longfeng , David Marchand , dpdk stable Subject: patch 'net/liquidio: remove unused counter' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:35:40 +0100 Message-Id: <20211130163605.2460997-136-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/571c9e53faaba756f433241b149f76ddb78bdab6 Thanks. Christian Ehrhardt --- >From 571c9e53faaba756f433241b149f76ddb78bdab6 Mon Sep 17 00:00:00 2001 From: Conor Walsh Date: Mon, 15 Nov 2021 17:58:54 +0000 Subject: [PATCH] net/liquidio: remove unused counter [ upstream commit 52415c6b2553d4cd44f79b4cb693016225a67b43 ] Reported by clang 13. Bugzilla ID: 881 Fixes: 5ee7640f95a0 ("net/liquidio: add API to flush IQ") Reported-by: Liang Longfeng Signed-off-by: Conor Walsh Reviewed-by: David Marchand --- drivers/net/liquidio/lio_rxtx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/liquidio/lio_rxtx.c b/drivers/net/liquidio/lio_rxtx.c index 8d705bfe7f..f57b7712b5 100644 --- a/drivers/net/liquidio/lio_rxtx.c +++ b/drivers/net/liquidio/lio_rxtx.c @@ -1050,7 +1050,6 @@ lio_update_read_index(struct lio_instr_queue *iq) int lio_flush_iq(struct lio_device *lio_dev, struct lio_instr_queue *iq) { - uint32_t tot_inst_processed = 0; uint32_t inst_processed = 0; int tx_done = 1; @@ -1073,7 +1072,6 @@ lio_flush_iq(struct lio_device *lio_dev, struct lio_instr_queue *iq) iq->stats.instr_processed += inst_processed; } - tot_inst_processed += inst_processed; inst_processed = 0; } while (1); -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:13.796505703 +0100 +++ 0136-net-liquidio-remove-unused-counter.patch 2021-11-30 16:50:05.974874880 +0100 @@ -1 +1 @@ -From 52415c6b2553d4cd44f79b4cb693016225a67b43 Mon Sep 17 00:00:00 2001 +From 571c9e53faaba756f433241b149f76ddb78bdab6 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 52415c6b2553d4cd44f79b4cb693016225a67b43 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index ef127f26c4..e09798ddd7 100644 +index 8d705bfe7f..f57b7712b5 100644