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 913B3457AF; Tue, 13 Aug 2024 10:57:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 639FA4065B; Tue, 13 Aug 2024 10:57:24 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 9CB2C40647 for ; Tue, 13 Aug 2024 10:57:22 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 4A69520EEA; Tue, 13 Aug 2024 10:57:22 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH] net/ena: revert redefining memcpy Date: Tue, 13 Aug 2024 10:57:20 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F622@smartserver.smartshare.dk> In-Reply-To: <20240812153417.65225-1-stephen@networkplumber.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] net/ena: revert redefining memcpy Thread-Index: AdrszSJFE8DQioIySiugQDpLRaNRpAAkX31g References: <200~bug-1510-3@http.bugs.dpdk.org> <20240812153417.65225-1-stephen@networkplumber.org> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Stephen Hemminger" , Cc: "Shai Brandes" , "Evgeny Schemeilin" , "Ron Beider" , "Amit Bernstein" , "Wajeeh Atrash" , "Igor Chauskin" , "Michal Krawczyk" , "Artur Rojek" 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 > From: Stephen Hemminger [mailto:stephen@networkplumber.org] >=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") >=20 > Signed-off-by: Stephen Hemminger > --- Acked-by: Morten Br=F8rup