[RFC v3 5/5] eal: provide option to use compiler memcpy instead of RTE

Stephen Hemminger stephen at networkplumber.org
Mon Jun 3 19:08:41 CEST 2024


On Mon, 3 Jun 2024 19:04:49 +0200
Mattias Rönnblom <hofors at lysator.liu.se> wrote:

> >>   static inline void
> >>   rte_mov32(uint8_t *dst, const uint8_t *src);  
> > 
> > While at it, would it be somehow beneficial to change these from uint8_t* to void* or char* (keeping const where relevant)?
> >   
> 
> Something to consider before doing such a change would be if it may 
> cause any strict aliasing issue for existing users.
> 
> If we should break the API, I think we are better off removing 
> rte_mov*() altogether.

Why modify soon to be dead code.
These should marked as deprecated in 24.11


More information about the dev mailing list