[v3,0/3] refactoring ring library
Message ID | 20210129055905.1768645-1-feifei.wang2@arm.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 21221A09E4; Fri, 29 Jan 2021 06:59:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AACA94067B; Fri, 29 Jan 2021 06:59:15 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id DF24B40395 for <dev@dpdk.org>; Fri, 29 Jan 2021 06:59:13 +0100 (CET) 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 1830C13A1; Thu, 28 Jan 2021 21:59:13 -0800 (PST) Received: from net-x86-dell-8268.shanghai.arm.com (net-x86-dell-8268.shanghai.arm.com [10.169.210.127]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B73713F66E; Thu, 28 Jan 2021 21:59:11 -0800 (PST) From: Feifei Wang <feifei.wang2@arm.com> To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang <feifei.wang2@arm.com> Date: Fri, 29 Jan 2021 13:59:02 +0800 Message-Id: <20210129055905.1768645-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201221111359.22013-1-feifei.wang2@arm.com> References: <20201221111359.22013-1-feifei.wang2@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/3] refactoring ring library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Feifei Wang
Jan. 29, 2021, 5:59 a.m. UTC
Do some work for ring refactoring, which includes: 1. add rte prefix before update tail API 2. Move all private APIs into new header files v2: 1. add rte_ prefixes for private files (Konstantin) v3: 1. fix compile issue of file name bug Feifei Wang (3): test/ring: reduce iteration numbers to make test duration shorter ring: add rte prefix before update tail API ring: refactor ring library app/test/test_ring_perf.c | 2 +- lib/librte_ring/meson.build | 11 +- ...{rte_ring_c11_mem.h => rte_ring_c11_pvt.h} | 10 +- lib/librte_ring/rte_ring_elem.h | 374 +---------------- lib/librte_ring/rte_ring_elem_pvt.h | 385 ++++++++++++++++++ ..._ring_generic.h => rte_ring_generic_pvt.h} | 10 +- lib/librte_ring/rte_ring_hts.h | 84 +--- ..._hts_c11_mem.h => rte_ring_hts_elem_pvt.h} | 90 +++- lib/librte_ring/rte_ring_peek.h | 71 +--- ...eek_c11_mem.h => rte_ring_peek_elem_pvt.h} | 77 +++- lib/librte_ring/rte_ring_peek_zc.h | 2 +- lib/librte_ring/rte_ring_rts.h | 84 +--- ..._rts_c11_mem.h => rte_ring_rts_elem_pvt.h} | 90 +++- 13 files changed, 652 insertions(+), 638 deletions(-) rename lib/librte_ring/{rte_ring_c11_mem.h => rte_ring_c11_pvt.h} (96%) create mode 100644 lib/librte_ring/rte_ring_elem_pvt.h rename lib/librte_ring/{rte_ring_generic.h => rte_ring_generic_pvt.h} (95%) rename lib/librte_ring/{rte_ring_hts_c11_mem.h => rte_ring_hts_elem_pvt.h} (60%) rename lib/librte_ring/{rte_ring_peek_c11_mem.h => rte_ring_peek_elem_pvt.h} (61%) rename lib/librte_ring/{rte_ring_rts_c11_mem.h => rte_ring_rts_elem_pvt.h} (62%)