[dpdk-dev] [PATCH] mbuf: replace c memcpy() code semantics with optimized rte_memcpy()

Stephen Hemminger stephen at networkplumber.org
Thu Jul 23 17:47:15 CEST 2020


On Thu, 23 Jul 2020 12:02:40 +0500
Sarosh Arif <sarosh.arif at emumba.com> wrote:

> Since rte_memcpy is more optimized it should be used instead of memcpy
> 
> Signed-off-by: Sarosh Arif <sarosh.arif at emumba.com>

Really did you measure this.
For fixed size structures, compiler can inline memcpy small set of instructions.


More information about the dev mailing list