[v1,0/3] refactoring ring library
Message ID | 20201221111359.22013-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 dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 57BA4A09EF; Mon, 21 Dec 2020 12:14:13 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A5CA8CA74; Mon, 21 Dec 2020 12:14:11 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 4425CCA63 for <dev@dpdk.org>; Mon, 21 Dec 2020 12:14:09 +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 9E5B3101E; Mon, 21 Dec 2020 03:14:07 -0800 (PST) Received: from net-arm-n1sdp.shanghai.arm.com (net-arm-n1sdp.shanghai.arm.com [10.169.208.219]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 453BC3F718; Mon, 21 Dec 2020 03:14:06 -0800 (PST) From: Feifei Wang <feifei.wang2@arm.com> To: Cc: dev@dpdk.org, nd@arm.com, Feifei Wang <feifei.wang2@arm.com> Date: Mon, 21 Dec 2020 05:13:56 -0600 Message-Id: <20201221111359.22013-1-feifei.wang2@arm.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v1 0/3] refactoring ring library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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
Dec. 21, 2020, 11:13 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 Feifei Wang (3): test/ring: reduce iteration numbers to make test duration shorter ring: add rte prefix before update tail API ring: rename and refactor ring library app/test/test_ring_perf.c | 2 +- lib/librte_ring/meson.build | 15 +- .../{rte_ring_c11_mem.h => ring_c11_pvt.h} | 13 +- lib/librte_ring/ring_elem_pvt.h | 385 ++++++++++++++++++ ...{rte_ring_generic.h => ring_generic_pvt.h} | 10 +- ...ring_hts_c11_mem.h => ring_hts_elem_pvt.h} | 88 +++- ...ng_peek_c11_mem.h => ring_peek_elem_pvt.h} | 75 +++- ...ring_rts_c11_mem.h => ring_rts_elem_pvt.h} | 88 +++- lib/librte_ring/rte_ring_elem.h | 374 +---------------- lib/librte_ring/rte_ring_hts.h | 84 +--- lib/librte_ring/rte_ring_peek.h | 71 +--- lib/librte_ring/rte_ring_peek_zc.h | 2 +- lib/librte_ring/rte_ring_rts.h | 84 +--- 13 files changed, 651 insertions(+), 640 deletions(-) rename lib/librte_ring/{rte_ring_c11_mem.h => ring_c11_pvt.h} (94%) create mode 100644 lib/librte_ring/ring_elem_pvt.h rename lib/librte_ring/{rte_ring_generic.h => ring_generic_pvt.h} (95%) rename lib/librte_ring/{rte_ring_hts_c11_mem.h => ring_hts_elem_pvt.h} (60%) rename lib/librte_ring/{rte_ring_peek_c11_mem.h => ring_peek_elem_pvt.h} (62%) rename lib/librte_ring/{rte_ring_rts_c11_mem.h => ring_rts_elem_pvt.h} (62%)