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 57CF4A0C41 for ; Tue, 30 Nov 2021 17:43:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3658F411DB; Tue, 30 Nov 2021 17:43:02 +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 8095C41190 for ; Tue, 30 Nov 2021 17:43:01 +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 6210E3F1ED for ; Tue, 30 Nov 2021 16:43:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290581; bh=p+yDgziz+GPtvUTW3Tq4bsnpL7fi37fl1lVVSgkdvqg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=K1z64WSRWqznMdpvy8ok8Z4cUaewVl05Zigxe2jy4nTuFux9qxa6M00rybAvuAFSS g5w2x37xW1lWbzN1KA08SJZERquZwxnKBljMcCpNQozrnBdus8iwA1h815ZuITmZz6 Cz9jYVWm1FgiypVYZbu23lYlP7pFTv1mDDnDcXAIKCwd8R8F+62RwIp8sKdffSx5no zR59pEeY4aDpSNSR0eiuI4YZhk9As2YmvJfGbk0e5IL1K68qWRkvMQzCx2xX/eqQgW 3UPct1O8CRKkj6LhBPHFryCWRWaa2Cjj+t52mlG8t8t9hpw3MPu2wwRVUYie8e0Nb5 7qmbBSGzRtmdQ== Received: by mail-ed1-f71.google.com with SMTP id b15-20020aa7c6cf000000b003e7cf0f73daso17417515eds.22 for ; Tue, 30 Nov 2021 08:43:01 -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=p+yDgziz+GPtvUTW3Tq4bsnpL7fi37fl1lVVSgkdvqg=; b=u28LvocLPApuxQLlTfYQvUvKKFpGSw9lzGBZE/yBwrqLKjTWvhcrhHsZ9IOqYqzuv/ CsjyRbXskxYL2In16iP2wpEtXlBtAhYjxZ2DweviABatpyqRMMBH6oAw8EiDDY+r9D57 sEkFdrpXMvNjdQiAKjQDsNqiVMLEXnzlHlHYRpnV4LGWW5vtBKasS5x4FJ+ODW/oRuC1 dfROVVGUAPPO5l/8u8SopZpPJOpQUfqZTVDfPAWuB/ZttgiH9dZEy23mDiRxGhPdblLn YIe8LDXZS7HjHY/NZCbQJPj9LpUso+8Dj2tgkHzY5zneVVEZDwQ/VBaGXKF2tKtuLu6a og0g== X-Gm-Message-State: AOAM531UTFtKUdU0YZFFFOsROQIx9gMvNot+buvm+yUjBbTw1pRynFJE 2U6w3B0JZ+vUqs3WmLbIX0Cbj7AcD+56kXuumX0J+Y4DUnBjBK32mJzEbhLAZolKS3Pcdkppf1Z YVw779rl5eazT3xkkCkRctruL X-Received: by 2002:a17:906:229b:: with SMTP id p27mr265032eja.264.1638290580879; Tue, 30 Nov 2021 08:43:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4S0jlXIiRrouHs5uuGrap6O1zrNjpT0gFWG48hSxWYxDoszprQhCT5vk4cx3151iDnA4y0Q== X-Received: by 2002:a17:906:229b:: with SMTP id p27mr265014eja.264.1638290580724; Tue, 30 Nov 2021 08:43:00 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id c8sm11188092edu.60.2021.11.30.08.42.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:43:00 -0800 (PST) From: christian.ehrhardt@canonical.com To: Conor Walsh Cc: Liang Longfeng , Harry van Haaren , David Marchand , dpdk stable Subject: patch 'event/sw: remove unused inflight events count' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:35:39 +0100 Message-Id: <20211130163605.2460997-135-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/0f5f1767a166ac516cfc2b3439f90512eb5ae685 Thanks. Christian Ehrhardt --- >From 0f5f1767a166ac516cfc2b3439f90512eb5ae685 Mon Sep 17 00:00:00 2001 From: Conor Walsh Date: Mon, 15 Nov 2021 17:58:53 +0000 Subject: [PATCH] event/sw: remove unused inflight events count [ upstream commit 0f66d415c467daa1a41bb5184d72e61980c8991b ] Reported by clang 13. This patch removes the inflights variable from the sw_dump function within the software section of the event driver as it is an unused but set variable. Bugzilla ID: 881 Fixes: c66baa68e453 ("event/sw: add dump function for easier debugging") Reported-by: Liang Longfeng Signed-off-by: Conor Walsh Acked-by: Harry van Haaren Reviewed-by: David Marchand --- drivers/event/sw/sw_evdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c index fb8e8bebbb..d075108610 100644 --- a/drivers/event/sw/sw_evdev.c +++ b/drivers/event/sw/sw_evdev.c @@ -717,7 +717,6 @@ sw_dump(struct rte_eventdev *dev, FILE *f) continue; } int affinities_per_port[SW_PORTS_MAX] = {0}; - uint32_t inflights = 0; fprintf(f, " Queue %d (%s)\n", i, q_type_strings[qid->type]); fprintf(f, "\trx %"PRIu64"\tdrop %"PRIu64"\ttx %"PRIu64"\n", @@ -738,7 +737,6 @@ sw_dump(struct rte_eventdev *dev, FILE *f) for (flow = 0; flow < RTE_DIM(qid->fids); flow++) if (qid->fids[flow].cq != -1) { affinities_per_port[qid->fids[flow].cq]++; - inflights += qid->fids[flow].pcount; } uint32_t port; -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:13.747135766 +0100 +++ 0135-event-sw-remove-unused-inflight-events-count.patch 2021-11-30 16:50:05.974874880 +0100 @@ -1 +1 @@ -From 0f66d415c467daa1a41bb5184d72e61980c8991b Mon Sep 17 00:00:00 2001 +From 0f5f1767a166ac516cfc2b3439f90512eb5ae685 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 0f66d415c467daa1a41bb5184d72e61980c8991b ] + @@ -13 +14,0 @@ -Cc: stable@dpdk.org @@ -24 +25 @@ -index 070a4802e9..fa72ceb949 100644 +index fb8e8bebbb..d075108610 100644 @@ -27 +28 @@ -@@ -711,7 +711,6 @@ sw_dump(struct rte_eventdev *dev, FILE *f) +@@ -717,7 +717,6 @@ sw_dump(struct rte_eventdev *dev, FILE *f) @@ -35 +36 @@ -@@ -732,7 +731,6 @@ sw_dump(struct rte_eventdev *dev, FILE *f) +@@ -738,7 +737,6 @@ sw_dump(struct rte_eventdev *dev, FILE *f)