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 6A21BA051C for ; Tue, 11 Feb 2020 12:40:28 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5944F1BFA7; Tue, 11 Feb 2020 12:40:28 +0100 (CET) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by dpdk.org (Postfix) with ESMTP id 464D81BFA7 for ; Tue, 11 Feb 2020 12:40:27 +0100 (CET) Received: by mail-wr1-f46.google.com with SMTP id r11so8706394wrq.10 for ; Tue, 11 Feb 2020 03:40:27 -0800 (PST) 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=gr+6rzdwrHztAOFXt4dlHhkMJJG86kE3z6PRCSM8jE0=; b=bQukEV3wJFw+HPfJOy1z30rSMHrehhQoDC/F8+EOqdOs2ZQVE6LlvyiZ4294ft1gxe OxWg+CHWledv/+OfSWg/eetlGHm1QWrHczMMiNPRWCwhHZSgWJEtTM0atQNhhGt/JbyD kOst89isVVLBM+5q0P8jbFaEJOu4ItlU4gqys3j4HexK9GGyLCPY7AfPifEWvGmUAfTi 97Hj/U7vE/Ii6z/+zM6R5PeqAjpcbYbD75ws9MUIywvgc3RDKdmR5EAHIqLHfYX/7y9o xQAIYQlZ8KYNntucm4xKqaxQbB73ySrYD8qsS7iXRmvfdlJCUblFxopD2Rqy7Yb6gEEf hjKA== 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=gr+6rzdwrHztAOFXt4dlHhkMJJG86kE3z6PRCSM8jE0=; b=OCeUBS8448/5RUVhqJL99mzkm/6Q6btJVci0T1RJ4KkYVIIFFO66bN2rUmM0I7zy1F PA95WrM1eUXvhNzMxSOv45LWyepi8tMDm3dpvEUiHvmdFqx0hT39dKPhAguPgCYQPiAS CPK/rXhOaNGCMnDbu5gFjgj/PKq2XlIqX2h5FQY+zIXmbguGzUBcBmQ5jnmBX8EODTnt VD1cEh7EWP8yJoLDr/6Du29aZhQ6py8E7S7L5ouJAxqlVU+ysRR5Xlj6zbKAckmMWMng avJvxRIIW2dJKuViMNn/S/ISy8dCzOQTzcjWGZkfYW0WlNLK7apyFq/jvDXgxJbYgP6y nLcA== X-Gm-Message-State: APjAAAUk7vFG3AnPpkPn31xVmW9SQyesx0KMdjjkoI1oavii168DnFdP D9oO4H3BwimECOoaC3MEtl2gclZQSYk= X-Google-Smtp-Source: APXvYqz17Lupg6LQm3Ef0ZeKVRwO37qxqaW+S090Stalyj/HIqHKYaLAFE62ulxYv7QQ8pa0JIG65w== X-Received: by 2002:a5d:6692:: with SMTP id l18mr7907437wru.382.1581421226926; Tue, 11 Feb 2020 03:40:26 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id n3sm4895044wrs.8.2020.02.11.03.40.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 03:40:26 -0800 (PST) From: luca.boccassi@gmail.com To: Stephen Hemminger Cc: Ajit Khaparde , dpdk stable Date: Tue, 11 Feb 2020 11:21:26 +0000 Message-Id: <20200211112216.3929-140-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200211112216.3929-1-luca.boccassi@gmail.com> References: <20200211112216.3929-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/bnxt: remove unnecessary memset' has been queued to stable release 19.11.1 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.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/13/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 5ea9faffd4ff22c60c394b8458689c845e82119d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 22 Jan 2020 09:55:14 -0800 Subject: [PATCH] net/bnxt: remove unnecessary memset [ upstream commit 77a2a3c81d1df0776cbca8adaf1163b1dbdf9b6f ] The rte_ethdev layer already zeros statistics before calling the device. Fixes: 57d5e5bc86e4 ("net/bnxt: add statistics") Signed-off-by: Stephen Hemminger Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_stats.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_stats.c b/drivers/net/bnxt/bnxt_stats.c index 20c181dc9b..743f2ce94e 100644 --- a/drivers/net/bnxt/bnxt_stats.c +++ b/drivers/net/bnxt/bnxt_stats.c @@ -389,7 +389,6 @@ int bnxt_stats_get_op(struct rte_eth_dev *eth_dev, if (rc) return rc; - memset(bnxt_stats, 0, sizeof(*bnxt_stats)); if (!(bp->flags & BNXT_FLAG_INIT_DONE)) return -EIO; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-02-11 11:17:43.530329284 +0000 +++ 0140-net-bnxt-remove-unnecessary-memset.patch 2020-02-11 11:17:38.652006059 +0000 @@ -1,13 +1,14 @@ -From 77a2a3c81d1df0776cbca8adaf1163b1dbdf9b6f Mon Sep 17 00:00:00 2001 +From 5ea9faffd4ff22c60c394b8458689c845e82119d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 22 Jan 2020 09:55:14 -0800 Subject: [PATCH] net/bnxt: remove unnecessary memset +[ upstream commit 77a2a3c81d1df0776cbca8adaf1163b1dbdf9b6f ] + The rte_ethdev layer already zeros statistics before calling the device. Fixes: 57d5e5bc86e4 ("net/bnxt: add statistics") -Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Reviewed-by: Ajit Khaparde @@ -16,7 +17,7 @@ 1 file changed, 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_stats.c b/drivers/net/bnxt/bnxt_stats.c -index 65f90e0d85..32f112b5ba 100644 +index 20c181dc9b..743f2ce94e 100644 --- a/drivers/net/bnxt/bnxt_stats.c +++ b/drivers/net/bnxt/bnxt_stats.c @@ -389,7 +389,6 @@ int bnxt_stats_get_op(struct rte_eth_dev *eth_dev,