[dpdk-dev] [PATCH v5 0/2] examples/performance-thread: add arm64 support

Ashwin Sekhar T K ashwin.sekhar at caviumnetworks.com
Tue Jul 4 10:22:39 CEST 2017


This series of patches adds the arm64 support for performance-thread
app.

Patch 1 moves some x86 specific code to architecture dependent directory

Patch 2 adds the necessary arm64 support for lthread.

v5:
* Added back the save/restore of callee saved ASIMD registers in ctx_switch.
  This was omitted by mistake in v4.

v4:
* Added the 2-clause license to examples/performance-thread/common/arch/x86/stack.h
  as this file contains the code moved from examples/performance-thread/common/lthread.c
  which already has this license.
* Removed the 2-clause license from newly added aarch64 files as these code are
  not taken from the github link mentioned in the 2-clause license.

v3:
* Added save/restore of callee saved ASIMD registers in ctx_switch

v2:
* Split the patch into separate patches, one for code reorg and another
  for adding arm64 support.


Ashwin Sekhar T K (2):
  examples/performance-thread: reorganise arch dependent code
  examples/performance-thread: add arm64 support

 examples/performance-thread/Makefile               |  4 +-
 .../performance-thread/common/arch/arm64/ctx.c     | 90 +++++++++++++++++++++
 .../performance-thread/common/arch/arm64/ctx.h     | 83 +++++++++++++++++++
 .../performance-thread/common/arch/arm64/stack.h   | 84 +++++++++++++++++++
 .../performance-thread/common/arch/x86/stack.h     | 94 ++++++++++++++++++++++
 examples/performance-thread/common/common.mk       | 10 ++-
 examples/performance-thread/common/lthread.c       | 11 +--
 examples/performance-thread/l3fwd-thread/main.c    |  2 +-
 8 files changed, 364 insertions(+), 14 deletions(-)
 create mode 100644 examples/performance-thread/common/arch/arm64/ctx.c
 create mode 100644 examples/performance-thread/common/arch/arm64/ctx.h
 create mode 100644 examples/performance-thread/common/arch/arm64/stack.h
 create mode 100644 examples/performance-thread/common/arch/x86/stack.h

-- 
2.12.2



More information about the dev mailing list