v17: - move ring from helper to linux-generic - do small makefile fixes to make make distcheck pass
v16: - do not use ODPH_DBG if ring is used for implementation, also set up right errno as described in doxygen description. v15: - rebase on the latest master - fix checkpatch errors on move odp ring (Mikes comment) v14: - rebase on the latest master - move odp pause to installed helper to make out of tree builds happen. v13: - added ipc.README with description and limitations notes. v12: - size size for ring names arrays; - add patch "linix-generic: return error for unsupported pktio calls" to not crash on unsupported calls; - fix sleep(0.1); - fix git ignore; v11: - removed odph_pause patch due to Petri will send patch to make it odp api. (Anders). - implement pktio stop, pktio close, do helpers, fix Stuarts comments. v10: clean up patches according to Stuart comments (remove timeouts, add O_EXCL, do not map rings each packets and etc..) v9: reworked patches according to Connect agreements: - linux-generic only pktio; - 2 separate symmetric apps with same init process; - does not matter which app was run first; - init process for 2 apps is the same; https://git.linaro.org/people/maxim.uvarov/odp.git pktio_ipc_v17 Maxim Uvarov (10): helper: ring: update ring with shm proc argument linux-generic: create internal pool create function with shm flags helper: flag to not link ring to linked list helpers: remove odp_ prefix for tests source files helper: move odp pause to installed helper linux-generic/helper: move ring from helper to linux-generic linux-generic: ring set up __odp_errno as doxygen says linix-generic: return error for unsupported pktio calls linux-generic: add ipc pktio support linux-generic: internal ipc_pktio test configure.ac | 1 - helper/Makefile.am | 6 +- .../{odph_pause.h => include/odp/helper/pause.h} | 0 helper/test/.gitignore | 10 +- helper/test/Makefile.am | 26 +- helper/test/{odp_chksum.c => chksum.c} | 3 +- helper/test/{odph_pause.c => pause.c} | 2 +- helper/test/{odp_process.c => process.c} | 3 +- helper/test/{odp_table.c => table.c} | 1 - helper/test/{odp_thread.c => thread.c} | 3 +- platform/linux-generic/Makefile.am | 6 + .../linux-generic/include/odp_buffer_internal.h | 3 + .../linux-generic/include/odp_packet_io_internal.h | 38 ++ .../include/odp_packet_io_ipc_internal.h | 47 ++ .../include/odp_packet_io_ring_internal.h | 119 ++-- platform/linux-generic/include/odp_pool_internal.h | 4 + platform/linux-generic/include/odp_shm_internal.h | 21 + platform/linux-generic/m4/configure.m4 | 4 +- platform/linux-generic/odp_packet_io.c | 25 +- platform/linux-generic/odp_pool.c | 25 +- platform/linux-generic/odp_schedule.c | 3 +- platform/linux-generic/odp_shared_memory.c | 14 +- platform/linux-generic/pktio/io_ops.c | 1 + platform/linux-generic/pktio/ipc.c | 729 +++++++++++++++++++++ {helper => platform/linux-generic/pktio}/ring.c | 276 ++++---- platform/linux-generic/test/Makefile.am | 4 +- platform/linux-generic/test/pktio_ipc/.gitignore | 2 + platform/linux-generic/test/pktio_ipc/Makefile.am | 20 + platform/linux-generic/test/pktio_ipc/ipc_common.c | 138 ++++ platform/linux-generic/test/pktio_ipc/ipc_common.h | 87 +++ platform/linux-generic/test/pktio_ipc/pktio_ipc1.c | 310 +++++++++ platform/linux-generic/test/pktio_ipc/pktio_ipc2.c | 187 ++++++ .../linux-generic/test/pktio_ipc/pktio_ipc_run | 64 ++ platform/linux-generic/test/ring/.gitignore | 1 + platform/linux-generic/test/ring/Makefile.am | 16 + .../linux-generic/test/ring/ringtest.c | 178 ++--- test/Makefile.am | 2 +- test/api_test/.gitignore | 2 - test/api_test/Makefile.am | 13 - test/api_test/odp_common.c | 91 --- test/api_test/odp_common.h | 42 -- 41 files changed, 2056 insertions(+), 471 deletions(-) rename helper/{odph_pause.h => include/odp/helper/pause.h} (100%) rename helper/test/{odp_chksum.c => chksum.c} (98%) rename helper/test/{odph_pause.c => pause.c} (88%) rename helper/test/{odp_process.c => process.c} (96%) rename helper/test/{odp_table.c => table.c} (99%) rename helper/test/{odp_thread.c => thread.c} (96%) create mode 100644 platform/linux-generic/include/odp_packet_io_ipc_internal.h rename helper/include/odp/helper/ring.h => platform/linux-generic/include/odp_packet_io_ring_internal.h (86%) create mode 100644 platform/linux-generic/include/odp_shm_internal.h create mode 100644 platform/linux-generic/pktio/ipc.c rename {helper => platform/linux-generic/pktio}/ring.c (70%) create mode 100644 platform/linux-generic/test/pktio_ipc/.gitignore create mode 100644 platform/linux-generic/test/pktio_ipc/Makefile.am create mode 100644 platform/linux-generic/test/pktio_ipc/ipc_common.c create mode 100644 platform/linux-generic/test/pktio_ipc/ipc_common.h create mode 100644 platform/linux-generic/test/pktio_ipc/pktio_ipc1.c create mode 100644 platform/linux-generic/test/pktio_ipc/pktio_ipc2.c create mode 100755 platform/linux-generic/test/pktio_ipc/pktio_ipc_run create mode 100644 platform/linux-generic/test/ring/.gitignore create mode 100644 platform/linux-generic/test/ring/Makefile.am rename test/api_test/odp_ring_test.c => platform/linux-generic/test/ring/ringtest.c (72%) delete mode 100644 test/api_test/.gitignore delete mode 100644 test/api_test/Makefile.am delete mode 100644 test/api_test/odp_common.c delete mode 100644 test/api_test/odp_common.h -- 1.9.1 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp