This updates linux-keystone2 implementation to ODP v1.0 API. Current limitations: - Scheduler API is still SW based. Need to solve scheduler termination issues. - Classification API is not implemented yet. - Timer implementation in linux-generic is changed and can't be easily reused from linux-keystone2. So timer API is not available for now.
Taras Kondratiuk (15): linux-ks2: update include structure linux-ks2: debug: sort out after merge linux-ks2: align: move internal macros to a public place linux-ks2: align: add ODP_ALIGNOF() macro linux-ks2: build only init part linux-ks2: init: fix a minimal library build linux-ks2: init: implement McSDK termination linux-ks2: plat: add abstraction layer for CPPI linux-ks2: event: add headers linux-ks2: buffer: update module linux-ks2: packet: update module linux-ks2: queue: update module linux-ks2: Add shared resources handling linux-ks2: packet_io: update module linux-ks2: crypto: update module platform/linux-keystone2/Makefile.am | 175 ++-- platform/linux-keystone2/include/api/odp_buffer.h | 174 ---- .../linux-keystone2/include/api/odp_buffer_pool.h | 101 --- platform/linux-keystone2/include/api/odp_crypto.h | 372 --------- platform/linux-keystone2/include/api/odp_packet.h | 253 ------ .../linux-keystone2/include/api/odp_packet_io.h | 133 --- platform/linux-keystone2/include/odp.h | 56 ++ platform/linux-keystone2/include/odp/buffer.h | 160 ++++ platform/linux-keystone2/include/odp/crypto.h | 54 ++ platform/linux-keystone2/include/odp/event.h | 76 ++ platform/linux-keystone2/include/odp/packet.h | 407 +++++++++ .../linux-keystone2/include/odp/packet_flags.h | 75 ++ platform/linux-keystone2/include/odp/packet_io.h | 34 + platform/linux-keystone2/include/odp/plat/align.h | 113 +++ .../include/odp/plat/buffer_types.h | 29 + .../include/odp/plat/crypto_types.h | 90 ++ platform/linux-keystone2/include/odp/plat/debug.h | 88 ++ .../linux-keystone2/include/odp/plat/event_types.h | 44 + .../include/{api => odp/plat}/mcsdk_tune.h | 0 platform/linux-keystone2/include/odp/plat/osal.h | 310 +++++++ .../include/odp/plat/packet_io_types.h | 42 + .../include/odp/plat/packet_types.h | 38 + .../linux-keystone2/include/odp/plat/pool_types.h | 43 + .../linux-keystone2/include/odp/plat/queue_types.h | 95 +++ .../include/odp/plat/shared_resource.h | 150 ++++ .../include/{api/odp_state.h => odp/plat/state.h} | 7 +- .../{api/odp_ti_mcsdk.h => odp/plat/ti_mcsdk.h} | 12 +- platform/linux-keystone2/include/odp/pool.h | 108 +++ platform/linux-keystone2/include/odp/queue.h | 156 ++++ .../linux-keystone2/include/odp_buffer_internal.h | 32 +- .../include/odp_buffer_pool_internal.h | 31 - .../linux-keystone2/include/odp_crypto_internal.h | 84 -- .../linux-keystone2/include/odp_debug_internal.h | 78 +- platform/linux-keystone2/include/odp_internal.h | 12 +- .../linux-keystone2/include/odp_packet_internal.h | 144 +--- .../include/odp_packet_io_internal.h | 29 +- .../linux-keystone2/include/odp_packet_io_queue.h | 8 +- .../linux-keystone2/include/odp_pool_internal.h | 24 + .../linux-keystone2/include/odp_queue_internal.h | 99 +-- platform/linux-keystone2/mcsdk/mcsdk_init.c | 150 ++-- platform/linux-keystone2/mcsdk/mcsdk_navig.c | 41 +- platform/linux-keystone2/mcsdk/mcsdk_rmclient.c | 4 +- platform/linux-keystone2/mcsdk/sockutils.c | 2 +- platform/linux-keystone2/odp_buffer.c | 73 +- platform/linux-keystone2/odp_buffer_pool.c | 132 --- platform/linux-keystone2/odp_crypto.c | 331 ++++---- platform/linux-keystone2/odp_init.c | 37 +- platform/linux-keystone2/odp_packet.c | 914 ++++++++++++++++----- platform/linux-keystone2/odp_packet_io.c | 681 +++++++++------ platform/linux-keystone2/odp_pool.c | 545 ++++++++++++ platform/linux-keystone2/odp_queue.c | 382 ++++----- platform/linux-keystone2/odp_shr.c | 179 ++++ 52 files changed, 4767 insertions(+), 2640 deletions(-) delete mode 100644 platform/linux-keystone2/include/api/odp_buffer.h delete mode 100644 platform/linux-keystone2/include/api/odp_buffer_pool.h delete mode 100644 platform/linux-keystone2/include/api/odp_crypto.h delete mode 100644 platform/linux-keystone2/include/api/odp_packet.h delete mode 100644 platform/linux-keystone2/include/api/odp_packet_io.h create mode 100644 platform/linux-keystone2/include/odp.h create mode 100644 platform/linux-keystone2/include/odp/buffer.h create mode 100644 platform/linux-keystone2/include/odp/crypto.h create mode 100644 platform/linux-keystone2/include/odp/event.h create mode 100644 platform/linux-keystone2/include/odp/packet.h create mode 100644 platform/linux-keystone2/include/odp/packet_flags.h create mode 100644 platform/linux-keystone2/include/odp/packet_io.h create mode 100644 platform/linux-keystone2/include/odp/plat/align.h create mode 100644 platform/linux-keystone2/include/odp/plat/buffer_types.h create mode 100644 platform/linux-keystone2/include/odp/plat/crypto_types.h create mode 100644 platform/linux-keystone2/include/odp/plat/debug.h create mode 100644 platform/linux-keystone2/include/odp/plat/event_types.h rename platform/linux-keystone2/include/{api => odp/plat}/mcsdk_tune.h (100%) create mode 100644 platform/linux-keystone2/include/odp/plat/osal.h create mode 100644 platform/linux-keystone2/include/odp/plat/packet_io_types.h create mode 100644 platform/linux-keystone2/include/odp/plat/packet_types.h create mode 100644 platform/linux-keystone2/include/odp/plat/pool_types.h create mode 100644 platform/linux-keystone2/include/odp/plat/queue_types.h create mode 100644 platform/linux-keystone2/include/odp/plat/shared_resource.h rename platform/linux-keystone2/include/{api/odp_state.h => odp/plat/state.h} (87%) rename platform/linux-keystone2/include/{api/odp_ti_mcsdk.h => odp/plat/ti_mcsdk.h} (87%) create mode 100644 platform/linux-keystone2/include/odp/pool.h create mode 100644 platform/linux-keystone2/include/odp/queue.h delete mode 100644 platform/linux-keystone2/include/odp_buffer_pool_internal.h delete mode 100644 platform/linux-keystone2/include/odp_crypto_internal.h create mode 100644 platform/linux-keystone2/include/odp_pool_internal.h delete mode 100644 platform/linux-keystone2/odp_buffer_pool.c create mode 100644 platform/linux-keystone2/odp_pool.c create mode 100644 platform/linux-keystone2/odp_shr.c -- 1.9.1 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp