Let's name my IPC implementation as IPC pktio to not confuse with Ola's work.
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.
Thanks,
Maxim.
Maxim Uvarov (5):
linux-generic: zero params for pool create
api ipc: update ring with shm proc argument
ipc: pool_create implement _ODP_SHM_NULL_LOCAL for linux-generic
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 | 445 +++++++++++++++
helper/include/odp/helper/ring.h | 7 +-
helper/ring.c | 12 +-
platform/linux-generic/Makefile.am | 3 +
.../include/odp/plat/shared_memory_types.h | 4 +
.../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_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 | 29 +-
platform/linux-generic/odp_schedule.c | 3 +-
platform/linux-generic/odp_shared_memory.c | 10 +-
test/validation/odp_queue.c | 1 +
19 files changed, 1227 insertions(+), 15 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
--
1.9.1
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp