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 4CED3F4385C for ; Wed, 15 Apr 2026 17:17:07 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 506A5402D7; Wed, 15 Apr 2026 19:17: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 0BFAE402D5 for ; Wed, 15 Apr 2026 19:17:04 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.18.224.107]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4fwnqR6qymzJ469G; Thu, 16 Apr 2026 01:16:19 +0800 (CST) Received: from dubpeml500001.china.huawei.com (unknown [7.214.147.241]) by mail.maildlp.com (Postfix) with ESMTPS id 6719E40584; Thu, 16 Apr 2026 01:17: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; Wed, 15 Apr 2026 18:17:02 +0100 From: Konstantin Ananyev To: CC: Subject: [PATCH v1 0/2] few improvemnts for SORING lib Date: Wed, 15 Apr 2026 18:16:24 +0100 Message-ID: <20260415171626.161370-1-konstantin.ananyev@huawei.com> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.220.239.45] X-ClientProxiedBy: frapema500002.china.huawei.com (7.182.19.148) 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. 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 +-------- lib/ring/rte_soring.h | 264 ++++++++++++++++++++++++++ lib/ring/soring.c | 289 +++++++++++++++++++++++------ 8 files changed, 661 insertions(+), 133 deletions(-) create mode 100644 app/test/test_soring_peek_stress.c -- 2.51.0