[PATCH v9] net/bnx2x: fix warnings about rte_memcpy lengths
Bruce Richardson
bruce.richardson at intel.com
Wed Feb 28 10:02:46 CET 2024
On Tue, Feb 27, 2024 at 11:06:04AM -0800, Stephen Hemminger wrote:
> On Tue, 27 Feb 2024 12:27:31 +0100
> Morten Brørup <mb at smartsharesystems.com> wrote:
>
> > > > 1. The extra 2 byte copy is effectively harmless due to padding, as
> > > mentioned in the commit message.
> > > > 2. The decorated rte_memcpy (if work on that patch series is ever resumed)
> > > is an improvement, not a bug fix, and will not be backported. So the memcpy
> > > parts of this patch are irrelevant for the stable versions.
>
> The function rte_memcpy only exists because glibc and gcc version of memcpy
> is not optimized enough. Would love to see it go away in future.
Definite +1.
More information about the dev
mailing list