From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.8 required=3.0 tests=BAYES_00,DKIM_ADSP_DISCARD, DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 912E0C432BE for ; Tue, 31 Aug 2021 18:15:09 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 7D0C860F6C for ; Tue, 31 Aug 2021 18:15:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7D0C860F6C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=oktetlabs.ru Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BB6A94013F; Tue, 31 Aug 2021 20:15:07 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id AFE0B40041 for ; Tue, 31 Aug 2021 20:15:06 +0200 (CEST) Received: from localhost.localdomain (unknown [5.144.123.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 28CC47F508; Tue, 31 Aug 2021 21:15:06 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 28CC47F508 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1630433706; bh=254hYnLKJpBQGFVQfiPI7HJWhDrbfDlzmlzVd8xeW7g=; h=From:To:Cc:Subject:Date; b=pmOyzY/sKfRRAoSRnAQWHOq7+f2wj1CaCXyIksK+eBrve+JuPfIAD+j9ggq8VpU/r /ttUKGdDSj9388+mMBHdD6mD4NWU3ISgCGNDYiaUUNA8vZ6viFlpCdqlWUS5f+xxYQ n6IU1PjmJYVQMEnqGkM43aWYBZUP0KvOv1KVRwls= From: Ivan Malov To: dev@dpdk.org Cc: Andrew Rybchenko , Ray Kinsella Date: Tue, 31 Aug 2021 21:14:35 +0300 Message-Id: <20210831181435.3440-1-ivan.malov@oktetlabs.ru> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] eal: promote register type and pick level API as 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" This one might be quite mature to be attested as stable. Signed-off-by: Ivan Malov Reviewed-by: Andrew Rybchenko --- lib/eal/include/rte_log.h | 4 ---- lib/eal/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/eal/include/rte_log.h b/lib/eal/include/rte_log.h index b706bb8710..44bf21bcb1 100644 --- a/lib/eal/include/rte_log.h +++ b/lib/eal/include/rte_log.h @@ -219,9 +219,6 @@ int rte_log_cur_msg_logtype(void); int rte_log_register(const char *name); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Register a dynamic log type and try to pick its level from EAL options * * rte_log_register() is called inside. If successful, the function tries @@ -237,7 +234,6 @@ int rte_log_register(const char *name); * - >=0: the newly registered log type * - <0: rte_log_register() error value */ -__rte_experimental int rte_log_register_type_and_pick_level(const char *name, uint32_t level_def); /** diff --git a/lib/eal/version.map b/lib/eal/version.map index beeb986adc..e4c11d8fa3 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -110,6 +110,7 @@ DPDK_22 { rte_log_get_level; rte_log_get_stream; rte_log_register; + rte_log_register_type_and_pick_level; rte_log_set_global_level; rte_log_set_level; rte_log_set_level_pattern; @@ -251,7 +252,6 @@ EXPERIMENTAL { rte_fbarray_is_used; rte_fbarray_set_free; rte_fbarray_set_used; - rte_log_register_type_and_pick_level; rte_malloc_dump_heaps; rte_mem_alloc_validator_register; rte_mem_alloc_validator_unregister; -- 2.20.1