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 012E843E57 for ; Sat, 13 Apr 2024 14:50:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F06AB402D4; Sat, 13 Apr 2024 14:50:50 +0200 (CEST) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04on2087.outbound.protection.outlook.com [40.107.101.87]) by mails.dpdk.org (Postfix) with ESMTP id C26A0400D6 for ; Sat, 13 Apr 2024 14:50:49 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RBxzA5eDXzenjCfo84fMtL+hhhqOrFBpzrn6Xt3h/wxbf6OEQjyVIUbOUv9j/5BAzPqjahySDET+ToYPWqWPMkaPoALL88TRzMrpi1irgWsdEJvt00x4XxcjSPDkORv436TiensP6jDj9pXBbfw9sDE8hEQ/Zkdk/kBo5fTcoh07h4iPv7UKplxno44KqsGuNKOL0NDnaBOrQoIEEMb2hU7rbvwzomhRz6bQdLy82Pib/ZD76APubVitY1vX/5ruECJQGBmrVb5JfdEYsPnB5GzTczOMLuvGOqjgCSuyK8LPQ1KhVgJ4SI2vp1H9a0OFkj75+s+lzR8RDF3ZAfomlw== 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=6OSwjNLh96/RyPpYqB+k25++JZqM4XekwiTNbJiZp94=; b=hQmrwNtCU5lASxEbnA+6cvesqql2cMDOJAm5Uom3/dEbEOphBqOdJVUIgGD3DhrgxL05/JFD/SFwwu1Q8CYeloALkFDh+3OUN7QLPXdlu/g7xz3sc8vhu6suSp3sfCBuEW9RhL3UtTYFRag7jaDmYz4VYfv4Mljiq1RusxPO6d205qdPC/JwrkviwPsPOfDrClmSZJpDeH8Z7tdR/HqP+WX0TGKe3w92n/YD3gNkGVBAOXL52ncQtHlGBuUwvxkIl+0i3GoersKeVl6c1ilA15LQozeI1LVJsOIFIj9mRPIsnLNbOBiL2+Q595a/TBD3ATP5GuRcOlYDSdT7KRWBzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=smartsharesystems.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) 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=6OSwjNLh96/RyPpYqB+k25++JZqM4XekwiTNbJiZp94=; b=jGdTZRmRHsZyp4KWHNkzElR00q56Lh9afQAmTwx4t1HYGJyQkFHpHEUARlJYbZEtXgEE+Lm+q4xDvmTne531X5o/V1KWx7WsUBFK6gmUnrtX8Iuq34gmaL0vyIyaxZgrriWsygtglAzeKy1TPPR31II3bRS46xsIAnnPPamr/fbSPbXLCz46TafMoOBx7sgZQ/gbmcwC1q72ZR1RGyF9qiCRqzYUGlQd+7kzXPMbaDt79zxpeNSF8nm8eDcrtNT5YswLWKa0J9RznCh5Cs/4aD0aibtBRa7ds/wPCn1AqAnvhBEOk0mmDKBcpG51sfT2UA8Klk8zwf4SLwW0JYNMtg== Received: from MN2PR05CA0020.namprd05.prod.outlook.com (2603:10b6:208:c0::33) by DM4PR12MB6009.namprd12.prod.outlook.com (2603:10b6:8:69::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Sat, 13 Apr 2024 12:50:46 +0000 Received: from BL02EPF00021F6A.namprd02.prod.outlook.com (2603:10b6:208:c0:cafe::b1) by MN2PR05CA0020.outlook.office365.com (2603:10b6:208:c0::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7495.16 via Frontend Transport; Sat, 13 Apr 2024 12:50:46 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by BL02EPF00021F6A.mail.protection.outlook.com (10.167.249.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Sat, 13 Apr 2024 12:50:45 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Sat, 13 Apr 2024 05:50:32 -0700 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Sat, 13 Apr 2024 05:50:31 -0700 From: Xueming Li To: =?UTF-8?q?Morten=20Br=C3=B8rup?= CC: Stephen Hemminger , Abdullah Sevincer , dpdk stable Subject: patch 'event/dlb2: remove superfluous memcpy' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:48:03 +0800 Message-ID: <20240413125005.725659-3-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240413125005.725659-1-xuemingl@nvidia.com> References: <20240305094757.439387-1-xuemingl@nvidia.com> <20240413125005.725659-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF00021F6A:EE_|DM4PR12MB6009:EE_ X-MS-Office365-Filtering-Correlation-Id: f9583288-17a5-4556-e0d5-08dc5bb85625 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jOX77hp8sph112QgDsaeVw8pDYBxxwC/gY2ihhZfzrLmHaW6SydhF7mQUCCM/ijckWFveQvnJ14dSzocXhl6gmkJw48bBU2Lrvc2VDBhkWnhPyZQQ2aFFOxsuOP0aXk/kR0tB+l7fce1vc9YGNZ5h9sKIaGCy9vLFCT8nFpZFIYdBBelfCyRzUh6n0npK9vUMVu762svt0Yv4hAXNZQp8ZUlsRmQAjYuLPynRUhhS0ac1Lq9iwX09pxSaC/Ik7T0HKiTsrmF0p1v32cZMrtIk5uVMpDHpQ7zGlxgDTJlBz2WizKUkNMTo1r9cLAvtOb9B0NeQtu8lCsm/R4KeQYr0uhiUdjitWW+bGunU5txk9DALbw3tKqnn5WTgtts+VXERTn1xo4C/zwwxdK1n+qK5NP2hy8iKwInnLPzVa/we402acglN+qVL5PFa4WrwvJT81rKi+Ov2kkTOXvvKAvMOIzPsUsnWj4vCMtQk4Lzxv37QTp0cb6jyAR9vdD+mRVSwLofGSdc9mNdp4k9fdZ9qiD57QRkH/LGQm2IncUyo8O6hRvaCGj/zu+uLwD3LIas4tx/UznnhN8DNH1IVWA/sAN6wwRhA/Gwkohelm0KEpoJrPdzPF6D1QvqwA0DhsFhFTsCkaM2+a5gRD+Cd0fDqH1swJaor6RlIGs9JU/7besfihb2ClCxEAql7lWToA8EtkfUT9c0YjKvWD7/VSEEQr0JRZ0AUJgV37iBHqcHJkDBA7/LYmWvqBWgI+CsDcvq X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(36860700004)(1800799015)(376005)(82310400014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 12:50:45.4544 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f9583288-17a5-4556-e0d5-08dc5bb85625 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF00021F6A.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6009 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 23.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/15/24. 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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=524c60f42279c9528ba1a61ca4b517a4095726c4 Thanks. Xueming Li --- >From 524c60f42279c9528ba1a61ca4b517a4095726c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Br=C3=B8rup?= Date: Mon, 16 Jan 2023 14:07:22 +0100 Subject: [PATCH] event/dlb2: remove superfluous memcpy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Xueming Li [ upstream commit c1b086d2abdb7773700b4d216f323bd9278ace7a ] Copying with the same src and dst address has no effect; removed to avoid compiler warning with decorated rte_memcpy. Fixes: e7c9971a857a ("event/dlb2: add probe-time hardware init") Signed-off-by: Morten Brørup Acked-by: Stephen Hemminger Acked-by: Abdullah Sevincer --- drivers/event/dlb2/dlb2.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c index 050ace0904..5044cb17ef 100644 --- a/drivers/event/dlb2/dlb2.c +++ b/drivers/event/dlb2/dlb2.c @@ -160,7 +160,6 @@ static int dlb2_hw_query_resources(struct dlb2_eventdev *dlb2) { struct dlb2_hw_dev *handle = &dlb2->qm_instance; - struct dlb2_hw_resource_info *dlb2_info = &handle->info; int num_ldb_ports; int ret; @@ -222,8 +221,6 @@ dlb2_hw_query_resources(struct dlb2_eventdev *dlb2) handle->info.hw_rsrc_max.reorder_window_size = dlb2->hw_rsrc_query_results.num_hist_list_entries; - rte_memcpy(dlb2_info, &handle->info.hw_rsrc_max, sizeof(*dlb2_info)); - return 0; } -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:05.290679049 +0800 +++ 0003-event-dlb2-remove-superfluous-memcpy.patch 2024-04-13 20:43:04.897754062 +0800 @@ -1 +1 @@ -From c1b086d2abdb7773700b4d216f323bd9278ace7a Mon Sep 17 00:00:00 2001 +From 524c60f42279c9528ba1a61ca4b517a4095726c4 Mon Sep 17 00:00:00 2001 @@ -7,0 +8,3 @@ +Cc: Xueming Li + +[ upstream commit c1b086d2abdb7773700b4d216f323bd9278ace7a ] @@ -13 +15,0 @@ -Cc: stable@dpdk.org @@ -23 +25 @@ -index 271bbce54a..628ddef649 100644 +index 050ace0904..5044cb17ef 100644 @@ -26 +28 @@ -@@ -163,7 +163,6 @@ static int +@@ -160,7 +160,6 @@ static int @@ -34 +36 @@ -@@ -225,8 +224,6 @@ dlb2_hw_query_resources(struct dlb2_eventdev *dlb2) +@@ -222,8 +221,6 @@ dlb2_hw_query_resources(struct dlb2_eventdev *dlb2)