eal/x86: force inlining of memcpy sub-functions
authorJunjie Chen <junjie.j.chen@intel.com>
Thu, 12 Apr 2018 05:16:36 +0000 (13:16 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 18 Apr 2018 07:22:56 +0000 (09:22 +0200)
commit1c9467a6efd8d85b5bbbf7004a4407cae2d09431
tree7c0106204e28657e2501fac3108625ea8fa21065
parent660098d61f57f89aea648e10acade4f503d30a9f
eal/x86: force inlining of memcpy sub-functions

Sometimes gcc does not inline the function despite keyword *inline*,
we observe rte_movX is not inline when doing performance profiling,
so use *always_inline* keyword to force gcc to inline the function.

Signed-off-by: Junjie Chen <junjie.j.chen@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eal/common/include/arch/x86/rte_memcpy.h