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

Maxime Coquelin maxime.coquelin at redhat.com
Thu Jun 6 11:33:49 CEST 2019



On 6/5/19 2:53 PM, Bruce Richardson wrote:
> 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>
> 

Thanks, finally applied it on dpdk-next-virtio tree as per Thomas'
request.


More information about the dev mailing list