Re: [PATCH v3 09/21] net/ena/base: use optimized memcpy version also on Arm

2022-02-23 Thread Michał Krawczyk
śr., 23 lut 2022 o 18:26 Ferruh Yigit napisał(a): > > On 2/23/2022 12:19 PM, Michal Krawczyk wrote: > > As the default behavior for arm64 is to alias rte_memcpy as memcpy, ENA > > cannot redefine memcpy as rte_memcpy as it would cause nested > > declaration. > > > > To make it possible to use opti

Re: [PATCH v3 09/21] net/ena/base: use optimized memcpy version also on Arm

2022-02-23 Thread Ferruh Yigit
On 2/23/2022 12:19 PM, Michal Krawczyk wrote: As the default behavior for arm64 is to alias rte_memcpy as memcpy, ENA cannot redefine memcpy as rte_memcpy as it would cause nested declaration. To make it possible to use optimized memcpy in the ena_com layer on Arm, Out of curiosity, do you hav

[PATCH v3 09/21] net/ena/base: use optimized memcpy version also on Arm

2022-02-23 Thread Michal Krawczyk
As the default behavior for arm64 is to alias rte_memcpy as memcpy, ENA cannot redefine memcpy as rte_memcpy as it would cause nested declaration. To make it possible to use optimized memcpy in the ena_com layer on Arm, the driver now redefines memcpy when it is beneficial: * For arm64 only when