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 889A1F8D76E for ; Thu, 16 Apr 2026 19:15:07 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ACF6B40431; Thu, 16 Apr 2026 21:15:06 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 85FE240297 for ; Thu, 16 Apr 2026 21:15:05 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.18.224.83]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4fxSPd2KKZzHnGdS; Fri, 17 Apr 2026 03:14:45 +0800 (CST) Received: from dubpeml500001.china.huawei.com (unknown [7.214.147.241]) by mail.maildlp.com (Postfix) with ESMTPS id E00BB40575; Fri, 17 Apr 2026 03:15:03 +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; Thu, 16 Apr 2026 20:15:03 +0100 From: Konstantin Ananyev To: CC: Subject: [PATCH v2 0/2] few improvemnts for SORING lib Date: Thu, 16 Apr 2026 20:14:38 +0100 Message-ID: <20260416191440.208066-1-konstantin.ananyev@huawei.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20260415171626.161370-1-konstantin.ananyev@huawei.com> References: <20260415171626.161370-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: frapema500007.china.huawei.com (7.182.19.81) 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 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. v1 -> v2 - fix formal API comments (doxygen complaints) - add section to release notes 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