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 D9D84A0548 for ; Sun, 28 Nov 2021 15:57:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D3A544068A; Sun, 28 Nov 2021 15:57:54 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2071.outbound.protection.outlook.com [40.107.244.71]) by mails.dpdk.org (Postfix) with ESMTP id 7C73A4068A for ; Sun, 28 Nov 2021 15:57:53 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FEm7ZdIlosfBF22ewPlf+vFAHWHAIKWyrSRfCy75L/jyMXyiIAYwAFEaGo43KoOut0063zwh6O5NyxwyT5HUfOmqufQjod2iDjwWPRZqtiWwpwj8L1Mt/+leyl4VUrCTyEBAsgx7SVTuYeExGJb+TUJu1EfAniy/lbDO7eWNURrkFujJTndCEv+FY+V//GDS/ilRkV79wyDW0GmDLlXFGhDGhZ8KfQ0j+FE1h7JJkn26SEBFCQ3WEjGV2IESBCYp5oEuKlHkmFWjOr0GU/w4FIGmpKiGMqoYV7KQLFZBReuc0MOGsug5g0ajHTNyV9iefYhbMJ2ksq3iuL33giTaXg== 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=ddNGp3WwxlzsKxnQdODebX3uTKpXOWp7wbrz2oy5S/w=; b=NIyXw50on/fEr3wci8ex4MJ+VCyHcS/ugx1ycbFiTECxQlLWUi4yN3jLTX/lXqWJ9xa/RTfy9Vgjma5aGnma7QCjwX2/SzJDxhGcnEJv4xJiuJNp9zBaPP36GOP3UQaZjlSCIUNnZhroSK+5YihmMDtLE5M0AvIEy8Hfs85tr46QUaQml2V6dDT1X3FQ9GKygFGn4W2wpGyBVWfLlK4eNlg0mju3RrK8rGy+l11x69BybV4f4GuxTFCxkdBvobC96neaehlPcW8733r+JjNUDCYJWe8i1k29frKe7mZdoPwolm3sBwyaSKATw7q0OC+xZYRgqRbLD+fzyw6ENyq0cg== 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=ddNGp3WwxlzsKxnQdODebX3uTKpXOWp7wbrz2oy5S/w=; b=WjdtKBiOZcQPdUK1/IulYVF7jRsVY9zQwV2NsjdY+VWtS2OEftH1qYMzSWnWDDJb10RbQpwTLx/OtQ9/ktlHLJhzskgD4xMrw2u3sL82uVpgKfFIEhu689EWa5DtoG+hg5Fj8RFddtLwPvrJcNWYaacuv6rJ4+tdsEdGtZZCXI8cbTO7LzlByepdAjoK8M4TxQF3ZblSJUQSTjIC5+WF3SAlJKS/+96qdTvi9u/ErMiiolwB7XyE+wErTfU1DqOjK36yb6avx0C73O1hi7mziI9VTbKRXiOnFlVyMM0V2z7CE7nToXTzblkIvWPq0gZxS2TkdBbO383bKEwy5sI7fA== Received: from DM3PR11CA0012.namprd11.prod.outlook.com (2603:10b6:0:54::22) by MWHPR12MB1807.namprd12.prod.outlook.com (2603:10b6:300:113::14) 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:51 +0000 Received: from DM6NAM11FT008.eop-nam11.prod.protection.outlook.com (2603:10b6:0:54:cafe::68) by DM3PR11CA0012.outlook.office365.com (2603:10b6:0:54::22) 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:51 +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 DM6NAM11FT008.mail.protection.outlook.com (10.13.172.85) 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:51 +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; Sun, 28 Nov 2021 14:57:49 +0000 From: Xueming Li To: Conor Walsh CC: Luca Boccassi , Liang Longfeng , David Marchand , dpdk stable Subject: patch 'net/qede/base: remove unused message size' has been queued to stable release 20.11.4 Date: Sun, 28 Nov 2021 22:53:29 +0800 Message-ID: <20211128145423.3974892-26-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.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: 30fb7fde-75c1-4ee4-d6c8-08d9b27f7362 X-MS-TrafficTypeDiagnostic: MWHPR12MB1807: 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: 3k19PTKPITdbMvA/Bp2VEABTuhgP2klyEmwKOrvZIxv88tr8b9x/8K2gCkbvFEcB13zvAcIwbFLtvFUu6xWSni84vvgxPixNmPSj1biJRxxYXm9HNEQWIbfLLeci+WybnIWfFsYAoFCtGJZiVb6a9T1e3mjttahwCeJgqm382y59IbUAmyhbpSmldkXbwIS42HKFSkHhmYZQAALTnPAdkOg2m6Pr8bCDjp8Yc8Sqf+ux7EjKrVL/nT+jr2RDYOi2FEOMK/F3llU7Mj4hP8O0LYl5DkwdX3lJDsx17o+aIRSP8Bto+h4+4FhB0TJWyrWxs/kscNvZAuXpzyG+M9LYtPqWAzLo0jRNwyR2y9pC47Y+DFWIR1jFsO9z9HpOXwIrFMYBRs+kwUeCpuI/7bSo6TWJZPSNpMz4OnAJKnwBcgml4rs+4SNWGHdM7Hjm8eEx9Z0RhzTRZnGeq57cmAFHmpfrY2jibSHG7CWgo8JZEADa1Fge3bVYBsL3gcFLdSjTBBhhCgOYyLMkMIv8OW2bqwxXKrV5FtlIPl5BbygGeQrNb3HK1Vi51+8oV/jA+85sLEZyIcbaE6z5HuEoaaBGcBcofQyiQUUuWUlQUaeoRi6uzL1B6cgx9pkzuKVrone/136S4dM8y6uBcsZcXw3/Zsc+i85k31Psb7Vd2GS8RXmWCcWqVo4gCDLSBB7Uin1UyGzBsk6CHeZ3YAN8N1GLMwQLyn1aAbkEUyu/UHnULAiS3DytI+juIXTse1E7tAquFFo8oJDy4PLME8MRmN54m0mBmV07LyXOxDjyPX/yUkYdQsCcC9SZOfuCBmXt6Ch8GHJVEhzv9FGBjnWDEC5qDg== 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)(46966006)(36840700001)(2616005)(5660300002)(316002)(2906002)(508600001)(4001150100001)(82310400004)(55016003)(86362001)(54906003)(336012)(83380400001)(15650500001)(47076005)(36860700001)(7636003)(426003)(4326008)(1076003)(70206006)(6916009)(6666004)(356005)(70586007)(26005)(6286002)(7696005)(8936002)(53546011)(966005)(36756003)(16526019)(186003)(8676002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2021 14:57:51.5014 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 30fb7fde-75c1-4ee4-d6c8-08d9b27f7362 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: DM6NAM11FT008.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1807 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/0c8aa412492c3279e6d582c2bc13859007243606 Thanks. Xueming Li --- >From 0c8aa412492c3279e6d582c2bc13859007243606 Mon Sep 17 00:00:00 2001 From: Conor Walsh Date: Mon, 15 Nov 2021 17:58:54 +0000 Subject: [PATCH] net/qede/base: remove unused message size Cc: Xueming Li [ upstream commit 2ccebadab2f1e7fa867c708cc1487986ac3be122 ] Reported by clang 13. Bugzilla ID: 881 Fixes: 86a2265e59d7 ("qede: add SRIOV support") Reported-by: Liang Longfeng Signed-off-by: Conor Walsh Reviewed-by: David Marchand --- drivers/net/qede/base/ecore_vf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/net/qede/base/ecore_vf.c b/drivers/net/qede/base/ecore_vf.c index db03bc494f..a36ae47c2b 100644 --- a/drivers/net/qede/base/ecore_vf.c +++ b/drivers/net/qede/base/ecore_vf.c @@ -73,7 +73,7 @@ static void ecore_vf_pf_req_end(struct ecore_hwfn *p_hwfn, #endif static enum _ecore_status_t ecore_send_msg2pf(struct ecore_hwfn *p_hwfn, - u8 *done, u32 resp_size) + u8 *done, __rte_unused u32 resp_size) { union vfpf_tlvs *p_req = p_hwfn->vf_iov_info->vf2pf_request; struct ustorm_trigger_vf_zone trigger; @@ -86,9 +86,6 @@ ecore_send_msg2pf(struct ecore_hwfn *p_hwfn, /* output tlvs list */ ecore_dp_tlv_list(p_hwfn, p_req); - /* need to add the END TLV to the message size */ - resp_size += sizeof(struct channel_list_end_tlv); - /* Send TLVs over HW channel */ OSAL_MEMSET(&trigger, 0, sizeof(struct ustorm_trigger_vf_zone)); trigger.vf_pf_msg_valid = 1; -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-28 22:41:04.735292901 +0800 +++ 0025-net-qede-base-remove-unused-message-size.patch 2021-11-28 22:41:03.236875822 +0800 @@ -1 +1 @@ -From 2ccebadab2f1e7fa867c708cc1487986ac3be122 Mon Sep 17 00:00:00 2001 +From 0c8aa412492c3279e6d582c2bc13859007243606 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 2ccebadab2f1e7fa867c708cc1487986ac3be122 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org