From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id ED8FEA0518 for ; Fri, 24 Jul 2020 14:07:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E2F991C196; Fri, 24 Jul 2020 14:07:50 +0200 (CEST) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id 4E7FC1C1A7 for ; Fri, 24 Jul 2020 14:07:49 +0200 (CEST) Received: by mail-wm1-f67.google.com with SMTP id j18so7744720wmi.3 for ; Fri, 24 Jul 2020 05:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LrOakXkfDT7ARRDLGMsjsIDMwriKYlaw8hYcQu+sDi8=; b=CH8hZhh0GsagrSsELffCffrJi/aGJJvXJjQh91Z3KKxXnQYdE7jQusLodTNoyuxHA2 gabMZKZK4tQT+5pmnLJj8gU1I+ZXWqclJlUjnIMA1ZEwjS6vByO7BIbXPfhUzkFS3u0L 1+D3lDMt7VXkbwooDWkH13ntO5DpF56CdbnPHTRqFuJAh4caD6V0vFkfxSf7nFsY8lpC B3MB8tf9h9jPbmr6E9NJ4K5f95WWlvRV7hvSdo96AYFv0n1zYV6I0oe4TQ3zc85Z5mpO ubJATHc8Cs4sjaLxIy81LIg/3WMtPT5t76dvFQDpa/OTJGEsv44prn0X0M7hW2tKpEMr VsnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LrOakXkfDT7ARRDLGMsjsIDMwriKYlaw8hYcQu+sDi8=; b=aYQElv/qGQFRmukcp+GLMYQs5SB3YGb9gujiV9At2BAMkzjbW2b7lGd87f6yfa4pF1 yk1t3bbS4bd5ywf/4paGtNtXHmqvSvdwS0xjTVsxnqJn1WC7pWjDTwlfU0Xc6SK6HbeX xX11BBM+pjMSgvgmeOB6tlAA/DBKrepgzPBOCZx4aFzKG2ikERxkVQfWGhUf/pKOoTXC k8FSeiBC0EvGXJtivHZmtGQ4No8gwMUGXphRDoOM+djD4ebwz7lOH/4U84h+10fbo4bP /taDKzCYKISaE+vrLM8hW0JQaY1Pu6KfaN5okeEktGZy5ladrtAxgtAVSAwv9p5bqVSS fPNw== X-Gm-Message-State: AOAM5338sZ+1Eok6JXoDfBy8Ac0Rg8J/0vNSYYblFM6MVENf7puA8i6d HP8a/RD2D1Rts3HKoDiYU04= X-Google-Smtp-Source: ABdhPJytzr6kgCiQ5CpiCVXETyiBLWzesiMlZYMUeNpOyOX/gWfH7aFXNHgZMdAqeF5I9r9DTqMfvA== X-Received: by 2002:a1c:44d7:: with SMTP id r206mr8124249wma.7.1595592469055; Fri, 24 Jul 2020 05:07:49 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id y11sm1168340wrs.80.2020.07.24.05.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 05:07:48 -0700 (PDT) From: luca.boccassi@gmail.com To: Ferruh Yigit Cc: Qi Zhang , dpdk stable Date: Fri, 24 Jul 2020 12:59:05 +0100 Message-Id: <20200724120030.1863487-107-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200724120030.1863487-1-luca.boccassi@gmail.com> References: <20200724120030.1863487-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/ixgbe/base: remove dead code' has been queued to stable release 19.11.4 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/26/20. 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. Thanks. Luca Boccassi --- >From 829d08cc2c20aad0276eba50d286dd19904fd962 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Tue, 30 Jun 2020 15:45:54 +0100 Subject: [PATCH] net/ixgbe/base: remove dead code [ upstream commit a6395d471e14e5a7432875dad8fb3533238c5167 ] The question around getting rid of the assignments seems lived long enough, if they are not needed until now, we can drop them. Fixes: 39bca0ed994c ("ixgbe: DCB in base driver") Signed-off-by: Ferruh Yigit Acked-by: Qi Zhang --- drivers/net/ixgbe/base/ixgbe_dcb_82598.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/net/ixgbe/base/ixgbe_dcb_82598.c b/drivers/net/ixgbe/base/ixgbe_dcb_82598.c index bb309e28f..dc7b905c5 100644 --- a/drivers/net/ixgbe/base/ixgbe_dcb_82598.c +++ b/drivers/net/ixgbe/base/ixgbe_dcb_82598.c @@ -36,14 +36,6 @@ s32 ixgbe_dcb_get_tc_stats_82598(struct ixgbe_hw *hw, stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc)); /* Received Bytes */ stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc)); - -#if 0 - /* Can we get rid of these?? Consequently, getting rid - * of the tc_stats structure. - */ - tc_stats_array[up]->in_overflow_discards = 0; - tc_stats_array[up]->out_overflow_discards = 0; -#endif } return IXGBE_SUCCESS; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-07-24 12:53:52.669450951 +0100 +++ 0107-net-ixgbe-base-remove-dead-code.patch 2020-07-24 12:53:48.359007801 +0100 @@ -1,13 +1,14 @@ -From a6395d471e14e5a7432875dad8fb3533238c5167 Mon Sep 17 00:00:00 2001 +From 829d08cc2c20aad0276eba50d286dd19904fd962 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Tue, 30 Jun 2020 15:45:54 +0100 Subject: [PATCH] net/ixgbe/base: remove dead code +[ upstream commit a6395d471e14e5a7432875dad8fb3533238c5167 ] + The question around getting rid of the assignments seems lived long enough, if they are not needed until now, we can drop them. Fixes: 39bca0ed994c ("ixgbe: DCB in base driver") -Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit Acked-by: Qi Zhang