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 F406CA0548 for ; Sun, 28 Nov 2021 15:56:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2FE94111B; Sun, 28 Nov 2021 15:56:56 +0100 (CET) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2059.outbound.protection.outlook.com [40.107.102.59]) by mails.dpdk.org (Postfix) with ESMTP id 60EC74068A for ; Sun, 28 Nov 2021 15:56:55 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OZv+fxO30w9LVwMXcb2PAW181+i6dFCDsJkoNkjoID7XLUDbrxs+M0LOpwE912ACJ0m8kxtbDxN6WbQOknu9R4IiW3SyofpYTJmONmQ0OKZfJQahsJnGLEfVZSzKhxYsiRWq7WBFqVk37ABWlhFoebcx6wg2HtSmi9qrrPxfuy+oHlbfrJANlGo5a3YezJPdHzPvXpdLkShJKllxS45g1m41uttCemmyxyD0sFmWBvwMwK0Ne3DKnHtxGbrm6VbgEBMEOXEBAyfK6IJ/ljAjV2xZfa3eLgXPzQthiM8BhZ16REqx/tBIdUcm/Mm1NMddBLGC8I0U11/ilCWjaf8pYw== 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=j5J8S2aY/iiBJAXRU/UiIMfm3rFuwP1rV6MHqrxxkqg=; b=Hzph73WHxmoXOV/tJMTAjczL9XDfY5WJ6IqoF4eSYLxwYzqCLfAYRAsBNpEso9ja1N114RE9c8i33fg3wnHiOwKzrN001RoQakkNOnW4fBE/v0VKOKomh9xYfaaj6olwh+mBJmvKwVphSCAz7Wb8PMJAvQxKgPd3V2lv6vCZugQQrceQ9foaIn3qs4xIgpKQtEzJmg2Xq3K7Kf1Wmg/4f5Y/a1T8qLDE3l84AjFWWf7Wa/6rbim9jsP0IngDv26g8Gmm5jtOFba6O9E2KNb98xA8KgqXoE/+6cvSCaley1YsXQ+IRaFtMTWr4kZwSoFDPdnFIWo2iKMaAu6btN5Tyw== 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=j5J8S2aY/iiBJAXRU/UiIMfm3rFuwP1rV6MHqrxxkqg=; b=PNTOnrnpkmQ9k/1ZXdWSDjM7x7r2Zw1doiDmOja0WYk7igg8k5YvICd/u36/ZYJrPQX7aQoLJpyU1Ap3tmjaEvZlUGYO0hEhZVxIqUxBgJ1f7JsvPdBhGuW84m94Pz0BotUrxGwZS9KpoYr0o+6YcIKvUsiPQDARgiCzYAlJqrz91+5eF1MGUYUba8JawgMaeO/7UHn03pImjuETHwkiIFopm8F6yiQh9stv+HJeYRHrxOQn5GpVdXZmUCdX6kKP8fjHDZwTm/XiWPZQf98hPmK8aXBfZ/rghSezc54hrkrWa+FkN1e7JF1RARiBl2LWMO3nHKRQJP2MEmdXzcBEfA== Received: from DM3PR08CA0023.namprd08.prod.outlook.com (2603:10b6:0:52::33) by DM5PR12MB2423.namprd12.prod.outlook.com (2603:10b6:4:b3::30) 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:56:53 +0000 Received: from DM6NAM11FT038.eop-nam11.prod.protection.outlook.com (2603:10b6:0:52:cafe::b) by DM3PR08CA0023.outlook.office365.com (2603:10b6:0:52::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.22 via Frontend Transport; Sun, 28 Nov 2021 14:56:53 +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 DM6NAM11FT038.mail.protection.outlook.com (10.13.173.137) 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:56:53 +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:56:51 +0000 From: Xueming Li To: Conor Walsh CC: Luca Boccassi , Liang Longfeng , David Marchand , dpdk stable Subject: patch 'net/octeontx: remove unused packet length' has been queued to stable release 20.11.4 Date: Sun, 28 Nov 2021 22:53:23 +0800 Message-ID: <20211128145423.3974892-20-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: 21b477ea-fd4f-4201-62e3-08d9b27f50ec X-MS-TrafficTypeDiagnostic: DM5PR12MB2423: 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: 77H8fcTd3AcHbFl1l8GON/EzEWiDkfwL2bOzkKDinHayMAGq1MS5OGAZnzNU0lLT1Kv1Xue1HjS7NV4dF3WY4Wv/w/W7LGPMJafJ4MyD0jGv8QWf+182cW9f+UpyyOnch1SN3nBtaY51i/Y2YGMhegN/tDKKZUugTx/JUY9NRzXzV1J6xPLMapDhCKZlVr4oiPXUdfqcw8gzUmbMpBWcPWGb5AnTfiopw/VBvb0pmr3WvnKPEy9lOIO3ZKfXoCpIqlSy9eZridgIaOKh5VTA2psl6Vxyy8mFtuZ73J0oYc+UxR3THpIP8bPwSJWWmeBXhwRXjWdTN1gE7tTw1dIeOAqdTTEWPKkFfqAG0PQi2tKjn1uuizWjv7HJEuFxMCbDosBkl3jxPqGpQvrvVG6rvOAX1MenoWBJFEDR35jcjIDe7Ku6pXXPLid8xrJ5r7Uvu3l5DZgnu+48aJKzygBTDY1o//Lq4GwS3WAVHvgSpyiRXC8MwSk20CHCB4mhmBeLcdr2ZiOPOa1QqGNm+hj+VVGl2m+dzplYGaTUj+VYKHWwkxUvepODuI2XcbptLShbMfF9kNWGHAKa4Q6ja2RAqYGL5TlzVhq52BC0fEFp7t9RcdqCBRfbACd4ghM+0kHGyJ5VTXC3nhmo/oohkE8EJPAhd1hdfCr8JM0vNCJRGB4UMpIVgrQmVvMbMbjb8BoH/bPQmuv8B85vl+agHEfUs3YemR47IDxSKCzT5GnT7FeLU6nOn96NYtY9gr22wKy19j+AN88og3CgETay495ziQQKR3t8ErIOHR5w3V2zJ6GRBWPWuPqAUB/iCktEAk9L6WM+efkv4m/JSimWJg2SQg== 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)(55016003)(2906002)(36756003)(82310400004)(316002)(508600001)(6916009)(1076003)(966005)(36860700001)(6666004)(54906003)(4326008)(7636003)(70206006)(426003)(336012)(7696005)(356005)(53546011)(2616005)(86362001)(186003)(16526019)(8676002)(26005)(83380400001)(6286002)(5660300002)(8936002)(47076005)(70586007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2021 14:56:53.6766 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 21b477ea-fd4f-4201-62e3-08d9b27f50ec 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: DM6NAM11FT038.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2423 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/14e420ac852077af1934915c4a2231814f780a58 Thanks. Xueming Li --- >From 14e420ac852077af1934915c4a2231814f780a58 Mon Sep 17 00:00:00 2001 From: Conor Walsh Date: Mon, 15 Nov 2021 17:58:50 +0000 Subject: [PATCH] net/octeontx: remove unused packet length Cc: Xueming Li [ upstream commit 23c97a67e53e937e7bf35ae84d298857e7298ada ] Reported by clang 13. Bugzilla ID: 881 Fixes: 9eb5cb3b11cc ("net/octeontx: fix access to indirect buffers") Reported-by: Liang Longfeng Signed-off-by: Conor Walsh Reviewed-by: David Marchand --- drivers/net/octeontx/octeontx_rxtx.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/octeontx/octeontx_rxtx.h b/drivers/net/octeontx/octeontx_rxtx.h index dde0d6277b..1447f2617e 100644 --- a/drivers/net/octeontx/octeontx_rxtx.h +++ b/drivers/net/octeontx/octeontx_rxtx.h @@ -365,7 +365,7 @@ __octeontx_xmit_mseg_prepare(struct rte_mbuf *tx_pkt, uint64_t *cmd_buf, const uint16_t flag) { uint16_t nb_segs, nb_desc = 0; - uint16_t gaura_id, len = 0; + uint16_t gaura_id; struct rte_mbuf *m_next = NULL, *m_tofree; rte_iova_t iova; uint16_t data_len; @@ -425,7 +425,6 @@ __octeontx_xmit_mseg_prepare(struct rte_mbuf *tx_pkt, uint64_t *cmd_buf, cmd_buf[nb_desc++] = iova; nb_segs--; - len += data_len; tx_pkt = m_next; } while (nb_segs); -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-28 22:41:04.474449025 +0800 +++ 0019-net-octeontx-remove-unused-packet-length.patch 2021-11-28 22:41:03.230209276 +0800 @@ -1 +1 @@ -From 23c97a67e53e937e7bf35ae84d298857e7298ada Mon Sep 17 00:00:00 2001 +From 14e420ac852077af1934915c4a2231814f780a58 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 23c97a67e53e937e7bf35ae84d298857e7298ada ] @@ -19 +22 @@ -index 56f11d3dd5..b63a5edfb3 100644 +index dde0d6277b..1447f2617e 100644