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 4DD9FA052A; Tue, 26 Jan 2021 09:17:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CDB46141289; Tue, 26 Jan 2021 09:17:57 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 6BA59141286 for ; Tue, 26 Jan 2021 09:17:55 +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 7FD8CD6E; Tue, 26 Jan 2021 00:17:54 -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 299843F68F; Tue, 26 Jan 2021 00:17:52 -0800 (PST) From: Feifei Wang To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang Date: Tue, 26 Jan 2021 16:17:43 +0800 Message-Id: <20210126081746.1580627-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 v2 0/3] refactoring ring library 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 Sender: "dev" 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) 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} | 88 +++- lib/librte_ring/rte_ring_peek.h | 71 +--- ...eek_c11_mem.h => rte_ring_peek_elem_pvt.h} | 75 +++- 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} | 88 +++- 13 files changed, 649 insertions(+), 635 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%) -- 2.25.1