[dpdk-dev] [PATCH 0/3] dynamic linking support

Xiaoyun Li xiaoyun.li at intel.com
Fri Aug 25 04:06:10 CEST 2017


This patchset dynamically selects functions at run-time based on CPU flags
that current machine supports. This patchset modifies mempcy, memcpy perf
test and x86 EFD, using function pointers and bind them at constructor time.

Xiaoyun Li (3):
  eal/x86: run-time dispatch over memcpy
  app/test: run-time dispatch over memcpy perf test
  efd: run-time dispatch over x86 EFD functions

 .../common/include/arch/x86/rte_memcpy.h           | 305 ++++++++++++---------
 lib/librte_efd/rte_efd_x86.h                       |  35 ++-
 mk/machine/native/rte.vars.mk                      |   2 +
 test/test/test_memcpy_perf.c                       |  36 ++-
 4 files changed, 236 insertions(+), 142 deletions(-)

-- 
2.7.4



More information about the dev mailing list