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 56F82454AA; Thu, 20 Jun 2024 14:00:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 450B542DC5; Thu, 20 Jun 2024 14:00:29 +0200 (CEST) Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2086.outbound.protection.outlook.com [40.107.247.86]) by mails.dpdk.org (Postfix) with ESMTP id 7D19B42DBB for ; Thu, 20 Jun 2024 14:00:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RH6Flr1Wc6NXl4pgPeZvPPUrYs56FWTY9GB88J0/5pSscBnAbfjBi17bAAi/VzQogbLIonpp3th+o5t1VZ8ktKovUFfSnic1HUn6iPElDFUS8lIVmV/KnlBTM4xkaTlo8pOzZIcpQJMUZPF3NchU+NM/U4A+ABF5y4XWQqZKcse0JqXDrUHKUx1Go8np1D0bPllNSpoeC13mxdcmLA7NJ+BF1/6frDTTKVFkvRcw7bLNBbPiY8JyL8NkuBZi/PW/oAwsAOX4uM8OvkQKlSA1vBeQndxykMDiQnhThPK3Ajw6Yen4z3r+B7xOkrI3yPPMjjjVG20XACwQsSn6laefNQ== 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=qZ001GSAz2gtw4B03t40ut340okdW1zNE/17p+CJ4HA=; b=P8mxEfXnPuUxRz8wO/iaoB1oet8CsqnzD1tNFjMtK9hpA6mj09eRYWr8/PjzFVp7g8ILdEXhIyHxCENifML4RHBZfuyhGjPmXPtBAICNkO9B363ezJVhTz+6KWjc9E7hhCURPWJoyXafuxEqJvbTBoxG/1W2HcUcrdcJKwaKeUJ68ThCbPQtxtNP9Ez3k4gxx5m9p1uMwTSg4jjCsafh9/Eu+x2Uf5qGGwGX7lRe6GuxXrFkK4sWF5CHwu07Y5636J42FXnI8PCGlDQPDCzvFQ0gMraiWvJH9LcQh3RZWj7P3eqI0eP0OFBAqWzYRa8uzXvY4cEyPSXx6THZztVxEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 192.176.1.74) smtp.rcpttodomain=dpdk.org smtp.mailfrom=ericsson.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ericsson.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qZ001GSAz2gtw4B03t40ut340okdW1zNE/17p+CJ4HA=; b=FHraIgtdac4JWTP1L8GGIpg8RDodQAgPIOnYndUcsqNd4r2fAe01NCGYisCUKZp4I068Jpd0oyF6Ugg7OcqklaF534GAL3WuZjsHazx5+/rjHRkkkIvCnlG+uSmrkfncTNQ4iV3xpuWvhCfNphch6/GduRcJWr17KSGlKiZqgDefmkm4P2DedYr3d6crwsw9N15iC371r8TU+NV9wOp4vfeLAcp2HVHxH2+cECiF9cG/Xnfu4OeiATRozIb8bEr0AwtM/QnsIO5a81GLlwjRQklL5dWiRPvhrE2o9b6vHObiunLbsviwSXPfu79xDReElyl1dRLwZWZIiAdxBHbyXA== Received: from DUZPR01CA0295.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b7::11) by AM9PR07MB7268.eurprd07.prod.outlook.com (2603:10a6:20b:2c7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.18; Thu, 20 Jun 2024 12:00:26 +0000 Received: from DB1PEPF000509FC.eurprd03.prod.outlook.com (2603:10a6:10:4b7:cafe::6f) by DUZPR01CA0295.outlook.office365.com (2603:10a6:10:4b7::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.34 via Frontend Transport; Thu, 20 Jun 2024 12:00:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 192.176.1.74) smtp.mailfrom=ericsson.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ericsson.com; Received-SPF: Pass (protection.outlook.com: domain of ericsson.com designates 192.176.1.74 as permitted sender) receiver=protection.outlook.com; client-ip=192.176.1.74; helo=oa.msg.ericsson.com; pr=C Received: from oa.msg.ericsson.com (192.176.1.74) by DB1PEPF000509FC.mail.protection.outlook.com (10.167.242.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.15 via Frontend Transport; Thu, 20 Jun 2024 12:00:26 +0000 Received: from seliicinfr00050.seli.gic.ericsson.se (153.88.142.248) by smtp-central.internal.ericsson.com (100.87.178.61) with Microsoft SMTP Server id 15.2.1544.11; Thu, 20 Jun 2024 14:00:25 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00050.seli.gic.ericsson.se (Postfix) with ESMTP id 0F57E1C006A; Thu, 20 Jun 2024 14:00:25 +0200 (CEST) From: =?UTF-8?q?Mattias=20R=C3=B6nnblom?= To: CC: , =?UTF-8?q?Morten=20Br=C3=B8rup?= , Stephen Hemminger , Abdullah Sevincer , Pavan Nikhilesh , David Hunt , "Vladimir Medvedkin" , Bruce Richardson , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Subject: [PATCH v3 0/6] Optionally have rte_memcpy delegate to compiler memcpy Date: Thu, 20 Jun 2024 13:50:21 +0200 Message-ID: <20240620115027.420304-1-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240620072452.420029-2-mattias.ronnblom@ericsson.com> References: <20240620072452.420029-2-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB1PEPF000509FC:EE_|AM9PR07MB7268:EE_ X-MS-Office365-Filtering-Correlation-Id: dc79973a-be86-473c-3b0c-08dc91209289 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|36860700010|1800799021|376011|82310400023; X-Microsoft-Antispam-Message-Info: =?utf-8?B?bzNXRWRYUEo1MWdEVWkwSml0Q0V6c1FtdkQ2eGpzTm9GR2pSSFp6VU45cFlL?= =?utf-8?B?SWdCZU41aDdyMEFtY0VMU3NxaWh2L04rUHVlL0tsZEZpZnN5ejRaWXZVUHh2?= =?utf-8?B?Rkg0SWtyd1dwOFY5cjJRN3ErNFluNC85b2owMG5sY2pXeXM1QW9TRlhBanZM?= =?utf-8?B?VVFjQzZQTlc1MHZDQ3FDZXVZYW54V1lqNkJna2hqZUJMUTVLVFl4aEI1R3pN?= =?utf-8?B?VUxkN21SQUFxa29SRHMvQ1cxTzFLME9KY3J1U1NDYkdyWmFsMzZMVm1xV3gy?= =?utf-8?B?RnBrUmxCb0x0aU9KSFZKNUdtSnFJK1RQcTl1SWV3aXNnZTkwcTNlczBaYnJO?= =?utf-8?B?cVFlTUwxcTg4RVRvcW45MVIzcThuYklMTm1KS3ZsTk5zOXZFVDZjN3lzeU1W?= =?utf-8?B?SDh4K0Nxc2F0dEkyS3pVK3JjbTlWYVp0L2ZHVDc3b0UwbGZReTdHOXBKdUZ1?= =?utf-8?B?Y0dxNVlNazl3WDZNSnN3b3NOaEtvZlQxVUNrd01MRmJWU2E2dXY4RFVDcEow?= =?utf-8?B?NFVlSEVuQnlUZnROOXg0a0I2REh0UmlIaXVsNjVUT28ycVIwZGp6M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IK1FZQWpCTTJY?= =?utf-8?B?ZzhUdWdzaDdYdU9paTkveFhRUmZZeExsWWhoOFJnTXRQLytBYXFheC9sQTJB?= =?utf-8?B?eDMvZjhYR2ZhUmtkZTcwMzQyc0trTFFENkpsV05CYnRteWxSckt5NGduVkxy?= =?utf-8?B?NlFZSE82RUc2T0laVTRJOVZPZGl1Nit6eVJ5aHNlN09LN2VZSXd6c213MG92?= =?utf-8?B?TkxkY05GMGFKTUt5cU9wVVVvd0F2N2ZubFB2akxBNHZrdjRzOTZIUzExTFRZ?= =?utf-8?B?RFdqbWJ1anExdXh3S2gxcW5wd1EweE5maVEzT0trQm5ac0VGOXFkdWp1WDVM?= =?utf-8?B?dkZtRkx6MlhpWWJhNVUxMkxUZ0p3ZlZZelFMaUxOY0p4U3pXQlp1UjI4VGJP?= =?utf-8?B?S2w0TUg3ZXhJYkFiekhtc1UxR1hvZm1haXpjanVBL2JSK1E9PQ==?= X-Forefront-Antispam-Report: CIP:192.176.1.74; CTRY:SE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:oa.msg.ericsson.com; PTR:office365.se.ericsson.net; CAT:NONE; SFS:(13230037)(36860700010)(1800799021)(376011)(82310400023); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2024 12:00:26.2278 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dc79973a-be86-473c-3b0c-08dc91209289 X-MS-Exchange-CrossTenant-Id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=92e84ceb-fbfd-47ab-be52-080c6b87953f; Ip=[192.176.1.74]; Helo=[oa.msg.ericsson.com] X-MS-Exchange-CrossTenant-AuthSource: DB1PEPF000509FC.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR07MB7268 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch set make DPDK library, driver, and application code use the compiler/libc memcpy() by default when functions in are invoked. The various custom DPDK rte_memcpy() implementations may be retained by means of a build-time option. This patch set only make a difference on x86, PPC and ARM. Loongarch and RISCV already used compiler/libc memcpy(). This patch set includes a number of fixes in drivers and libraries which errornously relied on including header files (i.e., ) required by its implementation. Mattias Rönnblom (6): net/fm10k: add missing vector API header include event/dlb2: include headers for vector and memory copy APIs net/octeon_ep: add missing vector API header include distributor: add missing vector API header include fib: add missing vector API header include eal: provide option to use compiler memcpy instead of RTE config/meson.build | 1 + doc/guides/rel_notes/release_24_07.rst | 21 +++++++++ drivers/event/dlb2/dlb2.c | 2 + drivers/net/fm10k/fm10k_rxtx_vec.c | 1 + drivers/net/octeon_ep/otx_ep_ethdev.c | 2 + lib/distributor/rte_distributor.c | 1 + lib/eal/arm/include/rte_memcpy.h | 10 +++++ lib/eal/include/generic/rte_memcpy.h | 61 +++++++++++++++++++++++--- lib/eal/loongarch/include/rte_memcpy.h | 53 ++-------------------- lib/eal/ppc/include/rte_memcpy.h | 10 +++++ lib/eal/riscv/include/rte_memcpy.h | 53 ++-------------------- lib/eal/x86/include/meson.build | 1 + lib/eal/x86/include/rte_memcpy.h | 11 ++++- lib/fib/trie.c | 1 + meson_options.txt | 2 + 15 files changed, 124 insertions(+), 106 deletions(-) -- 2.34.1