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 C140D457A5; Mon, 12 Aug 2024 22:53:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5333402D3; Mon, 12 Aug 2024 22:53:54 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2048.outbound.protection.outlook.com [40.107.21.48]) by mails.dpdk.org (Postfix) with ESMTP id 4D17E402BB for ; Mon, 12 Aug 2024 22:53:53 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=rAcl6D6xEzD4iQ2Cl8qLiVSoCgr1jOmlsAqJbPMCLPgfwLv9Qx6CkB9GCXve4u1CI3RRQ7ArkYvm4c2vRoCIVqe+E3RRBWGgthLok0nTlxHA+/Nv1/BO91/s4VWkH40Zqz2zkEJHOjrlV1FfAQFk7cSy+UVDMZ6e89zgF05DUop/vwNGLJCRhoAQjyThJT3AtK2iqV3YL983y5tAIcYZct7hAOZOv/5L8G252nJOOR+Et6k6SC9bvIzLdrbYS5mzoiVlNzLVprChR+F3pYQBpBpt2xg38AmywmIaZa+L2EhRIlF4ZnpwkA6tAtLkkVFNfACVtgjeXMQYH/GwBSXGYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=QTO7U4u7n4hVjya+UU3dLO6JE1gP0SVgFo7Tn/lX5U8=; b=OV66TS7TsSoWcxlFPOl0/HA7qkQXHJgJY7GWizqG18lj6g8VF1cv4wsAeJKZzpNF034doKIZVnh5tBQVnWD1+izyWmh6VJAv8/wf31UaC3Uzvg81N8oSQLrBeXTJAG5zuQtnCmSxcAZJF79boDg6X5y+F0+B7Ia5HIY4T/vYcBR9x4/5CMV0D4VTfP+Fi4TJgH6gKxgMJMzuZHfME5kPZD9byqZJ6To8EKhd7hyhRduaY8qPPqexvHf51s4hy/7Ro10Ro7PRP7AC+k9bcsNJ7QYcXL71Ju1RDeOtzHz4kQ16BrP7PKFawir4cMdfMrwl4iPDJfbl9lbWQn07r55jQA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QTO7U4u7n4hVjya+UU3dLO6JE1gP0SVgFo7Tn/lX5U8=; b=cyNw7r59j0xXIXlv7hLOZeTcklg8Dcep0lA2BtqVYr0E01mVL2bx4FkNaXYPw+V6blmjC7Uq8dhA5wgIxNLBPlnpPGfe1h2bsvt57Np/k0jjOiyrr3lJv1eEH3bzQEtoWCZqP34o5KSXgN4HZMyqyVyNPpoZDIEOI3gATrAlr+M= Received: from AS9PR06CA0551.eurprd06.prod.outlook.com (2603:10a6:20b:485::12) by AM9PR08MB6068.eurprd08.prod.outlook.com (2603:10a6:20b:2dc::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.15; Mon, 12 Aug 2024 20:53:51 +0000 Received: from AM2PEPF0001C70E.eurprd05.prod.outlook.com (2603:10a6:20b:485:cafe::36) by AS9PR06CA0551.outlook.office365.com (2603:10a6:20b:485::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.20 via Frontend Transport; Mon, 12 Aug 2024 20:53:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM2PEPF0001C70E.mail.protection.outlook.com (10.167.16.202) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7849.8 via Frontend Transport; Mon, 12 Aug 2024 20:53:50 +0000 Received: ("Tessian outbound 49bfb235ebbe:v403"); Mon, 12 Aug 2024 20:53:50 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: be4f0112c25ff026 X-CR-MTA-TID: 64aa7808 Received: from L345ac42a64db.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 642AEEA4-B193-4BE8-B90D-685BA636D3BB.1; Mon, 12 Aug 2024 20:53:43 +0000 Received: from EUR03-AM7-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L345ac42a64db.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 12 Aug 2024 20:53:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mC/xeT58HpF9grmMLNR+UDaSPOdSaMadOXoVxsve5Klfn+UJlep5JH2ox+MFTwP57r8R67htGAHTUJ6Zc02K84np2VuK6WxHQySoJk90tkxbHjgnp4o1UXrivZFHxYgVtl3dDpgro6TIW4iyih1H8nyCvthv/ujY03kruIRjF54AKY+e7LQ7YBH1qyo31nz11UrAJHpy5ZmM09Jiw6jVUEFNT1A4cn5ltLYi/abWhqeipE/y/9aeGpKQA263KfOZeQeVJQrtZsI1AwuFPsr2y4C9rQxmWHKSD1kClSliR7JPS2mXzPjJiw0SwRcc1jrojCuyACAf/g5Zog3GiKrX5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=QTO7U4u7n4hVjya+UU3dLO6JE1gP0SVgFo7Tn/lX5U8=; b=R48Ll1UjPNQE5W7+SUIx8nhEzp4k/9Z3zns0W4Y2bBKbnppwrEvOHnw00S0WFNL0oTK880cDEiCGZhUZ+gWBOjoKIAqznsCZXODPzjtUSvbppn6FA0ypSQfV7BcJNNim2ASwBeQH80Xtjcd9raW1l8EtFphq8Y+QLDzDg4NzmoF/ER2I1hdXQl3pFin6xZaSBlw050bl/APzBYC3nYD1+tqKzw0GNWpQybFG7nu4fCXM/rNVKf8zVPNQfyJDKJ/iCaldSoWDTDGVlGEnSVs06mu6jLVerIbG8bnHqWERY0VD8fG3bowzoOSF7w4HaUI8gleVEk1rIoV8ZnArGwypUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QTO7U4u7n4hVjya+UU3dLO6JE1gP0SVgFo7Tn/lX5U8=; b=cyNw7r59j0xXIXlv7hLOZeTcklg8Dcep0lA2BtqVYr0E01mVL2bx4FkNaXYPw+V6blmjC7Uq8dhA5wgIxNLBPlnpPGfe1h2bsvt57Np/k0jjOiyrr3lJv1eEH3bzQEtoWCZqP34o5KSXgN4HZMyqyVyNPpoZDIEOI3gATrAlr+M= Received: from PR3PR08MB5850.eurprd08.prod.outlook.com (2603:10a6:102:92::8) by DU2PR08MB7327.eurprd08.prod.outlook.com (2603:10a6:10:2e6::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.13; Mon, 12 Aug 2024 20:53:40 +0000 Received: from PR3PR08MB5850.eurprd08.prod.outlook.com ([fe80::2ee0:fadd:256:209e]) by PR3PR08MB5850.eurprd08.prod.outlook.com ([fe80::2ee0:fadd:256:209e%5]) with mapi id 15.20.7875.012; Mon, 12 Aug 2024 20:53:40 +0000 From: Wathsala Wathawana Vithanage To: Stephen Hemminger , "dev@dpdk.org" CC: Shai Brandes , Evgeny Schemeilin , Ron Beider , Amit Bernstein , Wajeeh Atrash , Igor Chauskin , Michal Krawczyk , Artur Rojek , nd Subject: RE: [PATCH] net/ena: revert redefining memcpy Thread-Topic: [PATCH] net/ena: revert redefining memcpy Thread-Index: AQHa7M0sZEXfAOV+YUKFv2iwKdrZsbIkGJZA Date: Mon, 12 Aug 2024 20:53:39 +0000 Message-ID: References: <200~bug-1510-3@http.bugs.dpdk.org> <20240812153417.65225-1-stephen@networkplumber.org> In-Reply-To: <20240812153417.65225-1-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: PR3PR08MB5850:EE_|DU2PR08MB7327:EE_|AM2PEPF0001C70E:EE_|AM9PR08MB6068:EE_ X-MS-Office365-Filtering-Correlation-Id: be633bc3-6acd-45f7-d1bf-08dcbb10de7e x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|366016|7416014|376014|1800799024|38070700018; X-Microsoft-Antispam-Message-Info-Original: =?us-ascii?Q?Dl+Qt8JRKAsorYFglt8VeW9SU4g4VisCaVDS1p4iRLydgvrZo48NjVBCR0WK?= =?us-ascii?Q?0JfIWZ8K6sbAkBzYXar/jziLW/NlE4uNa19WId6769d9l04FFZh33ZqCDwrQ?= =?us-ascii?Q?NvPdPz/Os4881KtwaN+HHvoMduirM+zC+0foNN5B8YMmKUeUdil3rYm2yDs1?= =?us-ascii?Q?X0Fxpo8BCAA8kOwOV1H9fl2Znjr8E4XsmW1qQJTrxUpJbdrOgOjS7d6a4Oa0?= =?us-ascii?Q?4qOuFjwJrpkOJt26pvY7bF4NrB/++3X3YFf4rlqNTXSbqDNBH5H8uDYRrX5e?= =?us-ascii?Q?fQTtZ86NzOB1aOfkRLPvNNgV7R9ffNltmIUV21CSaOzORNcWqpSHwWShv4hR?= =?us-ascii?Q?6CU5DbZxU4gw9yS1fl2LsJR/ZcIrz1BHQnGpaMlDRDmJQVjhFe3X8LvOwzNv?= =?us-ascii?Q?w+SYTViQ+nALyvXhYDnmJF71lsMiJcsgcc+D95195nZ2c5S7CVY83PbETsZm?= =?us-ascii?Q?V28CFwusvCdwRzZsBdE83LzMQWbFlUpERRlUJnLHxOlAdWUliusVcECwZixC?= =?us-ascii?Q?Jh3S0aOt7WEGusuwxoV/Yb025f4majJiR8Ubo+ZKdMcZKXNYDc7waK7Xpn5v?= =?us-ascii?Q?ux+DkPBXOXOKZeBjxVYUXdiyNa8zWZxPjXxvmOGlq5eWxIpB0bIMas5+KdAN?= =?us-ascii?Q?yO3G8WOQwfwht+pQMT43p+FqYTU5Dd/1SV1+/sGiovOIVMyc9M5SecmQ3Wse?= =?us-ascii?Q?SOrlrw0p5pYJBsfwNYXnz6ZYeUJL7SHq16wwTlwyk2OSInrQVm/Vqy6szoip?= =?us-ascii?Q?Xk3YDmYaN9o9isgLGmXvD/FHSC+zTyoaRv0ehYUnL5WsGT9Z/xp7wVXVylbv?= =?us-ascii?Q?/23LpfrT0DcJBoc+w8z4TKFssXH88MoXabUl9sX/Ga4EWB+U62lRtlXDC7gA?= =?us-ascii?Q?kmk3CaI5V8q2IkwtnUc979/qjgvZam8rk3TbKP5KKd7Dw7ofKAFKSgfYMGrK?= =?us-ascii?Q?A38yXNG6a8v41DBdjDEovs6giDljWoAZZ+6BGQtEYeE6ZyDaAxlj4UX97x69?= =?us-ascii?Q?+mx+ZfWcVNKTfLIrYmM5cH+G5Sx7IC5MsDZC1KJQZP7eM2Py46PvniVjskbp?= =?us-ascii?Q?SprQtqWmWwRwzSXtuXH+Lcd2RDZc6POyiYw1W9/qw/4QPsR6A6SvL/OMJSD3?= =?us-ascii?Q?nQbAJBmjiUYVvC4ZPfJyOyTtqN3rHqRj6g58HFf0EZ5pJZkUKiLwxRxJA2VT?= =?us-ascii?Q?HxqjNmquXIxOjlihThfCbrHvNVmDVZKZTfvxdxlG0ZjPcsc/kABw7SiXnTqw?= =?us-ascii?Q?gsI6cGY1ef0OH3Dig2Dn9+fVk4k0K8oPKaT0GQLWrBVGtVdFw2Al1SbfXFZh?= =?us-ascii?Q?q69HpKbeaG0yruOInqlQPdjEa1c0w4R30kKO5sj43LphFE+4vOwO1xW9qhKS?= =?us-ascii?Q?tgjNS6Tmocq7+/R0PdryIXIwYJ1FfsxApYUjVNfTfoxuh/bjpw=3D=3D?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PR3PR08MB5850.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(7416014)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR08MB7327 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:102:92::8]; domain=PR3PR08MB5850.eurprd08.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM2PEPF0001C70E.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: f62cc573-06a7-4004-8ca2-08dcbb10d826 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|1800799024|82310400026|35042699022|36860700013; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?XVsAxFlCsKS5nqa9sQo1d+YYkQlfaQXlU16T/fh9Eg6yYtxcA5NBpStAMevj?= =?us-ascii?Q?/AA5Ays/vhG3CQZrPKYjgAcq4NT9SrjatRJZmBl0GgitqVXXb0B/3Ra8c0cZ?= =?us-ascii?Q?JeNEb1pX6MOQvAkFFdP7NLgnc9czx+C2hcOirjCDYHcqPdfUWdkPB0SuPhU1?= =?us-ascii?Q?PgteJOTUSgv0Hy839btcbjlUEMHZ3qYxsx5eVJPa6TI1LZXjyfYfx9zR/MRB?= =?us-ascii?Q?CizIaZ7a0BhWS4nhk/KFb90MNpCICBeEWFe+68flDjuHwhnv6ArJOmCGhtPH?= =?us-ascii?Q?FwFYqfvWE8c//gXL7IcfalkrjpvgeIezyOAFz5JUXYmHAzpRsBC0rJ9d5wt4?= =?us-ascii?Q?VaDbfe1o3osM2JI6AkJ74fGjp3LPxgG1bnU4XDbdtGYpCc3KDVRwJsypXlPU?= =?us-ascii?Q?/o0qXDUB/o+3HP6HZiut1sdZ/A1pw7lZluRKt9tRU20afNSrlQZ8mxXeu7te?= =?us-ascii?Q?z1uEQwweeNc89I+2tQSh/JD5Dn1YHPOw0UhsLUlrcS8avFZuWy9Ict7gon5h?= =?us-ascii?Q?L8/tPuUUBSVH95kjiuAV48IZuFb4aGHtYc0CHS8Ht8iPz3v8VES5NRx7DAUT?= =?us-ascii?Q?hsAmv+ZP8ZG5iKdFM5n03YMz6pS6mFd6kbapF1E2i6lQvrmfN6K5Ve6Upi2P?= =?us-ascii?Q?T6f9gZEpO0A44WA9rS/w82X2VdwbQFGY+tT+y8AgXLMIFwoUNO+JafZ2WVlF?= =?us-ascii?Q?Rz8u/PApXxe6o93gb9zGY0ERk3QddJFZZu8f51Hi3uJKD9QuR59RWlmCJn+e?= =?us-ascii?Q?NOlENHgBr6oQ7VqkqubhkJxh/azRmZprWKnqLb5dbUA0fSzHD5VYaXJA0Zxr?= =?us-ascii?Q?AUPihBj1hXhCrtCZoxcjqLKo833j+SIGNiZJh0rZ6G8+1WOlgxW77JvctCI9?= =?us-ascii?Q?XhcVQcmwYgPgRfM3lmNNTxqoWpInrYJd17nOxBrLDIfSKwrbv+lLicNXOctQ?= =?us-ascii?Q?Qj2lFGt0eiCEZ4kBeBN+8kAX5QHwb6iVq1EUnnhMej01bk7gvNAZuwbk80NL?= =?us-ascii?Q?z93rFKhj1nd3JLxB4XHYJVDPgdZsAXUO1yfrTuvO+WYyVuqBy4Zy9iYaeT3c?= =?us-ascii?Q?mE5pBzSahpaj+x5IuOB73w2zOsi93h/wWihUn3Nr2xHpTetKDXomUpckEzEC?= =?us-ascii?Q?8Xgo+7rst7bFQUnfv6qCBmon3qzu+vOKQvslCNwWvnTJfQBnnHYGD+TAxhyA?= =?us-ascii?Q?KY1hp/ZJjA8W77S47wx2ZD9VfzX7eUQR7uDQqLWZqWqyost2L39VYFwcfIe8?= =?us-ascii?Q?a1Hm1Y0GSq7S62FWoMPNm/dmrggXmBEPiwObek38VoeVlJpcvTtffLEGruHl?= =?us-ascii?Q?YQXiJPSUvJi7XvNP5PUgkBJL4pq3yAC8EjwKfvrz+PFkevhkKP4uw+dJBnOL?= =?us-ascii?Q?ubitrjcZeRG2gnn/P83IwQY7JRzmO0mHXrHyyGlmNrWgGohg++t/vTlyRFNE?= =?us-ascii?Q?VR6bBLdphAJbxCALE++2sFHasPn6phYK?= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230040)(376014)(1800799024)(82310400026)(35042699022)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2024 20:53:50.6023 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: be633bc3-6acd-45f7-d1bf-08dcbb10de7e X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM2PEPF0001C70E.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6068 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 > Subject: [PATCH] net/ena: revert redefining memcpy >=20 > Redefining memcpy as rte_memcpy has no performance gain on current > compilers, and introduced bugs like this one where > rte_memcpy() will be detected as referencing past the destination. >=20 > Bugzilla ID: 1510 > Fixes: 142778b3702a ("net/ena: switch memcpy to optimized version") Similar observations in Arm when RTE_ARCH_ARM64_MEMCPY flag is on. Acked-by: Wathsala Vithanage >=20 > Signed-off-by: Stephen Hemminger > --- > drivers/net/ena/base/ena_plat_dpdk.h | 9 +-------- > 1 file changed, 1 insertion(+), 8 deletions(-) >=20 > diff --git a/drivers/net/ena/base/ena_plat_dpdk.h > b/drivers/net/ena/base/ena_plat_dpdk.h > index 21b96113c7..291db6cabe 100644 > --- a/drivers/net/ena/base/ena_plat_dpdk.h > +++ b/drivers/net/ena/base/ena_plat_dpdk.h > @@ -26,7 +26,6 @@ > #include >=20 > #include > -#include >=20 > typedef uint64_t u64; > typedef uint32_t u32; > @@ -70,13 +69,7 @@ typedef uint64_t dma_addr_t; #define > ENA_UDELAY(x) rte_delay_us_block(x) >=20 > #define ENA_TOUCH(x) ((void)(x)) > -/* Redefine memcpy with caution: rte_memcpy can be simply aliased to > memcpy, so > - * make the redefinition only if it's safe (and beneficial) to do so. > - */ > -#if defined(RTE_ARCH_X86) || defined(RTE_ARCH_ARM64_MEMCPY) || > defined(RTE_ARCH_ARM_NEON_MEMCPY) -#undef memcpy -#define > memcpy rte_memcpy -#endif > + > #define wmb rte_wmb > #define rmb rte_rmb > #define mb rte_mb > -- > 2.43.0