On 08/14/2014 02:10 PM, Taras Kondratiuk wrote:
Switch to use McSDK libraries instead of OpenEM helpers.
This patch targets only functionality. Performance will be tuned later.

The patch introduces a lot of CAMELCASE checkpatch warnings, because
SDK functions and types have camel case format.

Signed-off-by: Taras Kondratiuk <[email protected]>
---
  platform/linux-keystone2/Makefile.am               |   46 +-
  platform/linux-keystone2/Makefile.inc              |    9 +
  platform/linux-keystone2/README                    |   33 +-
  platform/linux-keystone2/include/api/mcsdk_tune.h  |  207 ++++++
  platform/linux-keystone2/include/api/odp_buffer.h  |   78 ++-
  .../linux-keystone2/include/api/odp_buffer_pool.h  |  100 +++
  platform/linux-keystone2/include/api/odp_debug.h   |  123 ++++
  platform/linux-keystone2/include/api/odp_packet.h  |  250 +++++++
  .../linux-keystone2/include/api/odp_packet_io.h    |  136 ++++
  platform/linux-keystone2/include/api/odp_state.h   |   70 ++
  .../linux-keystone2/include/api/odp_ti_mcsdk.h     |   44 ++
  .../include/configs/odp_config_platform.h          |   56 --
  .../include/configs/odp_config_platform_c6638.h    |   95 ---
  .../linux-keystone2/include/odp_buffer_internal.h  |   53 +-
  .../include/odp_buffer_pool_internal.h             |   51 --
  platform/linux-keystone2/include/odp_internal.h    |   52 ++
  .../linux-keystone2/include/odp_packet_internal.h  |   58 +-
  .../include/odp_packet_io_internal.h               |   31 +-
  .../linux-keystone2/include/odp_packet_io_queue.h  |   34 +
  .../linux-keystone2/include/odp_queue_internal.h   |   55 +-
  .../include/odp_shared_memory_internal.h           |   29 -
  platform/linux-keystone2/include/sockrmmsg.h       |   26 +
  platform/linux-keystone2/include/sockutils.h       |   45 ++
  platform/linux-keystone2/mcsdk/mcsdk_init.c        |  709 ++++++++++++++++++++
  platform/linux-keystone2/mcsdk/mcsdk_navig.c       |  289 ++++++++
  platform/linux-keystone2/mcsdk/mcsdk_rmclient.c    |  272 ++++++++
  platform/linux-keystone2/mcsdk/sockutils.c         |  222 ++++++
  platform/linux-keystone2/odp_buffer.c              |   59 +-
  platform/linux-keystone2/odp_buffer_pool.c         |  332 ++-------
  platform/linux-keystone2/odp_init.c                |  131 ++--
  platform/linux-keystone2/odp_packet.c              |   75 ++-
  platform/linux-keystone2/odp_packet_io.c           |  377 ++++++-----
  platform/linux-keystone2/odp_queue.c               |  184 +++--
  platform/linux-keystone2/odp_shared_memory.c       |  284 --------
  34 files changed, 3264 insertions(+), 1351 deletions(-)
  create mode 100644 platform/linux-keystone2/include/api/mcsdk_tune.h
  create mode 100644 platform/linux-keystone2/include/api/odp_buffer_pool.h
  create mode 100644 platform/linux-keystone2/include/api/odp_debug.h
  create mode 100644 platform/linux-keystone2/include/api/odp_packet.h
  create mode 100644 platform/linux-keystone2/include/api/odp_packet_io.h
  create mode 100644 platform/linux-keystone2/include/api/odp_state.h
  create mode 100644 platform/linux-keystone2/include/api/odp_ti_mcsdk.h
  delete mode 100644 
platform/linux-keystone2/include/configs/odp_config_platform.h
  delete mode 100644 
platform/linux-keystone2/include/configs/odp_config_platform_c6638.h
  create mode 100644 platform/linux-keystone2/include/odp_internal.h
  create mode 100644 platform/linux-keystone2/include/odp_packet_io_queue.h
  delete mode 100644 
platform/linux-keystone2/include/odp_shared_memory_internal.h
  create mode 100644 platform/linux-keystone2/include/sockrmmsg.h
  create mode 100644 platform/linux-keystone2/include/sockutils.h
  create mode 100644 platform/linux-keystone2/mcsdk/mcsdk_init.c
  create mode 100644 platform/linux-keystone2/mcsdk/mcsdk_navig.c
  create mode 100644 platform/linux-keystone2/mcsdk/mcsdk_rmclient.c
  create mode 100644 platform/linux-keystone2/mcsdk/sockutils.c
  delete mode 100644 platform/linux-keystone2/odp_shared_memory.c

Regarding a size of this patch. Unfortunately there is no way to do
this migration in smaller steps without breaking a build. It is
basically a completely new implementation.

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to