From patchwork Fri Jul 9 15:19:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Traynor X-Patchwork-Id: 95606 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 7964CA0548; Fri, 9 Jul 2021 17:20:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60FA3416D8; Fri, 9 Jul 2021 17:20:25 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 915C9416D3 for ; Fri, 9 Jul 2021 17:20:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625844022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=S9mupXtLFFBmeUHv3jjW4Mw80DPT2eALwQLMK+OzR5E=; b=FlikjVMzViJlcKZ0fmdCDsY55GDp2rtXVVNY3hGxLMG5k82aPryOjVDJxzXojduZZqXXBp f34GA9FgllxT0TR1FSzeEWK7JWQoLiIaBbG4c5hv4EJ2X+pk7/nIEp4u1UPQAQBeuGLNQV JjJfhXaV/IcF73yg029thcNTGAUECnA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-295-AXe6hEt4P9qS5YNOwYgbnA-1; Fri, 09 Jul 2021 11:20:19 -0400 X-MC-Unique: AXe6hEt4P9qS5YNOwYgbnA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8747818414A2; Fri, 9 Jul 2021 15:20:18 +0000 (UTC) Received: from rh.redhat.com (ovpn-114-237.ams2.redhat.com [10.36.114.237]) by smtp.corp.redhat.com (Postfix) with ESMTP id 39765100EBAF; Fri, 9 Jul 2021 15:20:14 +0000 (UTC) From: Kevin Traynor To: dev@dpdk.org Cc: mdr@ashroe.eu, Kevin Traynor , Hemant Agrawal Date: Fri, 9 Jul 2021 16:19:38 +0100 Message-Id: <20210709151938.701895-3-ktraynor@redhat.com> In-Reply-To: <20210709151938.701895-1-ktraynor@redhat.com> References: <20210709151938.701895-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [dpdk-dev] [PATCH 3/3] bitrate: promote rte_stats_bitrate_free() to 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" rte_stats_bitrate_free() has been in DPDK since 20.11. Its signature is very basic as it just frees an opaque data struct allocated in rte_stats_bitrate_create() and returns void. It's unlikely that such a basic signature would need to change so might as well promote it to stable for the next major ABI. Cc: Hemant Agrawal Signed-off-by: Kevin Traynor --- lib/bitratestats/rte_bitrate.h | 3 --- lib/bitratestats/version.map | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/bitratestats/rte_bitrate.h b/lib/bitratestats/rte_bitrate.h index fcd1564ddc..e494389b95 100644 --- a/lib/bitratestats/rte_bitrate.h +++ b/lib/bitratestats/rte_bitrate.h @@ -8,6 +8,4 @@ #include -#include - #ifdef __cplusplus extern "C" { @@ -36,5 +34,4 @@ struct rte_stats_bitrates *rte_stats_bitrate_create(void); * Pointer allocated by rte_stats_bitrate_create() */ -__rte_experimental void rte_stats_bitrate_free(struct rte_stats_bitrates *bitrate_data); diff --git a/lib/bitratestats/version.map b/lib/bitratestats/version.map index 152730bb4e..a14d21ebba 100644 --- a/lib/bitratestats/version.map +++ b/lib/bitratestats/version.map @@ -9,7 +9,7 @@ DPDK_21 { }; -EXPERIMENTAL { +DPDK_22 { global: rte_stats_bitrate_free; -}; +} DPDK_21;