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 0782C43D9B; Mon, 1 Apr 2024 03:37:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7BBAC40272; Mon, 1 Apr 2024 03:37:41 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 70A4940265 for ; Mon, 1 Apr 2024 03:37:39 +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 0F1F2113E; Sun, 31 Mar 2024 18:38:11 -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 3AA563F64C; Sun, 31 Mar 2024 18:37:38 -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.v.ananyev@yandex.ru, konstantin.ananyev@huawei.com, mb@smartsharesystems.com, hofors@lysator.liu.se Cc: Honnappa.Nagarahalli@arm.com, Dhruv.Tripathi@arm.com, wathsala.vithanage@arm.com, aditya.ambadipudi@arm.com, ganeshaditya1@gmail.com, nd@arm.com Subject: [PATCH v1 0/2] deque: add multithread unsafe deque library Date: Sun, 31 Mar 2024 20:37:27 -0500 Message-Id: <20240401013729.1466298-1-aditya.ambadipudi@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230821060420.3509667-1-honnappa.nagarahalli@arm.com> References: <20230821060420.3509667-1-honnappa.nagarahalli@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. [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