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 921A2A034F for ; Wed, 10 Nov 2021 07:35:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B9FE4014D; Wed, 10 Nov 2021 07:35:25 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2059.outbound.protection.outlook.com [40.107.96.59]) by mails.dpdk.org (Postfix) with ESMTP id 4E2AA4014D for ; Wed, 10 Nov 2021 07:35:24 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bfRIpXm89rCdFvK06KILUWITuV3v/ModkhL9UroLlMz7K8F5EXp9/c8eJqC4PiNlvBKN13DtQz9oBagnolAfQwGjEWLAm43arrpnAnOH+FD8FOb2HtdUk5x9xk2f+yqxJbJ7i8Cleksh831MHXBJAmIzU7mPaIQAzRr/VP8X9wQ3ehUN87GM3g+GcElYjo+zYPKCqE4ifsQ8RPbebz1aKhZZWlPELs92Eis8JgWh0To2yJqV6OUCJ4ixCT92R7Z0aG/o3Z/4HvShUxI8GnO/ibGolsP9u+UmSAm1T1Ab1SlPa0v7XHei6HZGlmIXDvsVmSXI0ml/IlGgCAlnjC7KgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2WPTt0RqiAvAs/+8fdA7J+4LI2NvzTg5Iy/wKUTpPGo=; b=NrKMPXPdZnd2OUZCRKu5e+GQqdeD6hJr7Gzuak6RYj7EQdRcvujn8TsYtac7UO4vV+GkiH4p5jGisGatVzYWgbdpC6olABY9oFphzDL5Sul6HWaDBFehBjz2POX9+fbKOjLZz4h2fJFdNXusZrT4/jnXEklwBkv1WscQ3mGNFwVaYLHbu4FoahJK4QRSecZoD46E0ii5BqoEHRpeYghPpBseO2g4w42sTJ+kNYWKLbclq9ml9WHkbJP1YXoEx8//f+7UIXV3o/iDvRXkp1dZRGlQ9f1ZHXQ9xIvmX+cXUqSkpXdYQrck4QBblju6cYhzIvgChHgTD+5JQjRb8y63sw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2WPTt0RqiAvAs/+8fdA7J+4LI2NvzTg5Iy/wKUTpPGo=; b=rxPvsPiiTD+aMR61CYXA8oRemrxMYRTkOH2ogHUySrctASWh79ASILSVPbvC713PjpETihVNK2cZR5faB+B2uKmm9upUvWNhOMECMddtNzT9ChVoFS4iq8dUBiLYUH93kYt0Cnf8DbG0EkG+CUZe8ZZ2+BJPRyrqYOa7gHre0UZGiYNeyqozbCZRQfvDWtUTDLYE2HQkJQyG7rmLrvCJy2XNYX5wuDPBeXCnKQrVXuNYDBZfIl5Kf7T1Hc8/YE6jhiSH20CmId+jxfSnzzWbsAY/Z3/vT5/CoAgxglLYpWos6CTd/lkERfuHNCz36TqPY2wrARDu7DVwC63/XDr7nQ== Received: from DM6PR05CA0047.namprd05.prod.outlook.com (2603:10b6:5:335::16) by BY5PR12MB4933.namprd12.prod.outlook.com (2603:10b6:a03:1d5::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15; Wed, 10 Nov 2021 06:35:22 +0000 Received: from DM6NAM11FT033.eop-nam11.prod.protection.outlook.com (2603:10b6:5:335:cafe::e7) by DM6PR05CA0047.outlook.office365.com (2603:10b6:5:335::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.12 via Frontend Transport; Wed, 10 Nov 2021 06:35:22 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT033.mail.protection.outlook.com (10.13.172.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Wed, 10 Nov 2021 06:35:21 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:35:20 +0000 From: Xueming Li To: Qiming Chen CC: Luca Boccassi , Haiyue Wang , dpdk stable Date: Wed, 10 Nov 2021 14:28:30 +0800 Message-ID: <20211110063216.2744012-27-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 79bad804-c396-4f01-4a75-08d9a414455c X-MS-TrafficTypeDiagnostic: BY5PR12MB4933: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lL/BDRKWyCiGOiuomCpLbRSUMmAKjOVPPzNMBWUNKiBfqxw+7Ctx1eVK5vTvJjwVRNPVHbqcNtzDozNQ05RGbMaXoJwluzpMcfzjVrtZRJAmNVQKa1SoBLuaEm212hs0kcIEys7zMrhjIglAlQKSnVDZesrq8OmoqO9mKBkVj40qRydzRQw+Yw/HDd3NmRmQWB7eK9bMDr61pve4PnpESoP7gTL+2ygU0huWFL6nSYu8CuRB7PjMvjYbs/z0AQaSu6mCsvEW1kknExj2x1sjxDExqwz/x4jj+M83P74wxyLGuVVfX1rt5spnhksltRRCbiFt+48L2VnjDimsslSVsMcXM/UWz4JCdvnTIreH9At/DJCN4rTqbI3a2OqY8Tr9zZI0E0vVEASdpwnGIQA30LP56uAViWw4TMwzv0by+iwF+zDAxX6wU8IjNBmeZwL11/mV2JofwcWbGcn+lUlFHQrNlJH0t/0at9oapJjOgnYJRG3ZhyyhHgCpSrKXtJo4WSUoukW+O6FGx2STcSWTD/ePgW4fra1kDj/Q0J5hsdFBDHM9xaKHAF4087FuN7lDEUN7XYsAe2COj5yX3EBhLtvfUJwuZP91FtUsJYrj78GnU/ZsiJ6qF7TSx4qGDgvANA/hc6fRErJUCeL2QmGHQWjhPl+4TMX8u2bAQCeL/Jb4khhYrm2i3SmYwWHyQdzmI4M/24gYBY3c0rAW+vrOPPGNZJWInAYapVRC/wbtz2OAoHdxb0RCkyQXXvLk9lU9nwGyjzNLfSL37jEm3hjXYii3K2ndZXZ+bxzsnCOmWDcBuBDB62ll+0w5iMUCgvQSM0e6aODic/b8jHrcNsoAiA== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(1076003)(356005)(2616005)(508600001)(6286002)(16526019)(83380400001)(6916009)(966005)(7696005)(8936002)(4326008)(5660300002)(336012)(8676002)(6666004)(4001150100001)(36756003)(426003)(55016002)(2906002)(47076005)(70586007)(36906005)(53546011)(54906003)(70206006)(186003)(26005)(7636003)(36860700001)(86362001)(82310400003)(316002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:35:21.8553 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 79bad804-c396-4f01-4a75-08d9a414455c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT033.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4933 Subject: [dpdk-stable] patch 'net/ixgbe: fix Rx multicast statistics after reset' has been queued to stable release 20.11.4 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.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 11/12/21. 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/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/9f02c498bf8f31e2dda1d2665ff0fe015265dfa6 Thanks. Xueming Li --- >From 9f02c498bf8f31e2dda1d2665ff0fe015265dfa6 Mon Sep 17 00:00:00 2001 From: Qiming Chen Date: Mon, 30 Aug 2021 11:31:57 +0800 Subject: [PATCH] net/ixgbe: fix Rx multicast statistics after reset Cc: Xueming Li [ upstream commit 8908691632a51a81d6ce27d3d12a8781842a7518 ] In the implementation of the VF driver ixgbevf_update_stats to obtain statistics, the multicast count hw_stats->vfmprc has been obtained, but it is not cleared in the corresponding ixgbevf_dev_stats_reset interface. Fixes: abf7275bbaa2 ("ixgbe: move to drivers/net/") Signed-off-by: Qiming Chen Acked-by: Haiyue Wang --- drivers/net/ixgbe/ixgbe_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 61bcf80b47..bf0e850402 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -3791,6 +3791,7 @@ ixgbevf_dev_stats_reset(struct rte_eth_dev *dev) hw_stats->vfgorc = 0; hw_stats->vfgptc = 0; hw_stats->vfgotc = 0; + hw_stats->vfmprc = 0; return 0; } -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:03.278987026 +0800 +++ 0026-net-ixgbe-fix-Rx-multicast-statistics-after-reset.patch 2021-11-10 14:17:01.767413603 +0800 @@ -1 +1 @@ -From 8908691632a51a81d6ce27d3d12a8781842a7518 Mon Sep 17 00:00:00 2001 +From 9f02c498bf8f31e2dda1d2665ff0fe015265dfa6 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 8908691632a51a81d6ce27d3d12a8781842a7518 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index b5371568b5..ccb01ed344 100644 +index 61bcf80b47..bf0e850402 100644 @@ -24 +26 @@ -@@ -3798,6 +3798,7 @@ ixgbevf_dev_stats_reset(struct rte_eth_dev *dev) +@@ -3791,6 +3791,7 @@ ixgbevf_dev_stats_reset(struct rte_eth_dev *dev)