From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 985B643F6C; Thu, 2 May 2024 22:19:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6336A402C5; Thu, 2 May 2024 22:19:36 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 3A77D402B2 for ; Thu, 2 May 2024 22:19:35 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 246C52F4; Thu, 2 May 2024 13:20:00 -0700 (PDT) Received: from 2u-thunderx2.usa.Arm.com (unknown [10.118.12.78]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 24D2C3F73F; Thu, 2 May 2024 13:19:34 -0700 (PDT) From: Aditya Ambadipudi To: dev@dpdk.org, jackmin@nvidia.com, stephen@networkplumber.org, matan@nvidia.com, viacheslavo@nvidia.com, roretzla@linux.microsoft.com, konstantin.ananyev@huawei.com, mb@smartsharesystems.com, hofors@lysator.liu.se, probb@iol.unh.edu, alialnu@nvidia.com Cc: wathsala.vithanage@arm.com, dhruv.tripathi@arm.com, honnappa.nagarahalli@arm.com, nd@arm.com, venamb01@arm.com, Aditya Ambadipudi Subject: [PATCH v3 0/2] deque: add multithread unsafe deque library Date: Thu, 2 May 2024 15:19:22 -0500 Message-Id: <20240502201924.127273-1-aditya.ambadipudi@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240424134233.1336370-2-aditya.ambadipudi@arm.com> References: <20240424134233.1336370-2-aditya.ambadipudi@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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. 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 | 1228 ++++++++++++++++++++++++ app/test/test_deque_helper_functions.c | 169 ++++ devtools/build-dict.sh | 1 + lib/deque/meson.build | 11 + lib/deque/rte_deque.c | 193 ++++ lib/deque/rte_deque.h | 533 ++++++++++ lib/deque/rte_deque_core.h | 81 ++ lib/deque/rte_deque_pvt.h | 538 +++++++++++ lib/deque/rte_deque_zc.h | 430 +++++++++ lib/deque/version.map | 14 + lib/meson.build | 2 + 13 files changed, 3203 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