[PATCH v9] net/bnx2x: fix warnings about rte_memcpy lengths
Stephen Hemminger
stephen at networkplumber.org
Tue Feb 27 20:06:04 CET 2024
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.
More information about the dev
mailing list