net/memif: improve memcpy performance
authorDavid Christensen <drc@linux.vnet.ibm.com>
Wed, 23 Jun 2021 20:31:54 +0000 (13:31 -0700)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Fri, 2 Jul 2021 17:03:03 +0000 (19:03 +0200)
commit663191e2d64d8f0229ec553f63a78470bdc81af1
treed7f463ce45c411c47aedfc4e81cc14602d0263a2
parent56912ddef2b067a402dc648019938d354237c25a
net/memif: improve memcpy performance

Replacing memcpy() with rte_memcpy() improved 64 byte packet
performance by 33% on a POWER9 system and by 10% on an x86_64
system.

Signed-off-by: David Christensen <drc@linux.vnet.ibm.com>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
drivers/net/memif/rte_eth_memif.c