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 62621A00BE; Wed, 16 Feb 2022 20:39:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F3E10411DF; Wed, 16 Feb 2022 20:39:24 +0100 (CET) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTP id 1993140042 for ; Wed, 16 Feb 2022 20:39:23 +0100 (CET) Received: by mail-pj1-f42.google.com with SMTP id r64-20020a17090a43c600b001b8854e682eso3393615pjg.0 for ; Wed, 16 Feb 2022 11:39:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rzeiL4xxgbBqzdtzwvPBxkqpYBoBRnvHtF36IdYPLnU=; b=rBa50R5RBSFWo7NgCIs5NVfmJou1/Ed5C9rLS7klWiaQLKlfWKy7V61Pb8oedhOU8t MxnerXeBvxgvTFw8iY06xqHKBxq9EhZikampVKImFiYR+fZtirEsolgWTvrYm3ri+k3H Nv/Pft6bPPIbkw8UPxbU75vYbXXWWtEJPRfSz4eAVcc9UadtEI16Im6nH4OTwWY7ORkz ebLGf9NTErC+7md8PVjShWuyotRlUMrpENQ8+MLcByQVDxt8v0DyfftaZZwERQXClE0j Lw2YSO7WV+HFeDrEEf9p2b9yKzL7DNIZfflcn3jt90sELQuhIIBKkgrbPL9e4YvjUv4f WOEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rzeiL4xxgbBqzdtzwvPBxkqpYBoBRnvHtF36IdYPLnU=; b=zToHhfc9W24YUAofE9PdBatD0sO2BzGL4vwNTe8Tandc97/p6aPgpR6FvuBFzfUu+0 YRB1c7PymeYNoy4sD9Aa/N9ZBX7RszcAUy3RBoA5Ghl+vXdDj+Et8i+MQp8YOuxIMbUx rcfM0efRnyq7BGRw2MBCpFXAM3CEAPVrTcxgwjcUxpow9zTp8JjhVgZqIvtd25g3Cwpl P/PY7iWbBvHksXr5GymG0domVs1N59JOgqgZAVENhLET+gHxV5pJ6NRQLa/UoDfF2P1R OhN14nc9flAIM5UeJClegH5sveDPVhljb7WdyFy4wiZmrCAipP1CgjaVDf5jvXj7htx7 QfSA== X-Gm-Message-State: AOAM530tpSy5Kt93ISs04WfVUsTIJfdXj4AQ8hfnvHDg7SS8uzF+8Nxo sZaa9mYe6iAGPI7oHehYx/lNiFYkp4FQAz6W X-Google-Smtp-Source: ABdhPJwwtPpakiCU6hFwRaTpxEy88KlLGhtR9Zvm/vqUbcwDlSN+bQI11bGawuTTHmDQtgUwCbwA2A== X-Received: by 2002:a17:902:ecc1:b0:14f:1c91:7e65 with SMTP id a1-20020a170902ecc100b0014f1c917e65mr3929868plh.142.1645040361922; Wed, 16 Feb 2022 11:39:21 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id e8sm27935311pfv.168.2022.02.16.11.39.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 11:39:21 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Ray Kinsella Subject: [PATCH 2/4] lcore: change rte_lcore_to_cpu_id and rte_lcore_cpuset as not experimental Date: Wed, 16 Feb 2022 11:39:15 -0800 Message-Id: <20220216193917.251657-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220216193917.251657-1-stephen@networkplumber.org> References: <20220216193917.251657-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 These API's have been around for a long time and by now are fixed. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_lcore.h | 9 +-------- lib/eal/version.map | 4 ++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/lib/eal/include/rte_lcore.h b/lib/eal/include/rte_lcore.h index 258bc49b24ea..d2f908fa3466 100644 --- a/lib/eal/include/rte_lcore.h +++ b/lib/eal/include/rte_lcore.h @@ -160,9 +160,6 @@ unsigned int rte_lcore_to_socket_id(unsigned int lcore_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Return the id of the lcore on a socket starting from zero. * * @param lcore_id @@ -170,23 +167,19 @@ rte_lcore_to_socket_id(unsigned int lcore_id); * @return * The relative index, or -1 if not enabled. */ -__rte_experimental int rte_lcore_to_cpu_id(int lcore_id); #ifdef RTE_HAS_CPUSET /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Return the cpuset for a given lcore. + * * @param lcore_id * the targeted lcore, which MUST be between 0 and RTE_MAX_LCORE-1. * @return * The cpuset of that lcore */ -__rte_experimental rte_cpuset_t rte_lcore_cpuset(unsigned int lcore_id); diff --git a/lib/eal/version.map b/lib/eal/version.map index 6b1657d0d8bd..18d46acfeb1e 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -122,11 +122,13 @@ DPDK_22 { rte_lcore_callback_register; rte_lcore_callback_unregister; rte_lcore_count; + rte_lcore_cpuset; rte_lcore_dump; rte_lcore_has_role; rte_lcore_index; rte_lcore_is_enabled; rte_lcore_iterate; + rte_lcore_to_cpu_id; rte_lcore_to_socket_id; rte_log; rte_log_can_log; @@ -322,8 +324,6 @@ EXPERIMENTAL { # added in 19.08 rte_intr_ack; - rte_lcore_cpuset; - rte_lcore_to_cpu_id; # added in 20.02 rte_thread_is_intr; -- 2.34.1