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 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 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 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 --- 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 -- 2.34.1