Sorry, for some reason I missed that.  You're right, it's there.

On Tue, Feb 9, 2016 at 2:46 AM, Christophe Milard <
christophe.mil...@linaro.org> wrote:

> I am not sure what you see as missing here: The implementer's guide
> diagram is updated by patch3. Are there any other guide/ diagram I am
> missing?
> Christophe.
>
> On 9 February 2016 at 02:44, Bill Fischofer <bill.fischo...@linaro.org>
> wrote:
>
>>
>> This looks good and passes apply-and-build.  However in addition to the
>> whitespace issues in part 3 it needs a part 4 to update the Implementation
>> Guide, which includes a diagram of the include hierarchy that this series
>> modifies.
>>
>> On Mon, Feb 8, 2016 at 12:31 PM, Christophe Milard <
>> christophe.mil...@linaro.org> wrote:
>>
>>> since v1:
>>> odp.h renamed to odp_api.h (and not odp/api.h as initialy proposed).
>>>
>>> This patch series implements a new structure in the ODP repo so that new
>>> interfaces can be more easily added to ODP
>>>
>>> Saddly changing the current structure seems needed as just adding to it
>>> results in a quite fuzzy file organisation:
>>>
>>> Today:
>>> include/odp/api is the reference for the ODP API interface.
>>> Platform/linux-generic/include/odp is the platform implementation of the
>>> ODP
>>> API interface.  The ODP API interface is simply called ODP there.
>>> Having the same name (ODP) for the whole ODP and one of its API result
>>> in a
>>> quite messy organisation.
>>> Moreover, with the current structure, a new interface cannot be named
>>> the same
>>> on the platform side as on the reference side because the directory name
>>> is
>>> what is used to distinguish the files at include time (hence the 2 names
>>> today):
>>> A new interface (e.g. defined in include/odp/drv) cannot be called
>>> Platform/linux-generic/include/odp/drv on the platform side as the
>>> statement
>>> include <odp/drv> would be ambiguous.
>>> And this make the driver interface appear as a sub interface of the API,
>>> which does not reflect any reality.
>>> I have tried a few variant of this, none of which gave me enough
>>> satisfaction.
>>>
>>> These patches:
>>> Aims to having a way to get following structures
>>> (for two interfaces: api and drv):
>>>
>>> In the repo:
>>> ./
>>> ├── include/
>>> │   ├── odp_api.h
>>> │   ├── odp_drv.h
>>> │   └── odp/
>>> │       ├── api/
>>> │       │   └── spec/
>>> │       └── drv/
>>> │           └── spec/
>>> └── platform/
>>>     └── linux-generic/
>>>         └── include/
>>>             └── odp/
>>>                 ├── api/
>>>                 │   └── plat/
>>>                 ├── com/
>>>                 │   └── plat/
>>>                 └── drv/
>>>                     └── plat/
>>>
>>> Once installed:
>>> ./
>>> └── include/
>>>     ├── odp_api.h
>>>     ├── odp_drv.h
>>>     └── odp/
>>>         ├── api/
>>>         │   ├── plat/
>>>         │   └── spec/
>>>         ├── com/
>>>         │   └── plat/
>>>         └── drv/
>>>             ├── plat/
>>>             └── spec/
>>>
>>> These patches do not create the drv interface: they just move around
>>> the existing structure (the ODP API includes files) according to the
>>> above
>>> trees. Patch 3 updates the docs with a view of the new structure
>>> (without the
>>> drv interface). New patches will be sent to create the new interface and
>>> update the documentation accordinally later.
>>>
>>> With this new structure, each interface can get its own directory.
>>>
>>> The com/ directory is meant to contain things which can be shared between
>>> two (or more) interfaces. It is only present in the platform side as the
>>> definition of each interface is assumed to be "stand alone" (non-leaking)
>>>
>>> The odp/<interface>/spec/ directory contains the interface platform
>>> agnostic
>>> specification.
>>> e.g. include/odp/api/spec/ now contains what used to be located in
>>> include/odp/api.
>>>
>>> The plat directory has the same meaning as before: it is just moved one
>>> step
>>> down to the interface it belongs to.
>>>
>>> Patches 1 and 2 touch quite many files, and will probably not apply
>>> nicely. They will apply on hash b6dc841f2b0fcdf22854fb56b289ec0fd9b648d1
>>> Patch 3 (doc) is "manual".
>>>
>>> The script performing the modifications for the two first patches
>>> follows:
>>> (may be used during review or merging time)
>>>
>>> ################################################################
>>> #      PATCH 1:
>>> #      platform/X/includes/odp mv to platform/X/includes/odp/api
>>> #      includes/odp/api mv to includes/odp/api/spec
>>> ################################################################
>>> #Today's platform/X/includes/odp actually describes the API interface of
>>> ODP
>>> #and is therefore moved to platform/X/includes/odp/api:
>>>
>>> #the interface specification include/odp/api now moves to
>>> include/odp/api/spec
>>> # - create the dir:
>>> mkdir platform/linux-generic/include/odp/api
>>>
>>> # - move .../odp/* to .../odp/api/* , omiting errors (api cannot be
>>> moved to itself)
>>> git mv -k platform/linux-generic/include/odp/*
>>> platform/linux-generic/include/odp/api
>>>
>>> # - change "include <odp/helper>" to "include <odX/helper>", so that
>>> further sed wont affect them:
>>> #   this is changed back to what it was later in this script
>>> git grep -l "odp/helper" | egrep -e '(.*\.c$)|(.*\.h$)' | xargs sed -i
>>> -e 's:#include\(.*\)odp/helper\(.*\):#include\1odX/helper\2:'
>>>
>>> # - change "include <odp/XXX>" to "include <odY/XXX>", for each XXX h
>>> files from the ARCH directory so that further sed wont affect them:
>>> #   this is changed back to what it was later in this script
>>> for a in `find platform/linux-generic/arch -name '*.h' | xargs -i
>>> basename {} |sort -u`;
>>> do
>>>   git grep -l "odp/$a" | egrep -e '(.*\.c$)|(.*\.h$)' | xargs sed -i -e
>>> "s:#include\(.*\)odp/$a\(.*\):#include\1odY/$a\2:"
>>> done
>>>
>>> # - change "include <odp/api>" to "include <odX/api>", so that further
>>> sed wont affect them:
>>> #   this is changed to <odp/api/spec/*> later in this script
>>> git grep -l "odp/api" | egrep -e '(.*\.c$)|(.*\.h$)' | xargs sed -i -e
>>> 's:#include\(.*\)odp/api\(.*\):#include\1odX/api\2:'
>>>
>>> # - change the remaining "include <odp/*>" to "include <odp/api/*>"
>>> git grep -l "include.*odp" | egrep -e '(.*\.c$)|(.*\.h$)' | xargs sed -i
>>> -e 's:#include\(.*\)odp/\(.*\):#include\1odp/api/\2:'
>>>
>>> # - change the former "include <odX/api/*>" to "include <odp/api/spec/*>"
>>> git grep -l "include.*odX/api" | egrep -e '(.*\.c$)|(.*\.h$)' | xargs
>>> sed -i -e 's:#include\(.*\)odX/api/\(.*\):#include\1odp/api/spec/\2:'
>>>
>>> # - change "include <odX/helper>" back to "include <odp/helper>"
>>> git grep -l "odX/helper" | egrep -e '(.*\.c$)|(.*\.h$)' | xargs sed -i
>>> -e 's:#include\(.*\)odX/helper\(.*\):#include\1odp/helper\2:'
>>>
>>> # - change "include <odY/XXX>" back to "include <odp/XXX>", for ARCH
>>> includes
>>> git grep -l "include.*odY/" | egrep -e '(.*\.c$)|(.*\.h$)' | xargs sed
>>> -i -e 's:#include\(.*\)odY/\(.*\):#include\1odp/\2:'
>>>
>>> # - create include/odp/api/spec and move include/odp/api/* to
>>> include/odp/api/spec
>>> mkdir include/odp/api/spec
>>> git mv  -k include/odp/api/* include/odp/api/spec
>>>
>>> # - in platform/linux-generic/Makefile.am, rename odpinclude to
>>> odpapiinclude, as this regards only the API
>>> sed -i -e 's:odpinclude:odpapiinclude:'
>>> platform/linux-generic/Makefile.am
>>> # - move down the installation dir one step:
>>> sed -i -e 's:odpapiincludedir\(.*\):odpapiincludedir\1/api:'
>>> platform/linux-generic/Makefile.am
>>>
>>> # - in platform/linux-generic/Makefile.am, rename odpplatinclude to
>>> odpapiplatinclude, as this regards only the API
>>> sed -i -e 's:odpplatinclude:odpapiplatinclude:'
>>> platform/linux-generic/Makefile.am
>>> # - move down the installation dir one step:
>>> sed -i -e
>>> 's:odpapiplatincludedir\(.*\)/odp/plat:odpapiplatincludedir\1/odp/api/plat:'
>>> platform/linux-generic/Makefile.am
>>>
>>> # - in platform/linux-generic/Makefile.am, push the platform plat
>>> headers down one step: $(srcdir)/include/odp/plat/* ->
>>> $(srcdir)/include/odp/api/plat/*
>>> sed -i -e'/odpapiplatinclude_HEADERS/,/^$/s:odp/:odp/api/:'
>>> platform/linux-generic/Makefile.am
>>>
>>> # - in platform/linux-generic/Makefile.am, push the platform main
>>> headers down one step: $(srcdir)/include/odp/* ->
>>> $(srcdir)/include/odp/api/*. Not for ARCH
>>> sed -i -e'/odpapiinclude_HEADERS/,/^$/s:odp/:odp/api/:'
>>> platform/linux-generic/Makefile.am
>>> sed -i -e'/odpapiinclude_HEADERS/,/^$/s:(srcdir)/arch/@ARCH@
>>> /odp/api/:(srcdir)/arch/@ARCH@/odp/:' platform/linux-generic/Makefile.am
>>>
>>> # - in platform/Makefile.inc change odpapiinclude to odpapispecinclude,
>>> because these are the interface specification files.
>>> sed -i -e 's:odpapiinclude:odpapispecinclude:' platform/Makefile.inc
>>>
>>> # - in platform/Makefile.inc change the installation dir path for
>>> odpapispecincludedir to include/odp/api/spec
>>> sed -i -e 's:odpapispecincludedir\(.*\):odpapispecincludedir\1/spec:'
>>> platform/Makefile.inc
>>>
>>> # - in platform/Makefile.inc change odpapiinclude to odpapispecinclude,
>>> because these are the interface specification files.
>>> sed -i -e'/odpapispecinclude_HEADERS/,/^$/s:odp/api/:odp/api/spec/:'
>>> platform/Makefile.inc
>>>
>>>
>>> ################################################################
>>> #      PATCH 2:
>>> #      mv odp.h one step down, as odp_api.h.
>>> ################################################################
>>> #move odp.h one step down:
>>> git mv include/odp.h include/odp_api.h
>>> #change all include <odp.h> to include <odp_api.h>
>>> git grep -l 'include.*odp\.h[>"]' | egrep -e
>>> '(.*\.c$)|(.*\.h$)|(.*\.cpp$)' | xargs sed -i -e
>>> 's:#include\(.*\)odp\.h\(.*\):#include\1odp_api\.h\2:'
>>> #change the makefile
>>> sed -i -e 's:include\(.*\)odp\.h\(.*\):include\1odp_api\.h\2:'
>>> platform/linux-generic/Makefile.am
>>>
>>> Christophe Milard (3):
>>>   api and linux-generic: make room for new api
>>>   api: move include/odp.h to include/odp_api.h
>>>   doc: descr of structure for new interfaces
>>>
>>>  doc/implementers-guide/implementers-guide.adoc     |  72 ++++++----
>>>  doc/users-guide/users-guide.adoc                   |  11 +-
>>>  example/classifier/odp_classifier.c                |   2 +-
>>>  example/generator/odp_generator.c                  |   2 +-
>>>  example/ipsec/odp_ipsec.c                          |   2 +-
>>>  example/ipsec/odp_ipsec_cache.c                    |   2 +-
>>>  example/ipsec/odp_ipsec_cache.h                    |   2 +-
>>>  example/ipsec/odp_ipsec_fwd_db.c                   |   2 +-
>>>  example/ipsec/odp_ipsec_fwd_db.h                   |   2 +-
>>>  example/ipsec/odp_ipsec_loop_db.c                  |   2 +-
>>>  example/ipsec/odp_ipsec_loop_db.h                  |   2 +-
>>>  example/ipsec/odp_ipsec_misc.h                     |   2 +-
>>>  example/ipsec/odp_ipsec_sa_db.c                    |   2 +-
>>>  example/ipsec/odp_ipsec_sp_db.c                    |   2 +-
>>>  example/ipsec/odp_ipsec_stream.c                   |   2 +-
>>>  example/ipsec/odp_ipsec_stream.h                   |   2 +-
>>>  example/packet/odp_pktio.c                         |   2 +-
>>>  example/time/time_global_test.c                    |   2 +-
>>>  example/timer/odp_timer_test.c                     |   2 +-
>>>  example/traffic_mgmt/odp_traffic_mgmt.c            |   4 +-
>>>  helper/hashtable.c                                 |   2 +-
>>>  helper/include/odp/helper/chksum.h                 |   2 +-
>>>  helper/include/odp/helper/eth.h                    |   8 +-
>>>  helper/include/odp/helper/icmp.h                   |   6 +-
>>>  helper/include/odp/helper/ip.h                     |   6 +-
>>>  helper/include/odp/helper/ipsec.h                  |   8 +-
>>>  helper/include/odp/helper/linux.h                  |   2 +-
>>>  helper/include/odp/helper/ring.h                   |   6 +-
>>>  helper/include/odp/helper/tcp.h                    |   6 +-
>>>  helper/include/odp/helper/udp.h                    |   6 +-
>>>  helper/lineartable.c                               |   2 +-
>>>  helper/linux.c                                     |   6 +-
>>>  helper/ring.c                                      |   2 +-
>>>  helper/test/odp_chksum.c                           |   2 +-
>>>  helper/test/odp_process.c                          |   2 +-
>>>  helper/test/odp_table.c                            |   2 +-
>>>  helper/test/odp_thread.c                           |   2 +-
>>>  include/odp.h                                      |  66 ----------
>>>  include/odp/api/{ => spec}/align.h                 |   0
>>>  include/odp/api/{ => spec}/atomic.h                |   0
>>>  include/odp/api/{ => spec}/barrier.h               |   0
>>>  include/odp/api/{ => spec}/buffer.h                |   0
>>>  include/odp/api/{ => spec}/byteorder.h             |   0
>>>  include/odp/api/{ => spec}/classification.h        |   0
>>>  include/odp/api/{ => spec}/compiler.h              |   0
>>>  include/odp/api/{ => spec}/config.h                |   0
>>>  include/odp/api/{ => spec}/cpu.h                   |   2 +-
>>>  include/odp/api/{ => spec}/cpumask.h               |   2 +-
>>>  include/odp/api/{ => spec}/crypto.h                |   0
>>>  include/odp/api/{ => spec}/debug.h                 |   0
>>>  include/odp/api/{ => spec}/errno.h                 |   0
>>>  include/odp/api/{ => spec}/event.h                 |   0
>>>  include/odp/api/{ => spec}/hash.h                  |   2 +-
>>>  include/odp/api/{ => spec}/hints.h                 |   0
>>>  include/odp/api/{ => spec}/init.h                  |   6 +-
>>>  include/odp/api/{ => spec}/packet.h                |   0
>>>  include/odp/api/{ => spec}/packet_flags.h          |   4 +-
>>>  include/odp/api/{ => spec}/packet_io.h             |   4 +-
>>>  include/odp/api/{ => spec}/packet_io_stats.h       |   0
>>>  include/odp/api/{ => spec}/pool.h                  |   2 +-
>>>  include/odp/api/{ => spec}/queue.h                 |   4 +-
>>>  include/odp/api/{ => spec}/random.h                |   0
>>>  include/odp/api/{ => spec}/rwlock.h                |   0
>>>  include/odp/api/{ => spec}/rwlock_recursive.h      |   0
>>>  include/odp/api/{ => spec}/schedule.h              |  10 +-
>>>  include/odp/api/{ => spec}/schedule_types.h        |   0
>>>  include/odp/api/{ => spec}/shared_memory.h         |   0
>>>  include/odp/api/{ => spec}/spinlock.h              |   0
>>>  include/odp/api/{ => spec}/spinlock_recursive.h    |   0
>>>  include/odp/api/{ => spec}/std_clib.h              |   0
>>>  include/odp/api/{ => spec}/std_types.h             |   0
>>>  include/odp/api/{ => spec}/sync.h                  |   0
>>>  include/odp/api/{ => spec}/system_info.h           |   0
>>>  include/odp/api/{ => spec}/thread.h                |   0
>>>  include/odp/api/{ => spec}/thrmask.h               |   2 +-
>>>  include/odp/api/{ => spec}/ticketlock.h            |   0
>>>  include/odp/api/{ => spec}/time.h                  |   0
>>>  include/odp/api/{ => spec}/timer.h                 |   0
>>>  include/odp/api/{ => spec}/traffic_mngr.h          |   4 +-
>>>  include/odp/api/{ => spec}/version.h               |   0
>>>  include/odp_api.h                                  |  66 ++++++++++
>>>  platform/Makefile.inc                              |  88 ++++++-------
>>>  platform/linux-generic/Makefile.am                 | 146
>>> ++++++++++-----------
>>>  platform/linux-generic/arch/linux/odp_cpu_arch.c   |   6 +-
>>>  platform/linux-generic/arch/mips64/odp_cpu_arch.c  |   6 +-
>>>  platform/linux-generic/arch/x86/odp_cpu_arch.c     |   2 +-
>>>  .../linux-generic/include/odp/{ => api}/align.h    |   2 +-
>>>  .../linux-generic/include/odp/{ => api}/atomic.h   |   6 +-
>>>  .../linux-generic/include/odp/{ => api}/barrier.h  |  10 +-
>>>  .../linux-generic/include/odp/{ => api}/buffer.h   |  10 +-
>>>  .../include/odp/{ => api}/byteorder.h              |   8 +-
>>>  .../include/odp/{ => api}/classification.h         |  14 +-
>>>  .../linux-generic/include/odp/{ => api}/compiler.h |   2 +-
>>>  .../linux-generic/include/odp/{ => api}/config.h   |   2 +-
>>>  platform/linux-generic/include/odp/{ => api}/cpu.h |   2 +-
>>>  .../linux-generic/include/odp/{ => api}/cpumask.h  |   6 +-
>>>  .../linux-generic/include/odp/{ => api}/crypto.h   |  14 +-
>>>  .../linux-generic/include/odp/{ => api}/debug.h    |   2 +-
>>>  .../linux-generic/include/odp/{ => api}/errno.h    |   2 +-
>>>  .../linux-generic/include/odp/{ => api}/event.h    |   4 +-
>>>  .../linux-generic/include/odp/{ => api}/hash.h     |   2 +-
>>>  .../linux-generic/include/odp/{ => api}/hints.h    |   2 +-
>>>  .../linux-generic/include/odp/{ => api}/init.h     |   4 +-
>>>  .../linux-generic/include/odp/{ => api}/packet.h   |  14 +-
>>>  .../include/odp/{ => api}/packet_flags.h           |   2 +-
>>>  .../include/odp/{ => api}/packet_io.h              |  14 +-
>>>  .../include/odp/{ => api}/plat/atomic_types.h      |   4 +-
>>>  .../include/odp/{ => api}/plat/barrier_types.h     |   4 +-
>>>  .../include/odp/{ => api}/plat/buffer_types.h      |   4 +-
>>>  .../include/odp/{ => api}/plat/byteorder_types.h   |   0
>>>  .../odp/{ => api}/plat/classification_types.h      |   2 +-
>>>  .../include/odp/{ => api}/plat/cpumask_types.h     |   2 +-
>>>  .../include/odp/{ => api}/plat/crypto_types.h      |   0
>>>  .../include/odp/{ => api}/plat/event_types.h       |   4 +-
>>>  .../include/odp/{ => api}/plat/init_types.h        |   0
>>>  .../include/odp/{ => api}/plat/packet_io_types.h   |   4 +-
>>>  .../include/odp/{ => api}/plat/packet_types.h      |   4 +-
>>>  .../include/odp/{ => api}/plat/pool_types.h        |   6 +-
>>>  .../include/odp/{ => api}/plat/queue_types.h       |   4 +-
>>>  .../odp/{ => api}/plat/rwlock_recursive_types.h    |   6 +-
>>>  .../include/odp/{ => api}/plat/rwlock_types.h      |   2 +-
>>>  .../include/odp/{ => api}/plat/schedule_types.h    |   0
>>>  .../odp/{ => api}/plat/shared_memory_types.h       |   4 +-
>>>  .../odp/{ => api}/plat/spinlock_recursive_types.h  |   4 +-
>>>  .../include/odp/{ => api}/plat/spinlock_types.h    |   2 +-
>>>  .../include/odp/{ => api}/plat/strong_types.h      |   0
>>>  .../include/odp/{ => api}/plat/thread_types.h      |   0
>>>  .../include/odp/{ => api}/plat/thrmask_types.h     |   2 +-
>>>  .../include/odp/{ => api}/plat/ticketlock_types.h  |   2 +-
>>>  .../include/odp/{ => api}/plat/time_types.h        |   0
>>>  .../include/odp/{ => api}/plat/timer_types.h       |   0
>>>  .../odp/{ => api}/plat/traffic_mngr_types.h        |   4 +-
>>>  .../include/odp/{ => api}/plat/version_types.h     |   0
>>>  .../linux-generic/include/odp/{ => api}/pool.h     |   8 +-
>>>  .../linux-generic/include/odp/{ => api}/queue.h    |  12 +-
>>>  .../linux-generic/include/odp/{ => api}/random.h   |   2 +-
>>>  .../linux-generic/include/odp/{ => api}/rwlock.h   |   4 +-
>>>  .../include/odp/{ => api}/rwlock_recursive.h       |   4 +-
>>>  .../linux-generic/include/odp/{ => api}/schedule.h |   4 +-
>>>  .../include/odp/{ => api}/schedule_types.h         |   4 +-
>>>  .../include/odp/{ => api}/shared_memory.h          |   4 +-
>>>  .../linux-generic/include/odp/{ => api}/spinlock.h |   4 +-
>>>  .../include/odp/{ => api}/spinlock_recursive.h     |   4 +-
>>>  .../linux-generic/include/odp/{ => api}/std_clib.h |   2 +-
>>>  .../include/odp/{ => api}/std_types.h              |   2 +-
>>>  .../linux-generic/include/odp/{ => api}/sync.h     |   2 +-
>>>  .../include/odp/{ => api}/system_info.h            |   4 +-
>>>  .../linux-generic/include/odp/{ => api}/thread.h   |   4 +-
>>>  .../linux-generic/include/odp/{ => api}/thrmask.h  |   4 +-
>>>  .../include/odp/{ => api}/ticketlock.h             |   4 +-
>>>  .../linux-generic/include/odp/{ => api}/time.h     |   6 +-
>>>  .../linux-generic/include/odp/{ => api}/timer.h    |  12 +-
>>>  .../include/odp/{ => api}/traffic_mngr.h           |   4 +-
>>>  .../linux-generic/include/odp/{ => api}/version.h  |   4 +-
>>>  .../linux-generic/include/odp_align_internal.h     |   2 +-
>>>  .../linux-generic/include/odp_atomic_internal.h    |   8 +-
>>>  .../linux-generic/include/odp_buffer_internal.h    |  20 +--
>>>  .../include/odp_classification_datamodel.h         |   4 +-
>>>  .../include/odp_classification_inlines.h           |   2 +-
>>>  .../include/odp_classification_internal.h          |   6 +-
>>>  .../linux-generic/include/odp_debug_internal.h     |   2 +-
>>>  platform/linux-generic/include/odp_internal.h      |   4 +-
>>>  .../include/odp_name_table_internal.h              |   2 +-
>>>  .../linux-generic/include/odp_packet_internal.h    |  10 +-
>>>  .../linux-generic/include/odp_packet_io_internal.h |   8 +-
>>>  platform/linux-generic/include/odp_packet_netmap.h |  10 +-
>>>  platform/linux-generic/include/odp_packet_socket.h |  12 +-
>>>  platform/linux-generic/include/odp_packet_tap.h    |   2 +-
>>>  .../linux-generic/include/odp_pkt_queue_internal.h |   2 +-
>>>  platform/linux-generic/include/odp_pool_internal.h |  22 ++--
>>>  .../linux-generic/include/odp_queue_internal.h     |  12 +-
>>>  .../linux-generic/include/odp_schedule_internal.h  |   6 +-
>>>  .../linux-generic/include/odp_timer_internal.h     |   6 +-
>>>  .../include/odp_timer_wheel_internal.h             |   2 +-
>>>  .../include/odp_traffic_mngr_internal.h            |   4 +-
>>>  platform/linux-generic/odp_atomic.c                |   2 +-
>>>  platform/linux-generic/odp_barrier.c               |   8 +-
>>>  platform/linux-generic/odp_buffer.c                |   2 +-
>>>  platform/linux-generic/odp_classification.c        |  14 +-
>>>  platform/linux-generic/odp_cpu.c                   |   4 +-
>>>  platform/linux-generic/odp_cpumask.c               |   2 +-
>>>  platform/linux-generic/odp_cpumask_task.c          |   2 +-
>>>  platform/linux-generic/odp_crypto.c                |  18 +--
>>>  platform/linux-generic/odp_errno.c                 |   2 +-
>>>  platform/linux-generic/odp_event.c                 |  12 +-
>>>  platform/linux-generic/odp_hash.c                  |   4 +-
>>>  platform/linux-generic/odp_impl.c                  |   2 +-
>>>  platform/linux-generic/odp_init.c                  |   4 +-
>>>  platform/linux-generic/odp_packet.c                |   6 +-
>>>  platform/linux-generic/odp_packet_flags.c          |   2 +-
>>>  platform/linux-generic/odp_packet_io.c             |  12 +-
>>>  platform/linux-generic/odp_pkt_queue.c             |   2 +-
>>>  platform/linux-generic/odp_pool.c                  |  14 +-
>>>  platform/linux-generic/odp_queue.c                 |  24 ++--
>>>  platform/linux-generic/odp_rwlock.c                |   6 +-
>>>  platform/linux-generic/odp_rwlock_recursive.c      |   4 +-
>>>  platform/linux-generic/odp_schedule.c              |  24 ++--
>>>  platform/linux-generic/odp_shared_memory.c         |  12 +-
>>>  platform/linux-generic/odp_sorted_list.c           |   2 +-
>>>  platform/linux-generic/odp_spinlock.c              |   4 +-
>>>  platform/linux-generic/odp_spinlock_recursive.c    |   4 +-
>>>  platform/linux-generic/odp_system_info.c           |   6 +-
>>>  platform/linux-generic/odp_thread.c                |  14 +-
>>>  platform/linux-generic/odp_thrmask.c               |   4 +-
>>>  platform/linux-generic/odp_ticketlock.c            |   8 +-
>>>  platform/linux-generic/odp_time.c                  |   4 +-
>>>  platform/linux-generic/odp_timer.c                 |  30 ++---
>>>  platform/linux-generic/odp_timer_wheel.c           |   2 +-
>>>  platform/linux-generic/odp_traffic_mngr.c          |   2 +-
>>>  platform/linux-generic/odp_version.c               |   2 +-
>>>  platform/linux-generic/odp_weak.c                  |   4 +-
>>>  platform/linux-generic/pktio/ethtool.c             |   2 +-
>>>  platform/linux-generic/pktio/loop.c                |   4 +-
>>>  platform/linux-generic/pktio/pcap.c                |   2 +-
>>>  platform/linux-generic/pktio/socket.c              |   4 +-
>>>  platform/linux-generic/pktio/socket_mmap.c         |   4 +-
>>>  platform/linux-generic/pktio/sysfs.c               |   2 +-
>>>  platform/linux-generic/pktio/tap.c                 |   2 +-
>>>  test/api_test/odp_common.c                         |   2 +-
>>>  test/api_test/odp_ring_test.c                      |   2 +-
>>>  test/miscellaneous/odp_api_from_cpp.cpp            |   2 +-
>>>  test/performance/odp_atomic.c                      |   2 +-
>>>  test/performance/odp_l2fwd.c                       |   2 +-
>>>  test/performance/odp_pktio_perf.c                  |   2 +-
>>>  test/performance/odp_scheduling.c                  |   2 +-
>>>  test/validation/atomic/atomic.c                    |   2 +-
>>>  test/validation/barrier/barrier.c                  |   2 +-
>>>  test/validation/buffer/buffer.c                    |   2 +-
>>>  test/validation/classification/classification.c    |   2 +-
>>>  .../classification/odp_classification_testsuites.h |   2 +-
>>>  test/validation/common/mask_common.c               |   2 +-
>>>  test/validation/common/odp_cunit_common.c          |   2 +-
>>>  test/validation/config/config.c                    |   2 +-
>>>  test/validation/cpumask/cpumask.c                  |   2 +-
>>>  test/validation/cpumask/cpumask.h                  |   2 +-
>>>  test/validation/crypto/crypto.c                    |   2 +-
>>>  test/validation/crypto/odp_crypto_test_inp.c       |   2 +-
>>>  test/validation/errno/errno.c                      |   2 +-
>>>  test/validation/hash/hash.c                        |   2 +-
>>>  test/validation/init/init.c                        |   2 +-
>>>  test/validation/lock/lock.c                        |   2 +-
>>>  test/validation/packet/packet.c                    |   2 +-
>>>  test/validation/pktio/pktio.c                      |   2 +-
>>>  test/validation/pool/pool.c                        |   2 +-
>>>  test/validation/queue/queue.c                      |   2 +-
>>>  test/validation/random/random.c                    |   2 +-
>>>  test/validation/scheduler/scheduler.c              |   2 +-
>>>  test/validation/shmem/shmem.c                      |   2 +-
>>>  test/validation/std_clib/std_clib.c                |   2 +-
>>>  test/validation/system/system.c                    |   4 +-
>>>  test/validation/thread/thread.c                    |   2 +-
>>>  test/validation/thread/thread.h                    |   2 +-
>>>  test/validation/time/time.c                        |   2 +-
>>>  test/validation/timer/timer.c                      |   2 +-
>>>  254 files changed, 711 insertions(+), 694 deletions(-)
>>>  delete mode 100644 include/odp.h
>>>  rename include/odp/api/{ => spec}/align.h (100%)
>>>  rename include/odp/api/{ => spec}/atomic.h (100%)
>>>  rename include/odp/api/{ => spec}/barrier.h (100%)
>>>  rename include/odp/api/{ => spec}/buffer.h (100%)
>>>  rename include/odp/api/{ => spec}/byteorder.h (100%)
>>>  rename include/odp/api/{ => spec}/classification.h (100%)
>>>  rename include/odp/api/{ => spec}/compiler.h (100%)
>>>  rename include/odp/api/{ => spec}/config.h (100%)
>>>  rename include/odp/api/{ => spec}/cpu.h (99%)
>>>  rename include/odp/api/{ => spec}/cpumask.h (99%)
>>>  rename include/odp/api/{ => spec}/crypto.h (100%)
>>>  rename include/odp/api/{ => spec}/debug.h (100%)
>>>  rename include/odp/api/{ => spec}/errno.h (100%)
>>>  rename include/odp/api/{ => spec}/event.h (100%)
>>>  rename include/odp/api/{ => spec}/hash.h (98%)
>>>  rename include/odp/api/{ => spec}/hints.h (100%)
>>>  rename include/odp/api/{ => spec}/init.h (98%)
>>>  rename include/odp/api/{ => spec}/packet.h (100%)
>>>  rename include/odp/api/{ => spec}/packet_flags.h (99%)
>>>  rename include/odp/api/{ => spec}/packet_io.h (99%)
>>>  rename include/odp/api/{ => spec}/packet_io_stats.h (100%)
>>>  rename include/odp/api/{ => spec}/pool.h (99%)
>>>  rename include/odp/api/{ => spec}/queue.h (99%)
>>>  rename include/odp/api/{ => spec}/random.h (100%)
>>>  rename include/odp/api/{ => spec}/rwlock.h (100%)
>>>  rename include/odp/api/{ => spec}/rwlock_recursive.h (100%)
>>>  rename include/odp/api/{ => spec}/schedule.h (98%)
>>>  rename include/odp/api/{ => spec}/schedule_types.h (100%)
>>>  rename include/odp/api/{ => spec}/shared_memory.h (100%)
>>>  rename include/odp/api/{ => spec}/spinlock.h (100%)
>>>  rename include/odp/api/{ => spec}/spinlock_recursive.h (100%)
>>>  rename include/odp/api/{ => spec}/std_clib.h (100%)
>>>  rename include/odp/api/{ => spec}/std_types.h (100%)
>>>  rename include/odp/api/{ => spec}/sync.h (100%)
>>>  rename include/odp/api/{ => spec}/system_info.h (100%)
>>>  rename include/odp/api/{ => spec}/thread.h (100%)
>>>  rename include/odp/api/{ => spec}/thrmask.h (99%)
>>>  rename include/odp/api/{ => spec}/ticketlock.h (100%)
>>>  rename include/odp/api/{ => spec}/time.h (100%)
>>>  rename include/odp/api/{ => spec}/timer.h (100%)
>>>  rename include/odp/api/{ => spec}/traffic_mngr.h (99%)
>>>  rename include/odp/api/{ => spec}/version.h (100%)
>>>  create mode 100644 include/odp_api.h
>>>  rename platform/linux-generic/include/odp/{ => api}/align.h (97%)
>>>  rename platform/linux-generic/include/odp/{ => api}/atomic.h (99%)
>>>  rename platform/linux-generic/include/odp/{ => api}/barrier.h (62%)
>>>  rename platform/linux-generic/include/odp/{ => api}/buffer.h (65%)
>>>  rename platform/linux-generic/include/odp/{ => api}/byteorder.h (95%)
>>>  rename platform/linux-generic/include/odp/{ => api}/classification.h
>>> (57%)
>>>  rename platform/linux-generic/include/odp/{ => api}/compiler.h (90%)
>>>  rename platform/linux-generic/include/odp/{ => api}/config.h (99%)
>>>  rename platform/linux-generic/include/odp/{ => api}/cpu.h (90%)
>>>  rename platform/linux-generic/include/odp/{ => api}/cpumask.h (76%)
>>>  rename platform/linux-generic/include/odp/{ => api}/crypto.h (57%)
>>>  rename platform/linux-generic/include/odp/{ => api}/debug.h (89%)
>>>  rename platform/linux-generic/include/odp/{ => api}/errno.h (89%)
>>>  rename platform/linux-generic/include/odp/{ => api}/event.h (82%)
>>>  rename platform/linux-generic/include/odp/{ => api}/hash.h (91%)
>>>  rename platform/linux-generic/include/odp/{ => api}/hints.h (91%)
>>>  rename platform/linux-generic/include/odp/{ => api}/init.h (83%)
>>>  rename platform/linux-generic/include/odp/{ => api}/packet.h (56%)
>>>  rename platform/linux-generic/include/odp/{ => api}/packet_flags.h (90%)
>>>  rename platform/linux-generic/include/odp/{ => api}/packet_io.h (56%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/atomic_types.h
>>> (97%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/barrier_types.h (89%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/buffer_types.h
>>> (91%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/byteorder_types.h (100%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/classification_types.h (95%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/cpumask_types.h (95%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/crypto_types.h
>>> (100%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/event_types.h
>>> (91%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/init_types.h
>>> (100%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/packet_io_types.h (93%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/packet_types.h
>>> (94%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/pool_types.h
>>> (87%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/queue_types.h
>>> (92%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/rwlock_recursive_types.h (88%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/rwlock_types.h
>>> (94%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/schedule_types.h (100%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/shared_memory_types.h (90%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/spinlock_recursive_types.h (90%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/spinlock_types.h (93%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/strong_types.h
>>> (100%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/thread_types.h
>>> (100%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/thrmask_types.h (95%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/ticketlock_types.h (94%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/time_types.h
>>> (100%)
>>>  rename platform/linux-generic/include/odp/{ => api}/plat/timer_types.h
>>> (100%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/traffic_mngr_types.h (98%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/plat/version_types.h (100%)
>>>  rename platform/linux-generic/include/odp/{ => api}/pool.h (68%)
>>>  rename platform/linux-generic/include/odp/{ => api}/queue.h (60%)
>>>  rename platform/linux-generic/include/odp/{ => api}/random.h (91%)
>>>  rename platform/linux-generic/include/odp/{ => api}/rwlock.h (80%)
>>>  rename platform/linux-generic/include/odp/{ => api}/rwlock_recursive.h
>>> (77%)
>>>  rename platform/linux-generic/include/odp/{ => api}/schedule.h (81%)
>>>  rename platform/linux-generic/include/odp/{ => api}/schedule_types.h
>>> (78%)
>>>  rename platform/linux-generic/include/odp/{ => api}/shared_memory.h
>>> (81%)
>>>  rename platform/linux-generic/include/odp/{ => api}/spinlock.h (79%)
>>>  rename platform/linux-generic/include/odp/{ =>
>>> api}/spinlock_recursive.h (76%)
>>>  rename platform/linux-generic/include/odp/{ => api}/std_clib.h (94%)
>>>  rename platform/linux-generic/include/odp/{ => api}/std_types.h (94%)
>>>  rename platform/linux-generic/include/odp/{ => api}/sync.h (95%)
>>>  rename platform/linux-generic/include/odp/{ => api}/system_info.h (81%)
>>>  rename platform/linux-generic/include/odp/{ => api}/thread.h (79%)
>>>  rename platform/linux-generic/include/odp/{ => api}/thrmask.h (82%)
>>>  rename platform/linux-generic/include/odp/{ => api}/ticketlock.h (78%)
>>>  rename platform/linux-generic/include/odp/{ => api}/time.h (73%)
>>>  rename platform/linux-generic/include/odp/{ => api}/timer.h (61%)
>>>  rename platform/linux-generic/include/odp/{ => api}/traffic_mngr.h (81%)
>>>  rename platform/linux-generic/include/odp/{ => api}/version.h (79%)
>>>
>>> --
>>> 2.1.4
>>>
>>>
>>
>
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to