As previously discussed in the mailing list [1] we are sending out this patch that provides the implementation and unit test cases for the RTE_DEQUE library. This includes functions for creating a RTE_DEQUE object. Allocating memory to it. Deleting that object and free'ing the memory associated with it. Enqueue/Dequeue functions. Functions for zero-copy API.
[1] https://mails.dpdk.org/archives/dev/2023-August/275003.html Aditya Ambadipudi (1): deque: add unit tests for the deque library Honnappa Nagarahalli (1): deque: add multi-thread unsafe double ended queue .mailmap | 1 + app/test/meson.build | 2 + app/test/test_deque_enqueue_dequeue.c | 1231 ++++++++++++++++++++++++ app/test/test_deque_helper_functions.c | 170 ++++ lib/deque/meson.build | 11 + lib/deque/rte_deque.c | 194 ++++ lib/deque/rte_deque.h | 533 ++++++++++ lib/deque/rte_deque_core.h | 82 ++ lib/deque/rte_deque_pvt.h | 538 +++++++++++ lib/deque/rte_deque_zc.h | 430 +++++++++ lib/deque/version.map | 14 + lib/meson.build | 1 + 12 files changed, 3207 insertions(+) create mode 100644 app/test/test_deque_enqueue_dequeue.c create mode 100644 app/test/test_deque_helper_functions.c create mode 100644 lib/deque/meson.build create mode 100644 lib/deque/rte_deque.c create mode 100644 lib/deque/rte_deque.h create mode 100644 lib/deque/rte_deque_core.h create mode 100644 lib/deque/rte_deque_pvt.h create mode 100644 lib/deque/rte_deque_zc.h create mode 100644 lib/deque/version.map -- 2.25.1