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 34A82454AE; Thu, 20 Jun 2024 20:07:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DFE0F42E4D; Thu, 20 Jun 2024 20:07:35 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2040.outbound.protection.outlook.com [40.107.15.40]) by mails.dpdk.org (Postfix) with ESMTP id 96DAC427A9 for ; Thu, 20 Jun 2024 20:07:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cExzvVhIHrrOCCEWVn4hAGonDKEgAShKKu4hcknVLIbo17c9bwpuPg8HO1iFUnc7wpdQH8By6Hhq9B10ATBsZe+ngf3jbJt4SiXXZ68yBLmB3hsJffuwuDqGBdBSt671HquE7Nj1G/+r+QMDxmgH3JrUX61Qk9DI4lgtowf2H2dCEmS8S5IP91AXt251r+B3t9gyRProDDw+uYzzI3yKaSMGBgvVxvsG7A5yQlrzLKoi1A+d33kQbGJNs82jz1BuW3vGJnT15POqA4erWRzKi8vORHJk+BcIEgIwUzIZ+Z5UHfqXRedSdSduL6cL3h0oZfs1wAOaJMCHsMrzqDNMVQ== 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=mdk9BddDVhk94mAs3x9my5dS02iwECKeZ9exebP0bL4=; b=XsWVesqq4PF7BZQNEUSPpzj2hS8Ilz0+VQ+lDlbJ+BTz6GP/tKojUvcOleupxv2JdF4JFBhrrVSz2LM9ybXLfgAfnrwHZLB6YbFXzGTE1dkcUya0vEzeRKqTlVypwbFhEXdpPyZJlZ23FV971wZavMLYDUM5OFAZ+CAPu2dLMEO8TGLnSraLRTXFa24sIDxrlGkS+WIr+4X10W5TDJI4Ea+7CMiOPjMHBS/w5/fokdLrxkqJXw6DsMDb07CbiGgDnywzuKUfmBgw8pW3GPj4SbPzVTxdklchesVo4geMLDsYTESu2RNE6Mddp9hZfBZiBByWzLhwK0KCozneK0jhAw== 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=mdk9BddDVhk94mAs3x9my5dS02iwECKeZ9exebP0bL4=; b=QS1wbLYSxcg9A6JNX0zactbOwn2igAp6+7WBzxWw6EY4UEJ+//6sDcNccbi5Q6PzZ+XfKjF3RArw+ASWU34U2qiR4k5VJGkhMdlPVSenLJ583IQjPK/UIyJx4BniChN6g5cwUZQlnhfFJcJPjsY3kwTFH/cTgXPjk1gphvKqUwRAVRx7fQ34QLlHbCjJDs01K5TtYCgde13hjYIdfjtkZEWWopQBU+GKqepfzVEnf6Rnr9A1XCQ+pPeyyfbg9ZVtQBt5brFM8AC1Dc4+QMzmkpiVqkaZjoLgfw78Bv8ZyGh7cM6quZ30XKOZEj04N9xu0ZT1I8prF1Tncf8dr7hmTg== Received: from DUZPR01CA0183.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b3::21) by AS8PR07MB9379.eurprd07.prod.outlook.com (2603:10a6:20b:619::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.16; Thu, 20 Jun 2024 18:07:30 +0000 Received: from DU2PEPF00028D10.eurprd03.prod.outlook.com (2603:10a6:10:4b3:cafe::6e) by DUZPR01CA0183.outlook.office365.com (2603:10a6:10:4b3::21) 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 18:07:30 +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 DU2PEPF00028D10.mail.protection.outlook.com (10.167.242.24) 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 18:07:29 +0000 Received: from seliicinfr00049.seli.gic.ericsson.se (153.88.142.248) by smtp-central.internal.ericsson.com (100.87.178.60) with Microsoft SMTP Server id 15.2.1544.11; Thu, 20 Jun 2024 20:07:29 +0200 Received: from breslau.. (seliicwb00002.seli.gic.ericsson.se [10.156.25.100]) by seliicinfr00049.seli.gic.ericsson.se (Postfix) with ESMTP id E8FEE380061; Thu, 20 Jun 2024 20:07:28 +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 v4 00/13] Optionally have rte_memcpy delegate to compiler memcpy Date: Thu, 20 Jun 2024 19:57:18 +0200 Message-ID: <20240620175731.420639-1-mattias.ronnblom@ericsson.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240620115027.420304-2-mattias.ronnblom@ericsson.com> References: <20240620115027.420304-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: DU2PEPF00028D10:EE_|AS8PR07MB9379:EE_ X-MS-Office365-Filtering-Correlation-Id: 57942e96-a1e0-4c21-decc-08dc9153d97a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230037|376011|82310400023|1800799021|36860700010; X-Microsoft-Antispam-Message-Info: =?utf-8?B?dTI0VVpobWNoRFBWamdNNnA2NnQ2T0tyLy9oZFUvUWE4WXZUOXR5NnB3UEwv?= =?utf-8?B?RCsvNS9uaWl6MHF1bStkM2ZyNjRxVk9nNzUrRlNCdzlDREs2UGI3UUtUZzlz?= =?utf-8?B?V3ZpbklWd1IzRzdVdEd5SXExN3JDdVFzQVBydXdkU083c1lGZXNESlRKd2tI?= =?utf-8?B?MUVrN004QXNNMXVPTGNRbmFtbE5vbU1NWnNmWGRsZG85aHU5d2tpSUhnRVE0?= =?utf-8?B?djUyakM4Uk5qbnZMUjZzOVIvK3VEV1ZFL1dvRzFTVEt5YlFQNFFYL3ArRWts?= =?utf-8?B?Rk5rcTNFUWV6K0Vsamt5djdWWlZ1bkczaTdYZ2pjRVl4SGY2cTk3QUZVNmhO?= =?utf-8?B?VVNlNGtrNVErOFE3T3JLK3JOQm1Oa0w1Qk5wRmpmRFNNOHVnd2dOUmFGSXdC?= =?utf-8?B?SUxqTi9FWFo4bXI5b1VvYU1ONlF3VWFJWllteVFzejg4M0FQcWcxWElKOWdS?= =?utf-8?B?STU3dTllaFpHQW5sa1pzcmh4UVI2cWhGOUJYcG95WlJoa2M2WEJPNzNyMUJu?= =?utf-8?B?U0hhVFNDYWxwcFQ5eVl2TVJVV1FWSE9BVktuK1ljYjl1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ktBZHlQQmlRMCttaVZ2?= =?utf-8?B?S09zSlBKQ293S1paWGZoNmN5S3JVOWtEcW4xOGpIRlE5ZHlZaWFhOGw2UHUx?= =?utf-8?B?bVNTd0d5RFlmc084LzlBREV2bUhjSmhMa2hoWXJuZ3ZEdjBFOWdWTEpBSUwx?= =?utf-8?B?MzhCWnNiVkRCTXZ1OXJpbk9ZK1FSck9rSG9iVFJvUTU1eEpQelVrMnVxaTNq?= =?utf-8?B?aHpPeUdERSs5T3dVR1JuWFV5eGl3Ujg0YlNYUy9FckRYeUNkd0lhcjNHVTdi?= =?utf-8?B?bzR2K0hza0ZydVhJNkpHMUpLVy85M0tFZEhLQm5oMkNtWStjOHhNRHIxbUhq?= =?utf-8?B?UWVFdVdRaitVSWtzMDVLeWZTVm5MOVhGL1BsSHI0NTcrNWU4R0x3MTNzL2Rl?= =?utf-8?B?RllhSkxJcm1NYzR0VWMrWmJ3YVhNTXByNUhoUzlxbVJ3alE9PQ==?= 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)(376011)(82310400023)(1800799021)(36860700010); DIR:OUT; SFP:1101; X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jun 2024 18:07:29.6007 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 57942e96-a1e0-4c21-decc-08dc9153d97a 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: DU2PEPF00028D10.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB9379 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 (13): net/i40e: add missing vector API header include net/iavf: add missing vector API header include net/ice: add missing vector API header include net/ixgbe: add missing vector API header include net/ngbe: add missing vector API header include net/txgbe: add missing vector API header include net/virtio: add missing vector API header include 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 | 3 +- drivers/net/i40e/i40e_rxtx_vec_sse.c | 3 +- drivers/net/iavf/iavf_rxtx_vec_sse.c | 3 +- drivers/net/ice/ice_rxtx_vec_sse.c | 2 +- drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c | 3 +- drivers/net/ngbe/ngbe_rxtx_vec_sse.c | 3 +- drivers/net/octeon_ep/otx_ep_ethdev.c | 2 + drivers/net/txgbe/txgbe_rxtx_vec_sse.c | 3 +- drivers/net/virtio/virtio_rxtx_simple_sse.c | 3 +- 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 + 22 files changed, 131 insertions(+), 121 deletions(-) -- 2.34.1