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 883DA432DA for ; Wed, 8 Nov 2023 20:27:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81E43406A2; Wed, 8 Nov 2023 20:27:19 +0100 (CET) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mails.dpdk.org (Postfix) with ESMTP id 96BC142E28 for ; Wed, 8 Nov 2023 20:27:18 +0100 (CET) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2c50cf61f6dso100010141fa.2 for ; Wed, 08 Nov 2023 11:27:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699471638; x=1700076438; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eWnaRqX3AD85qdJgbOZsBWrR4rpiRwZ4RnD0i6NyYss=; b=ciGcBsTzxZxPPEathDDmy/RSWAGVNGhOhkYlghfqkRZLdupypol3kbpQKi6RPjJBvv 3eJ6y5+iSI+lyGZU2m3NeGNTuvCZoJlRL30z/pXmJfsSIvcK6H4k7XB2PkMjr/kJYti9 43d0QLWfKhkmF0o86WesRZXBiFc5QVj+cye98yeohQz6Cmz9+U6N4aaKK0mkd/zea8+S N48NxM23VfIbYHnrsnsDd42Es8qKbMmJwrdv+jS7Xf7mu9nX1xvIuUY2s0hfVyBotMY5 uhCqSVIAOS8gshV49BZrI/8kwfzN4XPNfWV2GFjXa27ED5LKwhRXooCVDol1yFuXkrZ2 mLWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699471638; x=1700076438; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eWnaRqX3AD85qdJgbOZsBWrR4rpiRwZ4RnD0i6NyYss=; b=MTMMfCrvHNSJ2xodxtmRdVE0bOCd96osxa0v2Z2VutR+p58RQ8z6WOgRI+rFoLhWIr 2qAMYPXWzgMSi1juk8zT8yxqsy3Egxlt4ada+GWdELcjtsSWGC0rPRK5RyX6/zDzR4x0 F/QkkuPwLojCW+0cKXb0XcJlFQob6fYCbvhnfGFbYx0qz74gctnVsdMcUwdSXsk5DLer 2g8tKBTvnHd+HDBI6Jm4Kcj1t9NEX9Y8NWmxc1wPhWPFjFeRSVLJJMY+ljHBctyDzJ7c dtrC421Ae3oyeyDkh0OawMYKGhQADtM0zhlI9Bbh1dVSBK0tYPxPVg7B+uTsR3nUDKYd 7cKQ== X-Gm-Message-State: AOJu0Yz/a6ypgBBiXd63a0K2DnXK1azw7Iy5POpgIodlEp+PBpT1FU4b iMzndJsCN4hBi0YClbgiODuOb/oADc0ohQ== X-Google-Smtp-Source: AGHT+IGzn2oBl408xKKxgvK7d7PDXNPPkbD41p/Wk8cdcE0p6WXpg/PzhxY3kkaYfywI8Ztm2y1lfA== X-Received: by 2002:a2e:83c2:0:b0:2c6:ed5e:bbf0 with SMTP id s2-20020a2e83c2000000b002c6ed5ebbf0mr2586562ljh.34.1699471638043; Wed, 08 Nov 2023 11:27:18 -0800 (PST) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id l41-20020a05600c1d2900b004083a105f27sm20482544wms.26.2023.11.08.11.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Nov 2023 11:27:17 -0800 (PST) From: luca.boccassi@gmail.com To: Zhichao Zeng Cc: Qi Zhang , dpdk stable Subject: patch 'net/ice: fix DCF port statistics' has been queued to stable release 20.11.10 Date: Wed, 8 Nov 2023 19:25:32 +0000 Message-Id: <20231108192535.922238-34-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231108192535.922238-1-luca.boccassi@gmail.com> References: <20231018235930.3144-41-luca.boccassi@gmail.com> <20231108192535.922238-1-luca.boccassi@gmail.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 20.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/10/23. 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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/3c0b09563498e2652fba886a62e37b840b425554 Thanks. Luca Boccassi --- >From 3c0b09563498e2652fba886a62e37b840b425554 Mon Sep 17 00:00:00 2001 From: Zhichao Zeng Date: Thu, 2 Nov 2023 09:50:47 +0800 Subject: [PATCH] net/ice: fix DCF port statistics [ upstream commit 70aef239d0de6b2048aecb1220da1d78edb75168 ] Call 'ice_dcf_stats_reset' during the initialization of the DCF port in order to clear any statistics that may exist from the last use of the DCF and to avoid statistics errors. Fixes: 7564d5509611 ("net/ice: add DCF hardware initialization") Signed-off-by: Zhichao Zeng Acked-by: Qi Zhang --- drivers/net/ice/ice_dcf_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c index eb8095a61f..9d791456f7 100644 --- a/drivers/net/ice/ice_dcf_ethdev.c +++ b/drivers/net/ice/ice_dcf_ethdev.c @@ -940,6 +940,8 @@ ice_dcf_dev_init(struct rte_eth_dev *eth_dev) return -1; } + ice_dcf_stats_reset(eth_dev); + return 0; } -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-11-08 19:23:53.585401406 +0000 +++ 0034-net-ice-fix-DCF-port-statistics.patch 2023-11-08 19:23:51.829397452 +0000 @@ -1 +1 @@ -From 70aef239d0de6b2048aecb1220da1d78edb75168 Mon Sep 17 00:00:00 2001 +From 3c0b09563498e2652fba886a62e37b840b425554 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 70aef239d0de6b2048aecb1220da1d78edb75168 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 065ec728c2..29699c2c32 100644 +index eb8095a61f..9d791456f7 100644 @@ -23 +24 @@ -@@ -1937,6 +1937,8 @@ ice_dcf_dev_init(struct rte_eth_dev *eth_dev) +@@ -940,6 +940,8 @@ ice_dcf_dev_init(struct rte_eth_dev *eth_dev) @@ -29 +29,0 @@ - dcf_config_promisc(adapter, false, false); @@ -31,0 +32 @@ +