From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C8E1F99C6A for ; Fri, 17 Apr 2026 21:24:28 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 20077402B0; Fri, 17 Apr 2026 23:24:27 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 4291A402A7 for ; Fri, 17 Apr 2026 23:24:25 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.18.224.83]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4fy7DK6dL0zHnGgp; Sat, 18 Apr 2026 05:24:01 +0800 (CST) Received: from dubpeml500001.china.huawei.com (unknown [7.214.147.241]) by mail.maildlp.com (Postfix) with ESMTPS id A7FCD40569; Sat, 18 Apr 2026 05:24:22 +0800 (CST) Received: from localhost (10.220.239.45) by dubpeml500001.china.huawei.com (7.214.147.241) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 17 Apr 2026 22:24:22 +0100 From: Konstantin Ananyev To: CC: Subject: [PATCH v3 0/2] few improvemnts for SORING lib Date: Fri, 17 Apr 2026 22:23:56 +0100 Message-ID: <20260417212358.212692-1-konstantin.ananyev@huawei.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260416191440.208066-1-konstantin.ananyev@huawei.com> References: <20260416191440.208066-1-konstantin.ananyev@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.220.239.45] X-ClientProxiedBy: frapema100007.china.huawei.com (7.182.19.38) To dubpeml500001.china.huawei.com (7.214.147.241) 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 v2 -> v3 - fix MSVC complaints v1 -> v2 - fix formal API comments (doxygen complaints) - add section to release notes First patch aims to improve enqueue/dequeue performance, specially for the cases with multiple stage workers lcores. Second one introduces 'Peek API' similar to what we have for conventional rte_ring. Also it adds new test-cases for this new API. Konstantin Ananyev (2): ring: make soring to finalize its own stage only ring: introduce peek API for soring app/test/meson.build | 1 + app/test/test_soring_mt_stress.c | 74 +++++++ app/test/test_soring_peek_stress.c | 75 +++++++ app/test/test_soring_stress.c | 3 + app/test/test_soring_stress.h | 1 + app/test/test_soring_stress_impl.h | 87 +------- doc/guides/rel_notes/release_26_07.rst | 8 + lib/ring/rte_soring.h | 264 ++++++++++++++++++++++ lib/ring/soring.c | 289 ++++++++++++++++++++----- 9 files changed, 669 insertions(+), 133 deletions(-) create mode 100644 app/test/test_soring_peek_stress.c -- 2.51.0