New plan for that IPC pktio:
 - merge code;
- put example as test case to platform/linux-generic/test. Add some comment that it's internal pktio test.

When other platforms will be ready then we will put test case to test/validation.

So I'm going to update patches. Any objections?

Maxim.

On 06/01/15 13:41, Maxim Uvarov wrote:
v7: - 1. do pool_create things more accurate. Pass shm flags internal where is 
needed.
       Do not allocate shm before because Bill already posted patch to remove 
shm from
       odp_pool_create.
       2. Rework example application: remove time stamps. Add sequence counter 
and magic
       numbers, print packets per second.

v6: Fix Ciprian comments for v5:
        - update patches to current HEAD;
        - fix segfault on cold start (not share schedule pool);
        - rename rings name to better understanding;
        - comment variables in the code;
        - update code to new checkpatch.pl;
     Fix Ola's comment to not use sleep() in example.

Maxim Uvarov (5):
   linux-generic: zero params for pool create
   api ipc: update ring with shm proc argument
   linux-generic: create internal pool create function with shm flags
   linux-generic: add ipc pktio support
   ipc: example app

  configure.ac                                       |   1 +
  example/Makefile.am                                |   2 +-
  example/ipc/.gitignore                             |   1 +
  example/ipc/Makefile.am                            |   7 +
  example/ipc/odp_ipc.c                              | 542 +++++++++++++++++++
  helper/include/odp/helper/ring.h                   |   7 +-
  helper/ring.c                                      |  12 +-
  platform/linux-generic/Makefile.am                 |   3 +
  .../linux-generic/include/odp_buffer_internal.h    |   3 +
  .../linux-generic/include/odp_packet_io_internal.h |  30 ++
  .../include/odp_packet_io_ipc_internal.h           |  51 ++
  platform/linux-generic/include/odp_pool_internal.h |   5 +
  platform/linux-generic/include/odp_shm_internal.h  |  20 +
  platform/linux-generic/odp_packet_io.c             |  19 +-
  platform/linux-generic/odp_packet_io_ipc.c         | 594 +++++++++++++++++++++
  platform/linux-generic/odp_pool.c                  |  35 +-
  platform/linux-generic/odp_schedule.c              |   3 +-
  platform/linux-generic/odp_shared_memory.c         |  10 +-
  test/validation/odp_queue.c                        |   1 +
  19 files changed, 1329 insertions(+), 17 deletions(-)
  create mode 100644 example/ipc/.gitignore
  create mode 100644 example/ipc/Makefile.am
  create mode 100644 example/ipc/odp_ipc.c
  create mode 100644 platform/linux-generic/include/odp_packet_io_ipc_internal.h
  create mode 100644 platform/linux-generic/include/odp_shm_internal.h
  create mode 100644 platform/linux-generic/odp_packet_io_ipc.c


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

Reply via email to