From patchwork Fri Sep 10 12:30:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatoly Burakov X-Patchwork-Id: 98620 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: 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 3BFB0A0547; Fri, 10 Sep 2021 14:32:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 77B4141196; Fri, 10 Sep 2021 14:30:43 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 73FF041148 for ; Fri, 10 Sep 2021 14:30:25 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10102"; a="243386303" X-IronPort-AV: E=Sophos;i="5.85,282,1624345200"; d="scan'208";a="243386303" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2021 05:30:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,282,1624345200"; d="scan'208";a="450460478" Received: from silpixa00401191.ir.intel.com ([10.55.128.95]) by orsmga002.jf.intel.com with ESMTP; 10 Sep 2021 05:30:17 -0700 From: Anatoly Burakov To: dev@dpdk.org, Ray Kinsella Date: Fri, 10 Sep 2021 12:30:09 +0000 Message-Id: <37d174136f8f8dcaa47f875e196bf2d9ec7d5228.1631277001.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <029012e59f555be16bed829229e8b48016157371.1631277001.git.anatoly.burakov@intel.com> References: <029012e59f555be16bed829229e8b48016157371.1631277001.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v1 7/7] eal: promote mcfg API's to stable 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" As per ABI policy, move the formerly experimental API's to the stable section. Signed-off-by: Anatoly Burakov Acked-by: Ray Kinsella --- lib/eal/include/rte_eal_memconfig.h | 12 ------------ lib/eal/version.map | 8 +++----- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/lib/eal/include/rte_eal_memconfig.h b/lib/eal/include/rte_eal_memconfig.h index dede2ee324..44f5324906 100644 --- a/lib/eal/include/rte_eal_memconfig.h +++ b/lib/eal/include/rte_eal_memconfig.h @@ -92,33 +92,21 @@ void rte_mcfg_mempool_write_unlock(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Lock the internal EAL Timer Library lock for exclusive access. */ -__rte_experimental void rte_mcfg_timer_lock(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Unlock the internal EAL Timer Library lock for exclusive access. */ -__rte_experimental void rte_mcfg_timer_unlock(void); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * If true, pages are put in single files (per memseg list), * as opposed to creating a file per page. */ -__rte_experimental bool rte_mcfg_get_single_file_segments(void); diff --git a/lib/eal/version.map b/lib/eal/version.map index ebafb05e90..ec05d1164b 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -160,6 +160,7 @@ DPDK_22 { rte_malloc_socket; rte_malloc_validate; rte_malloc_virt2iova; + rte_mcfg_get_single_file_segments; rte_mcfg_mem_read_lock; rte_mcfg_mem_read_unlock; rte_mcfg_mem_write_lock; @@ -172,6 +173,8 @@ DPDK_22 { rte_mcfg_tailq_read_unlock; rte_mcfg_tailq_write_lock; rte_mcfg_tailq_write_unlock; + rte_mcfg_timer_lock; + rte_mcfg_timer_unlock; rte_mem_alloc_validator_register; rte_mem_alloc_validator_unregister; rte_mem_check_dma_mask; @@ -320,13 +323,8 @@ EXPERIMENTAL { rte_intr_ack; rte_lcore_cpuset; rte_lcore_to_cpu_id; - rte_mcfg_timer_lock; - rte_mcfg_timer_unlock; rte_rand_max; # WINDOWS_NO_EXPORT - # added in 19.11 - rte_mcfg_get_single_file_segments; - # added in 20.02 rte_thread_is_intr;