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 892F8A0548 for ; Sun, 28 Nov 2021 15:57:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83D0A42749; Sun, 28 Nov 2021 15:57:28 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2041.outbound.protection.outlook.com [40.107.94.41]) by mails.dpdk.org (Postfix) with ESMTP id 2148A40E5A for ; Sun, 28 Nov 2021 15:57:27 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+GVK+sARHY2dCzuwr+kRG/2mPrgg2PNN5LpTeVH/zCoqF9wGq52wX9wGvclhhs60xN1JGxeUeGit5AvyvNlLAxVAftoyrOMYglGjCk7WXV8o9/B0sduOLzaLa2ymJUGAJoUHYIoRsuIcHbsXQV+wjR8Z4pN+oDvu1KQV81x46nNsqz7Djrx3OzLU/9PqK54DLun1qqB3EqPjHPKWpHtTGuc5VNAOwTVxIdiQfhBo2UhtWahdr0hEmLWLrKaQoaDr7xRnLqlkUkZxyv3kUD58BGLcjREyi7EpVTGJW8jQI1qxGVNnGyaBzne+QpehgwD5/BlLywIlqXRwU0IPTvB6A== 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=vtlcwApqsWg2/KzckgPDzlAkOuO5SE+pWFhWraQtE2o=; b=j70fR2o5c3DxVM3vwFdtzEIkAXG71x4IDG5kuXHwOz60eT6qckqcobZ7OM6E6IZeGZ/Ma9Njq9awZFfv+2FR7Rsq6A6AJ1A9fCfXokvpzoNYyon0ZlG2hpvZaql9LUZ8WHjs9IxeOYx3kUhetks+7pVl3iRtDUndIYjKftIHq1sEw76cffmrJXR0K1/lXJmubOhgOfZEcWFJwOyE5f9WoUiYOdgLmO13hd6UcMFIVc59Sjg9lIUfM+2Unl9HtZWuIX10lJ1o6QHbczKKCf8eoB8Mwfo5L/22G8K0m+LOFwnykCLp+Aoo97vyje73424jc2NEFMZQnvnSSZFR3Csf6A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=redhat.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=vtlcwApqsWg2/KzckgPDzlAkOuO5SE+pWFhWraQtE2o=; b=rajDaW9AUTfGNeOY/u+DshlqhhLC8DPj5JYdvoecN2uz37AKP+TZ7Co/vpXiCblyHHKtbnq9SiArOQEzgZEg4VaDAz178qxaZTgyghVdtQEjAYFHkgu/reASgKsW5J6bx+7XxihNwGnBbXnBC7pmsSN56oBgNnWPv/JAIbYJgkqkdlb/a3kQPjBGs+kK+D/GUEpdOV2HEg4MNuzbcP77AU0YyEBT8G0+oXJ3tlayxHiC8TJYNsI/fit25UbFTctUqBf3SHBEGQUhh3zvppuScE5CNtAnpbk74GosCNaEPrg/VRAU0i7SbtbphFp3qFloQ5q769lzBoVTxCH6hbL4xw== Received: from DM5PR04CA0066.namprd04.prod.outlook.com (2603:10b6:3:ef::28) by MWHPR12MB1679.namprd12.prod.outlook.com (2603:10b6:301:f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23; Sun, 28 Nov 2021 14:57:25 +0000 Received: from DM6NAM11FT006.eop-nam11.prod.protection.outlook.com (2603:10b6:3:ef:cafe::37) by DM5PR04CA0066.outlook.office365.com (2603:10b6:3:ef::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23 via Frontend Transport; Sun, 28 Nov 2021 14:57:25 +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 DM6NAM11FT006.mail.protection.outlook.com (10.13.173.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4734.22 via Frontend Transport; Sun, 28 Nov 2021 14:57:24 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 28 Nov 2021 14:57:22 +0000 From: Xueming Li To: Conor Walsh CC: Luca Boccassi , Liang Longfeng , David Marchand , dpdk stable Subject: patch 'net/liquidio: remove unused counter' has been queued to stable release 20.11.4 Date: Sun, 28 Nov 2021 22:53:27 +0800 Message-ID: <20211128145423.3974892-24-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211128145423.3974892-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> <20211128145423.3974892-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] 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: 18aa065c-47f1-4b56-0f78-08d9b27f6391 X-MS-TrafficTypeDiagnostic: MWHPR12MB1679: 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: FmBc2MKY+uzOU7KPoOX2PnI7loLJj6kEHJS356o8er93QBbPMLiELyrIoT3sQIDwndJwbbbZgyCFtoX5z7iuRAE1yzAt2Sz9GoPpoT1JPXb6BrE108X9ZIr8yDOke0jEXdqWHX1VddEOdwJ4DVtyl8+bg8vomCAK/TJUo7OiMzq3ftTlk/r0QU/uxqqMDgIVD//DHDANtUMSvXUciMpzoaMnxqEiW7TS7RpqUvLxlG3GWKyyCfVXsNE3UPB62021ym/AQZHFnnh9wUs1HiIpXNxcXYQAqiN4lik3cu5dnba4Lrcnp9btJ5yUiioNwiOEKnJ3o6/GCyR+SmyvJhDn+Dljhw5RFz9jx+ZQjw547REFJSz0/bjnay4VXUfTcjSG0O/XCVJeeyt1xsyCnmGo1AEiWQKV2CtC1ngK+MW7pdHuAcJxu1f1fJ9wcL1/bjGAClqt5okR+r3jooH14GlpXt512n7Lv2hz7j/rDFqQINWZpFZ/LCjhTx5LO87iGmgtp5gsV0MmvaRRTtEnmjB4AOWv5bGGkzJ9XLIuxK+GcFrYimmBDTa94XMM9BcGfLel42cc1LH/SkKFVBFrxebRaqnaiTyW3Rl9t5o/lrTvG0gRptKZuIGvu6Q/X66n4ZbwxNLHBv42gEjftuQivaH+Pf6PlToqxfcIgNSjPxlPQqB40MG3bNtgCcgEOlGO+KesU9auVgLcS39lNTsM0PiwuGWU4mCYsiSfjvAxMbFIJovEHCnQR2p7Uvsf1KNOjABrvUVpB3xaZKqAS3buk/NZM0UsXoA8Qk9ruVJnRysODAQDVMkWncRHdnUOno+Ec9Tv7njkYVLWfuDaq9qn3xmPSA== 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)(4001150100001)(316002)(54906003)(6286002)(70586007)(70206006)(83380400001)(336012)(2906002)(86362001)(7636003)(55016003)(356005)(82310400004)(4326008)(36860700001)(508600001)(6916009)(426003)(16526019)(5660300002)(36756003)(8936002)(2616005)(53546011)(8676002)(7696005)(1076003)(966005)(186003)(26005)(47076005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2021 14:57:24.9548 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 18aa065c-47f1-4b56-0f78-08d9b27f6391 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: DM6NAM11FT006.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1679 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.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/30/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/6fdb54e73f80e9dd8dd40a5826af1588cd8ec56b Thanks. Xueming Li --- >From 6fdb54e73f80e9dd8dd40a5826af1588cd8ec56b Mon Sep 17 00:00:00 2001 From: Conor Walsh Date: Mon, 15 Nov 2021 17:58:54 +0000 Subject: [PATCH] net/liquidio: remove unused counter Cc: Xueming Li [ upstream commit 52415c6b2553d4cd44f79b4cb693016225a67b43 ] Reported by clang 13. Bugzilla ID: 881 Fixes: 5ee7640f95a0 ("net/liquidio: add API to flush IQ") Reported-by: Liang Longfeng Signed-off-by: Conor Walsh Reviewed-by: David Marchand --- drivers/net/liquidio/lio_rxtx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/liquidio/lio_rxtx.c b/drivers/net/liquidio/lio_rxtx.c index 8d705bfe7f..f57b7712b5 100644 --- a/drivers/net/liquidio/lio_rxtx.c +++ b/drivers/net/liquidio/lio_rxtx.c @@ -1050,7 +1050,6 @@ lio_update_read_index(struct lio_instr_queue *iq) int lio_flush_iq(struct lio_device *lio_dev, struct lio_instr_queue *iq) { - uint32_t tot_inst_processed = 0; uint32_t inst_processed = 0; int tx_done = 1; @@ -1073,7 +1072,6 @@ lio_flush_iq(struct lio_device *lio_dev, struct lio_instr_queue *iq) iq->stats.instr_processed += inst_processed; } - tot_inst_processed += inst_processed; inst_processed = 0; } while (1); -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-28 22:41:04.649778811 +0800 +++ 0023-net-liquidio-remove-unused-counter.patch 2021-11-28 22:41:03.233542549 +0800 @@ -1 +1 @@ -From 52415c6b2553d4cd44f79b4cb693016225a67b43 Mon Sep 17 00:00:00 2001 +From 6fdb54e73f80e9dd8dd40a5826af1588cd8ec56b Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 52415c6b2553d4cd44f79b4cb693016225a67b43 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index ef127f26c4..e09798ddd7 100644 +index 8d705bfe7f..f57b7712b5 100644