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 A80C4A0C55; Tue, 31 Aug 2021 22:08:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9129A40141; Tue, 31 Aug 2021 22:08:45 +0200 (CEST) Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by mails.dpdk.org (Postfix) with ESMTP id 148374013F for ; Tue, 31 Aug 2021 22:08:43 +0200 (CEST) Received: by mail-pg1-f180.google.com with SMTP id w7so312202pgk.13 for ; Tue, 31 Aug 2021 13:08:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LruMjXg9F9DYgq6t7LYZQUI4MzOzCIE7kTKazG1GF/k=; b=eAKg3iOGBZ+5Ihwq6s9L/fAGp2tao2sKwsOSmgU7Cz0bUsuXivvmruayy9ihGTD3ky +zTOaxIIklAcyUCLreD2x5GWkt7EGbpmBh3/z0Uy0pYdv3OR5uJBBVWjg2Dkz2WJJdNG VAD5J6Zh+WUaMGWo+alASNdBMO2pJk4/y5+csAyMiHwLDN2660zMrJShC6sXMSTmvdeG 7F2oyEP8+4Q2ws2BrERuWTVHfgOtjagbSBIxGjqAync5ARwWn6E4SAfILA5ZpBXLNEoc pOAOuWW097i4mquJsui+Ig6/6XL5hHSmq3saKoAXEEIle/KKvEIdX2v7lc1QdOGlFshq y96A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LruMjXg9F9DYgq6t7LYZQUI4MzOzCIE7kTKazG1GF/k=; b=bB0ieoksz0CSdlbd+0HBsjAQwUlwKdKX1h9IlIeS9ydOslD2ZOW1ksHtCPAaSuxXj/ saAmtaSBbMbTDaZODq63fFNaVeIp9eAdFIQbhlM0VBcctBWQe4+6VF6epEMc2GxbvKHw QinmA1xUwIPtAvAmX7wtYP0mMOfYeh1e2x4vsV2l0d9I0LLaxLE3rVks+iJIZg8Lp4ei ho8wCUTVbQPm98iaUctdexsXWXHKAfqDozgv556E53XTj6cVeLSVexJWzlr/lzxnSAUE 5LADdNd6SYtBzzoq5x1uLvKNc1yVPchlr8Dk1sQRuXvCoxDhRvOxxBMCHFNqn8w5PqhV 6iFQ== X-Gm-Message-State: AOAM532gIfj3ydX80N+WQMi8NT8Hn+cQWGJAta5MkLmhr8dXfobOYDm4 P3mQR/970Gnf46cTvRJwMwIM612iX30C0w== X-Google-Smtp-Source: ABdhPJycCZGu+DaU3yCGf+8jS2sxzBfWPCtcjjw9/MXIRGKsC8ozW7KwItyPb8j/zB2yD2Bcg/xU9Q== X-Received: by 2002:a05:6a00:d4f:b0:407:8c1c:76c2 with SMTP id n15-20020a056a000d4f00b004078c1c76c2mr1573420pfv.31.1630440522697; Tue, 31 Aug 2021 13:08:42 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id m64sm22102178pga.55.2021.08.31.13.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Aug 2021 13:08:42 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 31 Aug 2021 13:08:39 -0700 Message-Id: <20210831200839.93556-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] eal: make rte_lcore_cpuset and rte_lcore_to_cpu_id 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" These were converted from inline to functions in 19.11 and should be marked as stable now. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_lcore.h | 8 -------- lib/eal/version.map | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/lib/eal/include/rte_lcore.h b/lib/eal/include/rte_lcore.h index 1550b75da0a5..cf6203a9af79 100644 --- a/lib/eal/include/rte_lcore.h +++ b/lib/eal/include/rte_lcore.h @@ -172,9 +172,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 @@ -182,23 +179,18 @@ 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 beeb986adcaf..14565aa10df4 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -98,9 +98,11 @@ DPDK_22 { rte_keepalive_register_core; # WINDOWS_NO_EXPORT rte_keepalive_register_relay_callback; # WINDOWS_NO_EXPORT rte_lcore_count; + rte_lcore_cpuset; rte_lcore_has_role; rte_lcore_index; rte_lcore_is_enabled; + rte_lcore_to_cpu_id; rte_lcore_to_socket_id; rte_log; rte_log_cur_msg_loglevel; @@ -322,8 +324,6 @@ EXPERIMENTAL { # added in 19.08 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 -- 2.30.2