[dpdk-dev] [PATCH v3 5/5] eal/x86: force inlining of all memcpy and mov helpers

Bruce Richardson bruce.richardson at intel.com
Wed Jun 5 14:53:04 CEST 2019


On Wed, May 29, 2019 at 03:04:20PM +0200, Maxime Coquelin wrote:
> Some helpers in the header file are forced inlined other are
> only inlined, this patch forces inline for all.
> 
> It will avoid it to be embedded as functions when called multiple
> times in the same object file. For example, when we added packed
> ring support in vhost-user library, rte_memcpy_generic got no
> more inlined.
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>



More information about the dev mailing list