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 E2851A054C for ; Fri, 14 Feb 2020 18:05:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DAA0B1F28; Fri, 14 Feb 2020 18:05:00 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 77A522629 for ; Fri, 14 Feb 2020 18:04:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581699899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vgqZi1ZrsiqCckuw3ZnhYICB7eKo1jk7v5y0am6JmD0=; b=DjC7Bl1/cP/plraSuyuRpbWqd89g+FryjJV7x/S4j91ZgWMouL8HhPLt0mwK/19P19/baI oLZwuFaQx+/hhzYZr71LyqxFgaQ4OMH8IFNGChjRlNypG8oxU4ZhyigOqPUYuJrg7Ok4c4 Hc1QJ5Ox2fGvpURBxXi9XrYW7wWc3Wg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-51-q2kBX9NJN9eMBUFRsSq8fA-1; Fri, 14 Feb 2020 12:04:55 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0F21C18C35A2; Fri, 14 Feb 2020 17:04:54 +0000 (UTC) Received: from rh.redhat.com (unknown [10.33.36.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id C421F89F3C; Fri, 14 Feb 2020 17:04:50 +0000 (UTC) From: Kevin Traynor To: Stephen Hemminger Cc: Ajit Khaparde , dpdk stable Date: Fri, 14 Feb 2020 17:03:12 +0000 Message-Id: <20200214170337.25093-18-ktraynor@redhat.com> In-Reply-To: <20200214170337.25093-1-ktraynor@redhat.com> References: <20200214170337.25093-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: q2kBX9NJN9eMBUFRsSq8fA-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'net/bnxt: remove unnecessary memset' has been queued to LTS release 18.11.7 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 LTS release 18.11.7 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/20/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 rebasi= ng (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/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/8ff12f49be30266fe8= c9f1839afb8ce1f7100e41 Thanks. Kevin. --- >From 8ff12f49be30266fe8c9f1839afb8ce1f7100e41 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 3846c7d896..ed93c19b03 100644 --- a/drivers/net/bnxt/bnxt_stats.c +++ b/drivers/net/bnxt/bnxt_stats.c @@ -385,5 +385,4 @@ int bnxt_stats_get_op(struct rte_eth_dev *eth_dev, =09unsigned int num_q_stats; =20 -=09memset(bnxt_stats, 0, sizeof(*bnxt_stats)); =09if (!(bp->flags & BNXT_FLAG_INIT_DONE)) =09=09return -EIO; --=20 2.21.1 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092020-02-14 17:02:38.035519604 +0000 +++ 0018-net-bnxt-remove-unnecessary-memset.patch=092020-02-14 17:02:36.950= 407959 +0000 @@ -1 +1 @@ -From 77a2a3c81d1df0776cbca8adaf1163b1dbdf9b6f Mon Sep 17 00:00:00 2001 +From 8ff12f49be30266fe8c9f1839afb8ce1f7100e41 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 77a2a3c81d1df0776cbca8adaf1163b1dbdf9b6f ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 65f90e0d85..32f112b5ba 100644 +index 3846c7d896..ed93c19b03 100644 @@ -22,2 +23,2 @@ -@@ -390,5 +390,4 @@ int bnxt_stats_get_op(struct rte_eth_dev *eth_dev, - =09=09return rc; +@@ -385,5 +385,4 @@ int bnxt_stats_get_op(struct rte_eth_dev *eth_dev, + =09unsigned int num_q_stats;