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 072B245905; Wed, 4 Sep 2024 20:10:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C6F34427CD; Wed, 4 Sep 2024 20:10:08 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id 7D5BD427B0 for ; Wed, 4 Sep 2024 20:10:06 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-7176645e440so774269b3a.1 for ; Wed, 04 Sep 2024 11:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1725473406; x=1726078206; darn=dpdk.org; 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=XkBEMLVuy2fgxo1CBUzU4QAMkXokLgQnhXkEE4EykxM=; b=JBQEf2s9ebOInnAB338v98vsSVRELT1y7uP//4TAAmOmz5BmeDpck/WeHB7/fwLwAx o2UfDDjIevPsFP9ukj1ohmCSD06VOLuFYRDMSD1SrE70ge/5pmP8fKXHasAmrBUyfHG4 /Be9UjKBlzgMtuRZlBJKbaaqD83mGt4OhUYBXEZqaLtvlpUKRMcW7pORirNCxvneail/ cBDBo1Ox75GBUy4f8/HIP52ZXcpm6yqPMkgIwsSmzu+Did8OI2Z39jrUtireO6wbBIUe gGisq0LCwCBLbXqxYr5YjTY35c25+nBs+6Whce7ri5Vf46Gv3jOl09P9fcGFMG7H1+8e U9lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725473406; x=1726078206; 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=XkBEMLVuy2fgxo1CBUzU4QAMkXokLgQnhXkEE4EykxM=; b=j+hPRWUigJKzMoo2LriAYO29Ld2IaEdv49J1HK36rMZkvuBh/UOAKhSbMqHq1UsMLq XWd2+BdEWzSJrSenNv3j6fhhC4XNHT3BIUkSBBXmaelyGKsI8sKtlDujhpG7wc29wDRs VMof8jG52C/bnI4BgElhcV1aQhnpfKaPykMA7yc/7NEhzmhnygKqzJ2XgxwIpYO+vvMG +Mjuk6iL4Te/LbD3rnctrn42N5QSp/lKMvXzm2GDcdAXKHWaQMD9HI5PrisgXKEpDCfs 77HbDa2J+XE5D7G4MQzJD9BDJbpEuXcmZNHx8K9LJJKzrEVsDfC7rZt6AofrwsNBCvNl gH7A== X-Gm-Message-State: AOJu0YyX2lMonwc4T+EJer8vA4u9yCqhHxm1KKxIBPjclleWrrzmajKY 1kSgEFg5RMZWIBkXQH7ughHM+DvNZ7SvKGvNWvaiieLQ8X4fATQM3lYiqz+oDVEjb2TA2GMdnEe 2r5s= X-Google-Smtp-Source: AGHT+IECELSpUp964xpGHwj8HV4uvmcrzLerN9W6CRpJwWajIGc8qNN5NeXmHEFNfw07unuR4ZC02g== X-Received: by 2002:a05:6a00:be8:b0:70e:ce95:b87 with SMTP id d2e1a72fcca58-7177a86ffafmr4370240b3a.0.1725473405571; Wed, 04 Sep 2024 11:10:05 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7178562ca29sm704737b3a.169.2024.09.04.11.10.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2024 11:10:05 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Tyler Retzlaff Subject: [PATCH 2/3] eal: mark rte_lcore_register_usage_cb stable Date: Wed, 4 Sep 2024 11:08:45 -0700 Message-ID: <20240904180954.104473-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240904180954.104473-1-stephen@networkplumber.org> References: <20240904180954.104473-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 This API was added back in 23.03, can be marked stable now. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_lcore.h | 4 ---- lib/eal/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/eal/include/rte_lcore.h b/lib/eal/include/rte_lcore.h index 7deae47af3..549b9e68c5 100644 --- a/lib/eal/include/rte_lcore.h +++ b/lib/eal/include/rte_lcore.h @@ -359,9 +359,6 @@ struct rte_lcore_usage { typedef int (*rte_lcore_usage_cb)(unsigned int lcore_id, struct rte_lcore_usage *usage); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Register a callback from an application to be called in rte_lcore_dump() and * the /eal/lcore/info telemetry endpoint handler. Applications are expected to * report lcore usage statistics via this callback. @@ -373,7 +370,6 @@ typedef int (*rte_lcore_usage_cb)(unsigned int lcore_id, struct rte_lcore_usage * @param cb * The callback function. */ -__rte_experimental void rte_lcore_register_usage_cb(rte_lcore_usage_cb cb); /** diff --git a/lib/eal/version.map b/lib/eal/version.map index cabe881bfe..e0fa68bbfc 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -165,6 +165,7 @@ DPDK_25 { rte_lcore_iterate; rte_lcore_to_cpu_id; rte_lcore_to_socket_id; + rte_lcore_register_usage_cb; rte_malloc; rte_malloc_dump_heaps; rte_malloc_dump_stats; @@ -387,7 +388,6 @@ EXPERIMENTAL { __rte_eal_trace_generic_size_t; # WINDOWS_NO_EXPORT # added in 23.03 - rte_lcore_register_usage_cb; __rte_eal_trace_generic_blob; # added in 23.07 -- 2.45.2