So what is the summary of this implementation with shared pools?
Maxim.
On 09/04/2014 07:35 PM, Maxim Uvarov wrote:
v5: - malloc for queues_tbl. This fixes segfault in v4 if shm was
not created;
- removed not needed chunk from odp_shm_reserve() introduced in v4;
- implement linux-generic plat_odp_shm_reserve() with extendend flags;
v4: - fixed Anderses comments. (did not use unlikely() for
init functions. Only for packet processing.
- checkpatch cleanup;
- update to the latest ODP head;
- remove allocation memory for r_p;
Maxim Uvarov (2):
linux-generic: odp ipc implementation
linux-generic: extend odp_shm_reserve flags in platform code
.gitignore | 1 +
configure.ac | 1 +
example/Makefile.am | 2 +-
example/generator/odp_generator.c | 6 +-
example/ipc/Makefile.am | 6 +
example/ipc/README | 56 ++
example/ipc/odp_ipc.c | 677 +++++++++++++++++++++
example/l2fwd/odp_l2fwd.c | 6 +-
example/odp_example/odp_example.c | 3 +-
example/packet/odp_pktio.c | 6 +-
example/timer/odp_timer_test.c | 3 +-
helper/include/odph_ring.h | 2 +
.../linux-generic/include/api/odp_pktio_types.h | 1 +
platform/linux-generic/include/api/odp_queue.h | 2 +
.../linux-generic/include/api/odp_shared_memory.h | 10 +-
.../linux-generic/include/odp_packet_io_internal.h | 1 +
.../linux-generic/include/odp_queue_internal.h | 14 +-
.../include/odp_shared_memory_internal.h | 35 ++
platform/linux-generic/odp_buffer_pool.c | 4 +-
platform/linux-generic/odp_crypto.c | 3 +-
platform/linux-generic/odp_packet_io.c | 31 +-
platform/linux-generic/odp_queue.c | 210 ++++++-
platform/linux-generic/odp_ring.c | 11 +-
platform/linux-generic/odp_schedule.c | 6 +-
platform/linux-generic/odp_shared_memory.c | 68 ++-
test/api_test/odp_shm_test.c | 3 +-
test/api_test/odp_timer_ping.c | 3 +-
27 files changed, 1136 insertions(+), 35 deletions(-)
create mode 100644 example/ipc/Makefile.am
create mode 100644 example/ipc/README
create mode 100644 example/ipc/odp_ipc.c
create mode 100644 platform/linux-generic/include/odp_shared_memory_internal.h
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp