Hi,
This patchset:
1. Will make it easier for platform implementors to maintain new ODP versions.
2. Platform independent stuff is moved out from linux-generic
3. Tries to increase structure to the installed header files
The following changes since commit 475705c3728d8b7b9073f065798a6b3ca9880b5c:
validation: synchronizer tests (2015-01-14 18:01:48 +0300)
are available in the git repository at:
git://git.linaro.org/people/anders.roxell/odp.git master
for you to fetch changes up to aa9739a65b5caec49a17d3f30bd28105f5c6dfd0:
api: schedule: move defines (2015-01-15 12:35:55 +0100)
----------------------------------------------------------------
Anders Roxell (15):
api: move generic API into the odp namespace
api: align: move internal macros internal
api: align: move platform defines out of public API
api: buffer_pool: move typedef and define
api: buffer: move typedefs and defines
api: packet: move typedefs and defines
api: packet_io: move typedef and defines
api: shared_memory: move typedef and defines
api: std_types: move typedef
api: plat: move platform type headers into plat directory
helper: move headers into namespace the odp/helper
api: remove platform includes
api: queue: move types and defines
api: crypto: move type, define and enums
api: schedule: move defines
Taras Kondratiuk (5):
api: move ODP headers to a directory
doc: cfg: disable TYPEDEF_HIDES_STRUCT
doc: cfg: fix structure attributes parsing
api: atomic: move types documentation out of linux-generic
api: byteorder: move types documentation out of linux-generic
aminclude.am | 5 +-
doc/doxygen.cfg | 13 +-
example/Makefile.inc | 2 +-
example/generator/odp_generator.c | 10 +-
example/ipsec/odp_ipsec.c | 10 +-
example/ipsec/odp_ipsec_cache.c | 2 +-
example/ipsec/odp_ipsec_cache.h | 2 +-
example/ipsec/odp_ipsec_fwd_db.h | 2 +-
example/ipsec/odp_ipsec_loop_db.h | 2 +-
example/ipsec/odp_ipsec_misc.h | 6 +-
example/ipsec/odp_ipsec_stream.c | 6 +-
example/l2fwd/odp_l2fwd.c | 6 +-
example/packet/odp_pktio.c | 6 +-
example/timer/odp_timer_test.c | 2 +-
.../include/{odph_chksum.h => odp/helper/chksum.h} | 2 +-
helper/include/{odph_eth.h => odp/helper/eth.h} | 8 +-
helper/include/{odph_icmp.h => odp/helper/icmp.h} | 6 +-
helper/include/{odph_ip.h => odp/helper/ip.h} | 8 +-
.../include/{odph_ipsec.h => odp/helper/ipsec.h} | 8 +-
.../include/{odph_linux.h => odp/helper/linux.h} | 0
helper/include/{odph_ring.h => odp/helper/ring.h} | 6 +-
helper/include/{odph_tcp.h => odp/helper/tcp.h} | 6 +-
helper/include/{odph_udp.h => odp/helper/udp.h} | 6 +-
include/odp.h | 56 +++
include/odp/api/align.h | 77 ++++
include/odp/api/atomic.h | 260 +++++++++++++
.../api/odp_barrier.h => include/odp/api/barrier.h | 3 -
.../api/odp_buffer.h => include/odp/api/buffer.h | 23 +-
.../odp/api/buffer_pool.h | 15 +-
include/odp/api/byteorder.h | 180 +++++++++
.../odp/api/classification.h | 6 -
.../odp_compiler.h => include/odp/api/compiler.h | 0
.../api/odp_config.h => include/odp/api/config.h | 0
.../odp_coremask.h => include/odp/api/coremask.h | 58 +--
.../api/odp_crypto.h => include/odp/api/crypto.h | 115 +++---
.../api/odp_debug.h => include/odp/api/debug.h | 2 +-
.../api/odp_hints.h => include/odp/api/hints.h | 0
.../api/odp_init.h => include/odp/api/init.h | 2 +-
.../api/odp_packet.h => include/odp/api/packet.h | 28 +-
.../odp/api/packet_flags.h | 4 +-
.../odp_packet_io.h => include/odp/api/packet_io.h | 20 +-
.../api/odp_queue.h => include/odp/api/queue.h | 110 ++++--
.../api/odp_rwlock.h => include/odp/api/rwlock.h | 2 +-
.../odp_schedule.h => include/odp/api/schedule.h | 16 +-
.../odp/api/shared_memory.h | 18 +-
.../odp_spinlock.h => include/odp/api/spinlock.h | 2 +-
include/odp/api/std_types.h | 42 +++
include/odp/api/sync.h | 42 +++
.../odp/api/system_info.h | 2 -
.../api/odp_thread.h => include/odp/api/thread.h | 0
.../odp/api/ticketlock.h | 4 +-
.../api/odp_time.h => include/odp/api/time.h | 2 -
.../api/odp_timer.h => include/odp/api/timer.h | 13 +-
.../api/odp_version.h => include/odp/api/version.h | 0
platform/linux-generic/Makefile.am | 134 ++++---
platform/linux-generic/include/api/odp.h | 56 ---
.../include/api/{odp_align.h => odp/align.h} | 33 +-
platform/linux-generic/include/api/odp/atomic.h | 194 ++++++++++
platform/linux-generic/include/api/odp/barrier.h | 23 ++
platform/linux-generic/include/api/odp/buffer.h | 25 ++
.../linux-generic/include/api/odp/buffer_pool.h | 25 ++
platform/linux-generic/include/api/odp/byteorder.h | 137 +++++++
.../linux-generic/include/api/odp/classification.h | 27 ++
platform/linux-generic/include/api/odp/compiler.h | 22 ++
platform/linux-generic/include/api/odp/config.h | 22 ++
platform/linux-generic/include/api/odp/coremask.h | 53 +++
platform/linux-generic/include/api/odp/crypto.h | 28 ++
platform/linux-generic/include/api/odp/debug.h | 22 ++
platform/linux-generic/include/api/odp/hints.h | 22 ++
platform/linux-generic/include/api/odp/init.h | 22 ++
platform/linux-generic/include/api/odp/packet.h | 27 ++
.../linux-generic/include/api/odp/packet_flags.h | 21 ++
platform/linux-generic/include/api/odp/packet_io.h | 27 ++
.../include/api/odp/plat/atomic_types.h | 81 ++++
.../include/api/odp/plat/buffer_pool_types.h | 37 ++
.../include/api/odp/plat/buffer_types.h | 45 +++
.../include/api/odp/plat/byteorder_types.h | 91 +++++
.../include/api/odp/plat/coremask_types.h | 49 +++
.../include/api/odp/plat/crypto_types.h | 82 ++++
.../include/api/odp/plat/packet_io_types.h | 40 ++
.../include/api/odp/plat/packet_types.h | 47 +++
.../include/api/odp/plat/queue_types.h | 75 ++++
.../include/api/odp/plat/schedule_types.h | 39 ++
.../include/api/odp/plat/shared_memory_types.h | 39 ++
platform/linux-generic/include/api/odp/queue.h | 26 ++
platform/linux-generic/include/api/odp/rwlock.h | 21 ++
platform/linux-generic/include/api/odp/schedule.h | 23 ++
.../linux-generic/include/api/odp/shared_memory.h | 24 ++
platform/linux-generic/include/api/odp/spinlock.h | 22 ++
.../api/{odp_std_types.h => odp/std_types.h} | 22 +-
.../include/api/{odp_sync.h => odp/sync.h} | 25 +-
.../linux-generic/include/api/odp/system_info.h | 23 ++
platform/linux-generic/include/api/odp/thread.h | 22 ++
.../linux-generic/include/api/odp/ticketlock.h | 22 ++
platform/linux-generic/include/api/odp/time.h | 22 ++
platform/linux-generic/include/api/odp/timer.h | 27 ++
platform/linux-generic/include/api/odp/version.h | 22 ++
platform/linux-generic/include/api/odp_atomic.h | 419 ---------------------
platform/linux-generic/include/api/odp_byteorder.h | 287 --------------
.../linux-generic/include/api/odp_platform_types.h | 81 ----
.../linux-generic/include/odp_align_internal.h | 23 +-
.../linux-generic/include/odp_atomic_internal.h | 8 +-
.../linux-generic/include/odp_buffer_internal.h | 18 +-
.../include/odp_buffer_pool_internal.h | 20 +-
.../include/odp_classification_datamodel.h | 4 +-
.../include/odp_classification_inlines.h | 10 +-
.../include/odp_classification_internal.h | 6 +-
.../linux-generic/include/odp_debug_internal.h | 2 +-
.../linux-generic/include/odp_packet_internal.h | 8 +-
.../linux-generic/include/odp_packet_io_internal.h | 6 +-
platform/linux-generic/include/odp_packet_socket.h | 10 +-
.../linux-generic/include/odp_queue_internal.h | 10 +-
.../linux-generic/include/odp_schedule_internal.h | 4 +-
.../linux-generic/include/odp_timer_internal.h | 6 +-
platform/linux-generic/odp_barrier.c | 4 +-
platform/linux-generic/odp_buffer.c | 2 +-
platform/linux-generic/odp_buffer_pool.c | 12 +-
platform/linux-generic/odp_classification.c | 16 +-
platform/linux-generic/odp_coremask.c | 2 +-
platform/linux-generic/odp_crypto.c | 16 +-
platform/linux-generic/odp_impl.c | 2 +-
platform/linux-generic/odp_init.c | 4 +-
platform/linux-generic/odp_linux.c | 8 +-
platform/linux-generic/odp_packet.c | 14 +-
platform/linux-generic/odp_packet_flags.c | 2 +-
platform/linux-generic/odp_packet_io.c | 10 +-
platform/linux-generic/odp_packet_socket.c | 6 +-
platform/linux-generic/odp_queue.c | 20 +-
platform/linux-generic/odp_ring.c | 10 +-
platform/linux-generic/odp_rwlock.c | 4 +-
platform/linux-generic/odp_schedule.c | 22 +-
platform/linux-generic/odp_shared_memory.c | 10 +-
platform/linux-generic/odp_spinlock.c | 2 +-
platform/linux-generic/odp_system_info.c | 4 +-
platform/linux-generic/odp_thread.c | 10 +-
platform/linux-generic/odp_ticketlock.c | 6 +-
platform/linux-generic/odp_time.c | 6 +-
platform/linux-generic/odp_timer.c | 26 +-
platform/linux-generic/odp_weak.c | 4 +-
scripts/odp_version.sh | 2 +-
test/Makefile.inc | 2 +-
test/api_test/odp_atomic_test.h | 2 +-
test/api_test/odp_common.c | 2 +-
test/api_test/odp_ring_test.c | 2 +-
test/performance/odp_scheduling.c | 2 +-
test/validation/common/odp_cunit_common.c | 2 +-
test/validation/odp_pktio.c | 6 +-
147 files changed, 2878 insertions(+), 1358 deletions(-)
rename helper/include/{odph_chksum.h => odp/helper/chksum.h} (96%)
rename helper/include/{odph_eth.h => odp/helper/eth.h} (96%)
rename helper/include/{odph_icmp.h => odp/helper/icmp.h} (97%)
rename helper/include/{odph_ip.h => odp/helper/ip.h} (97%)
rename helper/include/{odph_ipsec.h => odp/helper/ipsec.h} (94%)
rename helper/include/{odph_linux.h => odp/helper/linux.h} (100%)
rename helper/include/{odph_ring.h => odp/helper/ring.h} (99%)
rename helper/include/{odph_tcp.h => odp/helper/tcp.h} (95%)
rename helper/include/{odph_udp.h => odp/helper/udp.h} (96%)
create mode 100644 include/odp.h
create mode 100644 include/odp/api/align.h
create mode 100644 include/odp/api/atomic.h
rename platform/linux-generic/include/api/odp_barrier.h =>
include/odp/api/barrier.h (95%)
rename platform/linux-generic/include/api/odp_buffer.h =>
include/odp/api/buffer.h (88%)
rename platform/linux-generic/include/api/odp_buffer_pool.h =>
include/odp/api/buffer_pool.h (97%)
create mode 100644 include/odp/api/byteorder.h
rename platform/linux-generic/include/api/odp_classification.h =>
include/odp/api/classification.h (99%)
rename platform/linux-generic/include/api/odp_compiler.h =>
include/odp/api/compiler.h (100%)
rename platform/linux-generic/include/api/odp_config.h =>
include/odp/api/config.h (100%)
rename platform/linux-generic/include/api/odp_coremask.h =>
include/odp/api/coremask.h (74%)
rename platform/linux-generic/include/api/odp_crypto.h =>
include/odp/api/crypto.h (79%)
rename platform/linux-generic/include/api/odp_debug.h =>
include/odp/api/debug.h (95%)
rename platform/linux-generic/include/api/odp_hints.h =>
include/odp/api/hints.h (100%)
rename platform/linux-generic/include/api/odp_init.h => include/odp/api/init.h
(99%)
rename platform/linux-generic/include/api/odp_packet.h =>
include/odp/api/packet.h (98%)
rename platform/linux-generic/include/api/odp_packet_flags.h =>
include/odp/api/packet_flags.h (99%)
rename platform/linux-generic/include/api/odp_packet_io.h =>
include/odp/api/packet_io.h (95%)
rename platform/linux-generic/include/api/odp_queue.h =>
include/odp/api/queue.h (75%)
rename platform/linux-generic/include/api/odp_rwlock.h =>
include/odp/api/rwlock.h (98%)
rename platform/linux-generic/include/api/odp_schedule.h =>
include/odp/api/schedule.h (94%)
rename platform/linux-generic/include/api/odp_shared_memory.h =>
include/odp/api/shared_memory.h (93%)
rename platform/linux-generic/include/api/odp_spinlock.h =>
include/odp/api/spinlock.h (97%)
create mode 100644 include/odp/api/std_types.h
create mode 100644 include/odp/api/sync.h
rename platform/linux-generic/include/api/odp_system_info.h =>
include/odp/api/system_info.h (97%)
rename platform/linux-generic/include/api/odp_thread.h =>
include/odp/api/thread.h (100%)
rename platform/linux-generic/include/api/odp_ticketlock.h =>
include/odp/api/ticketlock.h (97%)
rename platform/linux-generic/include/api/odp_time.h => include/odp/api/time.h
(97%)
rename platform/linux-generic/include/api/odp_timer.h =>
include/odp/api/timer.h (98%)
rename platform/linux-generic/include/api/odp_version.h =>
include/odp/api/version.h (100%)
delete mode 100644 platform/linux-generic/include/api/odp.h
rename platform/linux-generic/include/api/{odp_align.h => odp/align.h} (58%)
create mode 100644 platform/linux-generic/include/api/odp/atomic.h
create mode 100644 platform/linux-generic/include/api/odp/barrier.h
create mode 100644 platform/linux-generic/include/api/odp/buffer.h
create mode 100644 platform/linux-generic/include/api/odp/buffer_pool.h
create mode 100644 platform/linux-generic/include/api/odp/byteorder.h
create mode 100644 platform/linux-generic/include/api/odp/classification.h
create mode 100644 platform/linux-generic/include/api/odp/compiler.h
create mode 100644 platform/linux-generic/include/api/odp/config.h
create mode 100644 platform/linux-generic/include/api/odp/coremask.h
create mode 100644 platform/linux-generic/include/api/odp/crypto.h
create mode 100644 platform/linux-generic/include/api/odp/debug.h
create mode 100644 platform/linux-generic/include/api/odp/hints.h
create mode 100644 platform/linux-generic/include/api/odp/init.h
create mode 100644 platform/linux-generic/include/api/odp/packet.h
create mode 100644 platform/linux-generic/include/api/odp/packet_flags.h
create mode 100644 platform/linux-generic/include/api/odp/packet_io.h
create mode 100644 platform/linux-generic/include/api/odp/plat/atomic_types.h
create mode 100644
platform/linux-generic/include/api/odp/plat/buffer_pool_types.h
create mode 100644 platform/linux-generic/include/api/odp/plat/buffer_types.h
create mode 100644
platform/linux-generic/include/api/odp/plat/byteorder_types.h
create mode 100644 platform/linux-generic/include/api/odp/plat/coremask_types.h
create mode 100644 platform/linux-generic/include/api/odp/plat/crypto_types.h
create mode 100644
platform/linux-generic/include/api/odp/plat/packet_io_types.h
create mode 100644 platform/linux-generic/include/api/odp/plat/packet_types.h
create mode 100644 platform/linux-generic/include/api/odp/plat/queue_types.h
create mode 100644 platform/linux-generic/include/api/odp/plat/schedule_types.h
create mode 100644
platform/linux-generic/include/api/odp/plat/shared_memory_types.h
create mode 100644 platform/linux-generic/include/api/odp/queue.h
create mode 100644 platform/linux-generic/include/api/odp/rwlock.h
create mode 100644 platform/linux-generic/include/api/odp/schedule.h
create mode 100644 platform/linux-generic/include/api/odp/shared_memory.h
create mode 100644 platform/linux-generic/include/api/odp/spinlock.h
rename platform/linux-generic/include/api/{odp_std_types.h => odp/std_types.h}
(57%)
rename platform/linux-generic/include/api/{odp_sync.h => odp/sync.h} (69%)
create mode 100644 platform/linux-generic/include/api/odp/system_info.h
create mode 100644 platform/linux-generic/include/api/odp/thread.h
create mode 100644 platform/linux-generic/include/api/odp/ticketlock.h
create mode 100644 platform/linux-generic/include/api/odp/time.h
create mode 100644 platform/linux-generic/include/api/odp/timer.h
create mode 100644 platform/linux-generic/include/api/odp/version.h
delete mode 100644 platform/linux-generic/include/api/odp_atomic.h
delete mode 100644 platform/linux-generic/include/api/odp_byteorder.h
delete mode 100644 platform/linux-generic/include/api/odp_platform_types.h
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp