Reviewed-by: Chengwen Feng <[email protected]>

On 8/22/2026 3:24 AM, Stephen Hemminger wrote:
> The choice between rte_memcpy() and memcpy() was not documented,
> which has led to rte_memcpy() being used in places where it gives
> no benefit, such as the control path and copies of a constant size.
> 
> Document the guidance: structure assignment for fixed size objects,
> memcpy() for the control path and for constant sizes, and rte_memcpy()
> only for variable size copies in the data path.
> 
> Suggested-by: Morten Brørup <[email protected]>
> Signed-off-by: Stephen Hemminger <[email protected]>

Reply via email to