[RFC v2] eal: provide option to use compiler memcpy instead of RTE
Stephen Hemminger
stephen at networkplumber.org
Wed May 29 23:55:20 CEST 2024
On Tue, 28 May 2024 18:03:27 +0200
Mattias Rönnblom <hofors at lysator.liu.se> wrote:
> > Lets go farther.
> >
> > 1. Announce that rte_memcpy will be marked deprecated in 24.11 release
> >
> > 2. In 24.11 do a global replace of rte_memcpy on the tree.
> > And mark rte_memcpy as deprecated.
> >
> > 3. In 25.11 it can go away.
>
> If/when rte_memcpy.h is just a tiny memcpy() wrapper, the maintenance
> burden is pretty much eliminated.
>
> Keeping it around will allow for older applications to compile against
> newer DPDK version.
>
> You can always discourage its use in the API documentation.
>
> Also, hopefully, some day, we will have a non-temporal memcpy(), and
> those functions needs a home.
I was thinking a wrapper but have it marked __rte_deprecated so that
warnings result and people are motivated to fix.
More information about the dev
mailing list