From patchwork Wed Feb 16 19:39:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 107701 X-Patchwork-Delegate: thomas@monjalon.net 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 B5511A00BE; Wed, 16 Feb 2022 20:39:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 21FBC411C9; Wed, 16 Feb 2022 20:39:23 +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 D711A411B5 for ; Wed, 16 Feb 2022 20:39:21 +0100 (CET) Received: by mail-pj1-f42.google.com with SMTP id t4-20020a17090a510400b001b8c4a6cd5dso3329706pjh.5 for ; Wed, 16 Feb 2022 11:39:21 -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=ngUNXSuuVuRLOszzvCJ7kqpuiymJFir9vwvuvTp2q/M=; b=28xih7Tx1uM8ikKBXlrl1DBFnr0mjlUAxilYGB80JB7aD1xJaCorV4tvwOcioit7OS 5JIjejSbLlc2oTTe91GJj9WeLxblbCMeKdgn4QhBm0eTC6c46VSVaxYYDDFWCYt8N+s6 yYYqYzO8zXJAS8D/07vY3QobYDvHZljvCrCMhtcGfYVdcFWFi20hIsPr5lCUELSAdPAi qFjBegqMwZ7FfjpbBFpw1EufYTDGwV+u7goJMkNwgjgEdQt3IyZl+swmEmT6SUMcsz0N pduiQsNyWHgq5TAqJa//mxDNJuglrz1lcz2UCuPajDkAZqtC2FhFHcthAxunthGalkg6 kdUA== 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=ngUNXSuuVuRLOszzvCJ7kqpuiymJFir9vwvuvTp2q/M=; b=65A51z4gkiS+VGgvPsn7rUg7wpZZ6DprwhuyEk69MZfaU7lFvBgiueH2/8/54L+Ojt cM83Zn2TMOG5AOmN+W4TvJ5beAZ0/bxyccAvhuCcqy3JHDF9QPcBmoZWLbYW1RRe2u9K Yi+Ct3QkznAQK/LjxzYqNCchYkY1kurLMitlBJNNCULjd58ZsAz6YlZaYCLaY6PAJPk+ jUTM8d1b4X5Y2nBU9XA/b3xx6ZAcWXXCN453ygWT3hhuXMxqtFUcSbao7uyGDSmChyrd /KGTvqwqwY3dGyxbzAVm7XCtUGVg2QEpFC3cg4s53js2rNRWSqVbUGVO6R8r3fCivTXB tAYg== X-Gm-Message-State: AOAM530+7hmVsvaR93pCIXkl5DKUC/g4hS8Ts0QQoz9KCiHkx/1euRNx 5uTzZ7Hav0ruEt5H4jpvG7U5cSVm5Lff9ZBb X-Google-Smtp-Source: ABdhPJxfWxuSRnc0qMlfJNi9lZqBif0wEtsVhXMum+TnnFK+dFqsJf8EoaW7veWRDIWaktq9MtpmFg== X-Received: by 2002:a17:902:6a87:b0:14d:c432:fd89 with SMTP id n7-20020a1709026a8700b0014dc432fd89mr3941796plk.10.1645040360766; Wed, 16 Feb 2022 11:39:20 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 11:39:20 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Ray Kinsella Subject: [PATCH 1/4] rte_log: take of some experimental tags Date: Wed, 16 Feb 2022 11:39:14 -0800 Message-Id: <20220216193917.251657-2-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 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 The RTE_LOG_REGISTER is not experimental, and the experimental tag was never enforced on these. Make rte_log_can_log a fully supported function. It was introduced nearly 2yrs ago. Signed-off-by: Stephen Hemminger Acked-by: Ray Kinsella --- lib/eal/include/rte_log.h | 10 ---------- lib/eal/version.map | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/eal/include/rte_log.h b/lib/eal/include/rte_log.h index 319e4044a5c8..25ce42cdfc4d 100644 --- a/lib/eal/include/rte_log.h +++ b/lib/eal/include/rte_log.h @@ -136,7 +136,6 @@ int rte_log_get_level(uint32_t logtype); * @return * Returns 'true' if log can be printed and 'false' if it can't. */ -__rte_experimental bool rte_log_can_log(uint32_t logtype, uint32_t loglevel); /** @@ -378,9 +377,6 @@ RTE_INIT(__##type) \ } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Register a dynamic log type in constructor context with its name and level. * * It is a wrapper macro for declaring the logtype, register the log and @@ -397,9 +393,6 @@ RTE_INIT(__##type) \ RTE_LOG_REGISTER_IMPL(type, RTE_STR(name), level) /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * This is an equivalent to RTE_LOG_REGISTER, but relying on the build system * to select the right format for the logtype. */ @@ -407,9 +400,6 @@ RTE_INIT(__##type) \ RTE_LOG_REGISTER_IMPL(type, RTE_STR(RTE_LOG_DEFAULT_LOGTYPE), level) /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * This is an equivalent to RTE_LOG_REGISTER, but relying on the build system * to select the right prefix for the logtype. */ diff --git a/lib/eal/version.map b/lib/eal/version.map index b53eeb30d74f..6b1657d0d8bd 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -129,6 +129,7 @@ DPDK_22 { rte_lcore_iterate; rte_lcore_to_socket_id; rte_log; + rte_log_can_log; rte_log_cur_msg_loglevel; rte_log_cur_msg_logtype; rte_log_dump; @@ -364,7 +365,6 @@ EXPERIMENTAL { __rte_trace_point_register; per_lcore_trace_mem; per_lcore_trace_point_sz; - rte_log_can_log; rte_thread_getname; # WINDOWS_NO_EXPORT rte_trace_dump; # WINDOWS_NO_EXPORT rte_trace_is_enabled; # WINDOWS_NO_EXPORT From patchwork Wed Feb 16 19:39:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 107702 X-Patchwork-Delegate: thomas@monjalon.net 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 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 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 Acked-by: Ray Kinsella --- 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; From patchwork Wed Feb 16 19:39:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 107703 X-Patchwork-Delegate: thomas@monjalon.net 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 7B110A00BE; Wed, 16 Feb 2022 20:39:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D00C3411EE; Wed, 16 Feb 2022 20:39:25 +0100 (CET) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mails.dpdk.org (Postfix) with ESMTP id 36ED4411E1 for ; Wed, 16 Feb 2022 20:39:24 +0100 (CET) Received: by mail-pg1-f172.google.com with SMTP id 139so3035472pge.1 for ; Wed, 16 Feb 2022 11:39:24 -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=PurdHGkHvVoHPJgpQYP4v1qCOgWLLOvks55qrTbvvWs=; b=a0qgjFau4Kx9bD8fTWxdi9iRkUCZLEJNhDYOqOPbxYkqLsgKrIwcMN4TVeyOeCeI2T asvBgZC8T5SDLbS3JJBBGUX3bCF1x5C3+3c5GC2vk/+HWpO7OievyvghOQF6eEiYIESX D0WHNy7XmaGBpBXgaZSrx4Nr+Rg7u424aNVmiTQGIakgnTRKfAkWqKqVf2r6CBXfgnUE 9Rey+SoznWfLnFuU/ODSug59szfN2KYLoThGt6SsqtWqG2kZYrVlRT/2OlnrJK9pdrNM BUobjPmXqjjMNYWSXNvaYLs8qotDBvpZX19mNwToF2pJRwLUkUzCBmEpSYUOJde1U3Wh 0o0Q== 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=PurdHGkHvVoHPJgpQYP4v1qCOgWLLOvks55qrTbvvWs=; b=yLEjMPya1gchVNXEzQlMfRTE3EQFgCeXGIOJt1mu6ltRtg7aae+SpcNFeaPRo5JjnI v7/zCoY6a/3L70bOkR1ixlgcFcK8nqjfo61GzeIYh1f9B65Ge4wwj23HiB3fcY8pJMBC 3Vv19Na6OA9nub77Ia1f1d5nHf1Re7THjD1Ku3j+cJu/ZeamrqvVBLr1g+p5Vai6ssJB Jpub2LDzJfQ6PoLPS+xbzg2FtjYt18p8APzsa04o/JmH1Esw+4ROxg03SJAfsRY7UZSe J9SWVKddFTOsDckhJSOEpnR1MLtPTvjIqmp7lq1Xi9H+/oH32peLBn7M/fm4/3hM7gO8 CFMg== X-Gm-Message-State: AOAM531PU0EOZZmp+SDKLqueHiPfHZqoy4O8JdB46m9rkvIN48gwYugl 07GtmkPqcLe4p9Y5R425LM2N6CG2o5Qt6ulT X-Google-Smtp-Source: ABdhPJxw50AwtbIDurkLI9Z+v3SrzSnFOb+uAyfDPKs7OJlq19zo/nbpGmqrZQi+05LPt+i0RNnpZA== X-Received: by 2002:a05:6a00:2cd:b0:4e1:1989:5b7f with SMTP id b13-20020a056a0002cd00b004e119895b7fmr480371pft.3.1645040363116; Wed, 16 Feb 2022 11:39:23 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 11:39:22 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Harman Kalra , Ray Kinsella Subject: [PATCH 3/4] eal: make some intr functions not experimental Date: Wed, 16 Feb 2022 11:39:16 -0800 Message-Id: <20220216193917.251657-4-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 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 are functions related to interrupts that have been in since 20.02 release or earlier. Signed-off-by: Stephen Hemminger Acked-by: Ray Kinsella --- lib/eal/include/rte_interrupts.h | 12 +----------- lib/eal/version.map | 10 +++------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/lib/eal/include/rte_interrupts.h b/lib/eal/include/rte_interrupts.h index edbf0faeeffd..a378c0a0aa91 100644 --- a/lib/eal/include/rte_interrupts.h +++ b/lib/eal/include/rte_interrupts.h @@ -121,7 +121,6 @@ int rte_intr_callback_unregister(const struct rte_intr_handle *intr_handle, * - On success, return the number of callback entities marked for remove. * - On failure, a negative value. */ -__rte_experimental int rte_intr_callback_unregister_pending(const struct rte_intr_handle *intr_handle, rte_intr_callback_fn cb_fn, void *cb_arg, @@ -177,9 +176,6 @@ int rte_intr_enable(const struct rte_intr_handle *intr_handle); int rte_intr_disable(const struct rte_intr_handle *intr_handle); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * It acknowledges an interrupt raised for the specified handle. * * This function should be called at the end of each interrupt handler either @@ -193,22 +189,16 @@ int rte_intr_disable(const struct rte_intr_handle *intr_handle); * - On success, zero. * - On failure, a negative value. */ -__rte_experimental int rte_intr_ack(const struct rte_intr_handle *intr_handle); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Check if currently executing in interrupt context * * @return * - non zero in case of interrupt context * - zero in case of process context */ -__rte_experimental -int -rte_thread_is_intr(void); +int rte_thread_is_intr(void); /** * @warning diff --git a/lib/eal/version.map b/lib/eal/version.map index 18d46acfeb1e..131a0eea1f28 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -109,8 +109,10 @@ DPDK_22 { rte_hexdump; rte_hypervisor_get; rte_hypervisor_get_name; # WINDOWS_NO_EXPORT + rte_intr_ack; rte_intr_callback_register; rte_intr_callback_unregister; + rte_intr_callback_unregister_pending; rte_intr_disable; rte_intr_enable; rte_keepalive_create; # WINDOWS_NO_EXPORT @@ -263,6 +265,7 @@ DPDK_22 { rte_strsplit; rte_sys_gettid; rte_thread_get_affinity; + rte_thread_is_intr; rte_thread_register; rte_thread_set_affinity; rte_thread_setname; @@ -320,13 +323,6 @@ EXPERIMENTAL { # added in 19.05 rte_dev_dma_map; rte_dev_dma_unmap; - rte_intr_callback_unregister_pending; - - # added in 19.08 - rte_intr_ack; - - # added in 20.02 - rte_thread_is_intr; # added in 20.05 __rte_eal_trace_alarm_cancel; From patchwork Wed Feb 16 19:39:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 107704 X-Patchwork-Delegate: thomas@monjalon.net 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 0AD61A00BE; Wed, 16 Feb 2022 20:39:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96C844121E; Wed, 16 Feb 2022 20:39:27 +0100 (CET) Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by mails.dpdk.org (Postfix) with ESMTP id 4C759411EB for ; Wed, 16 Feb 2022 20:39:25 +0100 (CET) Received: by mail-pj1-f51.google.com with SMTP id v5-20020a17090a4ec500b001b8b702df57so7394033pjl.2 for ; Wed, 16 Feb 2022 11:39:25 -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=9nlT6ARnktXYHadUI8s/6FLDh/9RJOwtEQL06i/TvHw=; b=jU+8A+Q9o+1DeIMDcDyEobirXnLEbCXZiwwsXcrJ34dyYauFG/aF7vl8Zt4vkxrTw0 oHBjLvT5NI0iEBVIXftB04JErSZeWOPuTlCLtjzilfxHp41jGhqMhUlSuepIKNF4dxCx yHp+u9wCmwNZM5pO3++CQ8E7qjT5XYs3uXc0nptQsVNGs4UKxxU6hYxQ/UntykyxkLMp aWAsCC3ytTOBzWXtEiDH369ltRDyOs13565fDEdV439r7yQraHpE62jKHw4p/s3l44xS aYmKB2RLpDvShyVu37qfxZp57GrTEkWjSeGasDO2LjF4y36Iwc2m7wO8kMCagj5AKqsv TXwg== 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=9nlT6ARnktXYHadUI8s/6FLDh/9RJOwtEQL06i/TvHw=; b=cK+Xb5RBrY55KOjMr7PdjsyLCaxcHmAtzDmueKYDMaF9F4GhkZbk0oAbkXvewGoTVa S1AlAdgDk/iq+bHlTqG/M24Nv/U5wAPKgy0ij8OwjRelKflhTezl5yjUJdYe880rffkd +QNtwxsrNQ5xI+ALPvtmJ8hejjYlbtx4uvFudX1JhIoxnVzMVUi2b1LaCjLvnM1tTvbn pZMh/Y8cBYHcrfRwUfTZta+BmWZSpl3pdci2J+wi3HUdeAOPhxX3hAxq+zfsg4J74FX1 1KDyJ3SswcDu+6BOw+7dnv1N1C2H47rXXG54YOQVEGdfvETVTi+h0oXO51D75UQpqUbT h19g== X-Gm-Message-State: AOAM531NaWbu4yNVQm/wHzJJmoPROfB55xaK0aDiAGuB3ewP3gxjIlHP kpdcTzxK5kBL+pE18y8kbld4lIuMHBsc4hS9 X-Google-Smtp-Source: ABdhPJxFmv75nb/S8iCXURRZ9fDtQYpZ6zOOHrEy4a+3LdvLAqAMBSn85NObCF08azbagmX6Y7Zbmg== X-Received: by 2002:a17:902:a713:b0:14d:8f49:84cd with SMTP id w19-20020a170902a71300b0014d8f4984cdmr3796415plq.145.1645040364252; Wed, 16 Feb 2022 11:39:24 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Feb 2022 11:39:23 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Ray Kinsella Subject: [PATCH 4/4] eal: mark rte_delay_us_sleep as not experimental Date: Wed, 16 Feb 2022 11:39:17 -0800 Message-Id: <20220216193917.251657-5-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 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 This has been around since 2018 release. Signed-off-by: Stephen Hemminger Acked-by: Ray Kinsella --- lib/eal/include/generic/rte_cycles.h | 4 +--- lib/eal/version.map | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/eal/include/generic/rte_cycles.h b/lib/eal/include/generic/rte_cycles.h index 73d1fa7b923d..f4fdca416570 100644 --- a/lib/eal/include/generic/rte_cycles.h +++ b/lib/eal/include/generic/rte_cycles.h @@ -165,9 +165,7 @@ void rte_delay_us_block(unsigned int us); * @param us * Number of microseconds to wait. */ -__rte_experimental -void -rte_delay_us_sleep(unsigned int us); +void rte_delay_us_sleep(unsigned int us); /** * Replace rte_delay_us with user defined function. diff --git a/lib/eal/version.map b/lib/eal/version.map index 131a0eea1f28..8c65239fd0f5 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -26,6 +26,7 @@ DPDK_22 { rte_delay_us; rte_delay_us_block; rte_delay_us_callback_register; + rte_delay_us_sleep; rte_dev_is_probed; rte_dev_probe; rte_dev_remove; @@ -315,7 +316,6 @@ EXPERIMENTAL { rte_dev_iterator_next; # added in 18.11 - rte_delay_us_sleep; rte_dev_event_callback_process; rte_dev_hotplug_handle_disable; rte_dev_hotplug_handle_enable;