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 717724415A; Wed, 5 Jun 2024 09:00:14 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B5D75406B4; Wed, 5 Jun 2024 08:59:58 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2052.outbound.protection.outlook.com [40.107.6.52]) by mails.dpdk.org (Postfix) with ESMTP id 961D1402EC for ; Wed, 5 Jun 2024 08:59:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SDk3YBYWlc/yo5ppiFC+H6EWazVMvV2f4b1ru8ahOi1HXKKw9naxE7xkL8Pc7jm6qu9lc+NcKJecsvTuBghq77x3bHPjBUTZAzB1TjkCygisGuEBeUhv9y4qd7OztY5ebjiJgxr3VXHtmozFlcQEDi5/vZKVMbJgqZ193q6iXeNVTsb6EEY/xW7AsAkIQjUwfH7ieiv0HqjbgVQ67kJc2DK8RF836qJM2k6YuHAAAwr0wLja8bOV3wrGixDNZv4uAeKEF2OvS1ztp2KWiFam+tdEgiP7PY/CV2OazdmefCWzWlwDlFbVp5gnMB7aEnUGe692ypx9LzGZJ4yKwUK2og== 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=kIHn22PZklTO3YmUHChCoXFqtS/pU/Ju4llqci0nU2Q=; b=ecJa92W+hBjvgXlbDQFecvxJ1NoAR7BtCTU0yxg7I/8v8pq64VJcsuJSDGLbDlQVEG+dapmAD2+UrxK9w/QSVAE0kDiCG+I2ENSBho9V8G+JPvpoI7pfKJ2VbaDlGIf9B85wy/niz+BgHPf/EKwWLhokJ0W8uRadDriYgDYKitSlx4+1FT1JydE1UkHjCRDAuIi46xO+O/9CxucwDMDxQirNQQNFhup/g0CAly4n4baMe76CVVEKVXrmnMCtBztZSObKUvqrMftoQF80E/c0iqbbc2FYLGK6F2rUaAqmyS0R3sRdmr0FmYkM8zBT+CUSEFwwgf2v3PEaOuApI0++pw== 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=kIHn22PZklTO3YmUHChCoXFqtS/pU/Ju4llqci0nU2Q=; b=MzZLcSvVf0Xhj0MLsF52vX3+nHr6pAXsDBarUIgq4cLi8uSfDlF7vMqRl2ozoBaoJ8u82WldxykIL7EVWiMW2HCePxF/40p4r7gs/hOh+8iZdU1hR80UJbaEbQE6mEOLQyK6jFJyLJlKifaDiA3pro6e6rZBc6nekRutJKgKa6SFpHu374N+wGrgtPpG1kcwxuX/NwqWVn6R9DVmPrw6/nifEiL7nV4psaQKxQH8sFM6JW3SwTwm5myG6j531FtZORWWJZB2QVFrDpvFNI62qbeJqK7u6a8LpftDsSyYRzdN7hUyBl8aZWhm6Q/nSQMekHaCUu8twBpd1x+PLRC7tg== Received: from AM0PR02CA0159.eurprd02.prod.outlook.com (2603:10a6:20b:28d::26) by DBBPR07MB7355.eurprd07.prod.outlook.com (2603:10a6:10:1e2::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31; Wed, 5 Jun 2024 06:59:50 +0000 Received: from AM3PEPF0000A79B.eurprd04.prod.outlook.com (2603:10a6:20b:28d:cafe::4f) by AM0PR02CA0159.outlook.office365.com (2603:10a6:20b:28d::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31 via Frontend Transport; Wed, 5 Jun 2024 06:59:50 +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 AM3PEPF0000A79B.mail.protection.outlook.com (10.167.16.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.15 via Frontend Transport; Wed, 5 Jun 2024 06:59:50 +0000 Received: from seliicinfr00049.seli.gic.ericsson.se (153.88.142.248) by smtp-central.internal.ericsson.com (100.87.178.68) with Microsoft SMTP Server id 15.2.1544.11; Wed, 5 Jun 2024 08:59:49 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00049.seli.gic.ericsson.se (Postfix) with ESMTP id 36CAB380061; Wed, 5 Jun 2024 08:59:49 +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" , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= Subject: [PATCH 0/5] Optionally have rte_memcpy delegate to compiler memcpy Date: Wed, 5 Jun 2024 08:49:40 +0200 Message-ID: <20240605064945.369310-1-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240602123921.363625-2-mattias.ronnblom@ericsson.com> References: <20240602123921.363625-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: AM3PEPF0000A79B:EE_|DBBPR07MB7355:EE_ X-MS-Office365-Filtering-Correlation-Id: d063eaad-0331-4d2e-e9a6-08dc852d17f0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230031|36860700004|1800799015|376005|82310400017; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Q0s0Mkk3a1krNEFxMkgyKzRVV2wydWFqQmpWLzVjOEpaN2JLVjhZZ0hqRW1Q?= =?utf-8?B?YWVTOHlFL1FpS2swY1hYK3RNVjRYMkVEakxwaTQvaUxGWEMzZXJHWlp1UGgz?= =?utf-8?B?U2tqc1RMNjUvbStQN2tvcVZmcEZvUXdtTGFNU2VNL2dtNXI3ZEZ3VFc2c0RH?= =?utf-8?B?TFNqYlBQZ0pNa1JQTnhHNiswaHdkY2lJVVVMS3VsZ1VLWnY0V3hYeDZSOXM3?= =?utf-8?B?cDZnbzljTlRoWXg3UDIzd2tSeDF0Rmg4SFFnVkhleGxITFdwL1F5Vmo2VnpH?= =?utf-8?B?RVZjVm80eUlZOXJDSjdzejR0MW9veWtiNElkdHd3UHFLV2Y4NkQ4OXRhVUdx?= =?utf-8?B?ZFRSVWtKY3M1VXVrcVFMZVBOWmNIREMyQnlqanM0ckdpQTlPWGtGWUVkYlVv?= =?utf-8?B?Q3RCQXV1YWcrU284b3RkWENSZjlRaUwxbzlPbzJ6cHhsTXRuNDBRZ0ZGMnBx?= =?utf-8?B?RXVlU0dINTFvK3piNVg2NWo0d2lOTzRrR3ZmaTJIdXZZZkp6bTU5T2NoUUlG?= =?utf-8?B?SnY0Tzd0ZW1uMkxCeGdSb1J4bFNabFNjNkY0a2RMeHJlQWs5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d093S1V4bGZDVG5xQVlsVUt3MUNvRzFKbXRtS2dm?= =?utf-8?B?c25qY1VzRCtsUm5YYzArSnN4V2ZoNEt2aDdQcmxSa29DRDZWUmt3TENVNUl6?= =?utf-8?B?Y09VWUR6Q3gxQUtEcjlKSVhtNG5aaXFNaFVzL2FOczZ6RlFxNWtRTG1SZXo2?= =?utf-8?B?di9keXIwRk95aEFhcU1qa1hqaUY5VlBTVXI3cGYzcWFhQjBHV2NCTVArUEh3?= =?utf-8?B?SVlBMW5GYUtPYUtnRWIzREorL1pTa2lFYkVpY3hGbXhoUzlubUw3VWZLVHd3?= =?utf-8?B?MklQUTNSZ0EvU214c3p5SWo1MnJkbjhoM2xLQkpvVzZTZDhxekN0Z1pEa0x1?= =?utf-8?B?WmdVSVBGQ3lkc1dYOGlDemEvbmdlcklDNS9lUHlHVzlYd0daQkNrRlNmVUtU?= =?utf-8?B?OWp2MW9saytQeTNuM2Mxak1WR0xXNzVWUzVKam53RWZVSFE9PQ==?= 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:(13230031)(36860700004)(1800799015)(376005)(82310400017); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 06:59:50.0829 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d063eaad-0331-4d2e-e9a6-08dc852d17f0 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: AM3PEPF0000A79B.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR07MB7355 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(). Mattias Rönnblom (5): event/dlb2: include headers for vector and memory copy APIs net/octeon_ep: properly include vector API header file distributor: properly include vector API header file fib: properly include vector API header file 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/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 + 14 files changed, 123 insertions(+), 106 deletions(-) -- 2.34.1