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 0A0264301A; Wed, 9 Aug 2023 18:46:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5FD324329A; Wed, 9 Aug 2023 18:44:54 +0200 (CEST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id 3FBC643287 for ; Wed, 9 Aug 2023 18:44:51 +0200 (CEST) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1bc6bfc4b58so609205ad.1 for ; Wed, 09 Aug 2023 09:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691599490; x=1692204290; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GFwvWxGT+D/++VHrYHG1hPaBYp4KJDRNElcmKgTL1Wk=; b=0S81/8jJ2ZfAsCdE9PDRHXDpivuOxSTmrh1eK0dSVBRv/7dmGyJze/0JQuH/SP9Mg3 tQrxyMWXhGGNu1oGMBtZDn8jSiYtJVn/as98bfnYFR6eXZViR46XdypRhSkDfGwVjJpF N296zXPJZQOwb6Ffb0nKbTLrMnDhQS6VcqCgXsXatWClFLtbmGFrRSTr2TuSWgNcovio yxNBY1QWs2Z/+viQJFdhA5UrmkWMRT8ZvlZq49E/ZeYVCU5KnlH+XizQOPIr0tALj4KK nePBwa4NX1nlfq3POULi/ocfZTRlflixkIrmCg00fILiGqEoIPKDeXVEm+yq22XMSUhQ 5ygQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691599490; x=1692204290; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GFwvWxGT+D/++VHrYHG1hPaBYp4KJDRNElcmKgTL1Wk=; b=WbaEC1EfsXBXx5O96rPb4a+vg4BBF8PSM952prUhIqOdncpyUKqJYmOycMgieIb45Q JHjX7r+ri6JxFnNnZhQP3gtCS8S5xZGtYbztPs0MXkoqYCDgPqtX+27mW7el1ydiL1e2 FML04JpuTXXdgErmNy9UsSvov364ep8Ry1Pe2bLQw28iOn+AvclyzhsD0IoK+jbw9lU7 bMsrpYa0G2DReE655tdRuIDYlwPOnPLeiP2GRs1+RiXiwa0a/7vk9Fak94aVhdeN2eDM mqMiFq+Z8W1RRlQ8HHoIAWwUJKnZB3KX5esL0vG+epfMl0HJL3mnii4NvrJXO9GxzOPI FCyw== X-Gm-Message-State: AOJu0YxUTnsOp4gpOu9/t0WxjI3CuVPugLFdOwb5up85DsS/8ljUfOER dCqFpSTQCouNf24wwP6aVaXC961vnd5DWjdb21Ap9g== X-Google-Smtp-Source: AGHT+IEzrJAb0GYY4U5AYPyJ31xbwwkB5MQ8ZYz5DwRiP9nup3qeca9iEHdvuqiRXDWh8WxbCxjYfA== X-Received: by 2002:a17:903:22cc:b0:1bc:73bf:304c with SMTP id y12-20020a17090322cc00b001bc73bf304cmr3725003plg.48.1691599490201; Wed, 09 Aug 2023 09:44:50 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id i8-20020a17090332c800b001b8b0ac2258sm11426394plr.174.2023.08.09.09.44.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 09:44:49 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 13/15] eal: mark rte_power API's stable Date: Wed, 9 Aug 2023 09:43:05 -0700 Message-Id: <20230809164312.308093-14-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809164312.308093-1-stephen@networkplumber.org> References: <20230809164312.308093-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 were added back in 2020. Signed-off-by: Stephen Hemminger --- lib/eal/include/generic/rte_power_intrinsics.h | 16 ---------------- lib/eal/version.map | 13 ++++--------- 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/lib/eal/include/generic/rte_power_intrinsics.h b/lib/eal/include/generic/rte_power_intrinsics.h index f981df7d75a1..922c32c83fdb 100644 --- a/lib/eal/include/generic/rte_power_intrinsics.h +++ b/lib/eal/include/generic/rte_power_intrinsics.h @@ -54,9 +54,6 @@ struct rte_power_monitor_cond { }; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Monitor specific address for changes. This will cause the CPU to enter an * architecture-defined optimized power state until either the specified * memory address is written to, a certain TSC timestamp is reached, or other @@ -84,14 +81,10 @@ struct rte_power_monitor_cond { * -EINVAL on invalid parameters * -ENOTSUP if unsupported */ -__rte_experimental int rte_power_monitor(const struct rte_power_monitor_cond *pmc, const uint64_t tsc_timestamp); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Wake up a specific lcore that is in a power optimized state and is monitoring * an address. * @@ -104,13 +97,9 @@ int rte_power_monitor(const struct rte_power_monitor_cond *pmc, * @param lcore_id * Lcore ID of a sleeping thread. */ -__rte_experimental int rte_power_monitor_wakeup(const unsigned int lcore_id); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Enter an architecture-defined optimized power state until a certain TSC * timestamp is reached. * @@ -126,13 +115,9 @@ int rte_power_monitor_wakeup(const unsigned int lcore_id); * -EINVAL on invalid parameters * -ENOTSUP if unsupported */ -__rte_experimental int rte_power_pause(const uint64_t tsc_timestamp); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Monitor a set of addresses for changes. This will cause the CPU to enter an * architecture-defined optimized power state until either one of the specified * memory addresses is written to, a certain TSC timestamp is reached, or other @@ -160,7 +145,6 @@ int rte_power_pause(const uint64_t tsc_timestamp); * -EINVAL on invalid parameters * -ENOTSUP if unsupported */ -__rte_experimental int rte_power_monitor_multi(const struct rte_power_monitor_cond pmc[], const uint32_t num, const uint64_t tsc_timestamp); diff --git a/lib/eal/version.map b/lib/eal/version.map index a71147aec83f..3b42d6e0e4c1 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -250,6 +250,10 @@ DPDK_24 { rte_mp_request_sync; rte_mp_sendmsg; rte_openlog_stream; + rte_power_monitor; # WINDOWS_NO_EXPORT + rte_power_monitor_wakeup; # WINDOWS_NO_EXPORT + rte_power_pause; # WINDOWS_NO_EXPORT + rte_power_monitor_multi; # WINDOWS_NO_EXPORT rte_rand; rte_rand_max; rte_realloc; @@ -401,15 +405,6 @@ EXPERIMENTAL { rte_vect_get_max_simd_bitwidth; rte_vect_set_max_simd_bitwidth; - # added in 21.02 - rte_power_monitor; # WINDOWS_NO_EXPORT - rte_power_monitor_wakeup; # WINDOWS_NO_EXPORT - rte_power_pause; # WINDOWS_NO_EXPORT - - - # added in 21.08 - rte_power_monitor_multi; # WINDOWS_NO_EXPORT - # added in 23.03 rte_lcore_register_usage_cb; rte_thread_create_control; -- 2.39.2