From patchwork Fri Oct 20 21:41:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133118 X-Patchwork-Delegate: david.marchand@redhat.com 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 09085431BE; Fri, 20 Oct 2023 23:43:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2459342E34; Fri, 20 Oct 2023 23:41:53 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id 14D1742D76 for ; Fri, 20 Oct 2023 23:41:45 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6b1e46ca282so1251111b3a.2 for ; Fri, 20 Oct 2023 14:41:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838104; x=1698442904; 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=5NxIFGqdVKRAsvgDR3sdeJ4ZtxPUFRm7ohSVLK4NjRY=; b=JL7b7ykmsr9ebqWEM06DCixF+yl5OplEiIRDmykFf82hUTF5ATovG6XQwD58fskl68 hSt0IC6oa1oE+4BrtAak1/RtZ4D+dFlwtH9H1RUnpR4TVWKQDnrIFYxwFt8BigXCOI15 fBg3qzb5IF97Tq78QH4GcbjvwSufMkQBWwgAX9mpuG25F9jduc4YiNNj0i2gSa+EK0ta +Gyg3ZKidV9h1voiSOih/R6grYnjfnEdMF3ckc1I3VW3vjRH6qpnBpi5OY+OAGeXn4eX s4IQ6Sd9jhkz46pg8qkg1z1W5IZmVDmU6bC3HwfkTFWCKtTw8lmKOFN2zaegNEzr7DHc kdvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838104; x=1698442904; 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=5NxIFGqdVKRAsvgDR3sdeJ4ZtxPUFRm7ohSVLK4NjRY=; b=lk1xvwzc2df1hna4MuLqXpDfFvf+s0HfGZsmRu/4APCqnrw6ZMehKYrBanJW5hD2iK Am/K6QybLKMQZyg3wOqGy+HyPyKrFmden3yNzAua0SwsRdIIIqm2XYOmRXDS3QeWa2xc L/sl1ivqDFwcgtBRudyrI5iHbnXsrGBUpuNuMr4tY/8wDsoH0p7wnJDnZj8JbMmgNxgC MdVzSWlqObyYUj0OvKz5lXJwNnlbi2ZLiPTvqw8rcnutuwz+FMuNnwjEmkdy4Vyz+ecn gdlyJIsFSvgrb5EE2y2bmRUUt2p7qgcdAYG4J1agDpIl+6n+dRiqo0Tr8PUT/qnll9DI HQsw== X-Gm-Message-State: AOJu0Yx7rQeyJdSO791lqG8uMnPhArtZEfMy1MZkNaoxjiqLCJldRkXs co3V4vfkbU7x0HZ51MhYMcsnq1wUDPX+h3TiYzguDA== X-Google-Smtp-Source: AGHT+IE+50X9MLRocUW06PMlgj5+G0GTMmCQN1mJhkvld/aP3rldrsbqda7qX7A6ssZWtmv+evIBeQ== X-Received: by 2002:a62:f251:0:b0:692:b429:390 with SMTP id y17-20020a62f251000000b00692b4290390mr2802860pfl.29.1697838104076; Fri, 20 Oct 2023 14:41:44 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id 19-20020a631753000000b005894450b404sm1886543pgx.63.2023.10.20.14.41.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:43 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 14/14] eal: make rte_version API's stable Date: Fri, 20 Oct 2023 14:41:19 -0700 Message-Id: <20231020214119.255491-15-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214119.255491-1-stephen@networkplumber.org> References: <20230809164312.308093-1-stephen@networkplumber.org> <20231020214119.255491-1-stephen@networkplumber.org> MIME-Version: 1.0 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 have been around since 2020 releases. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_version.h | 6 ------ lib/eal/version.map | 16 ++++++---------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/lib/eal/include/rte_version.h b/lib/eal/include/rte_version.h index 414b6167f286..121d75bdbe28 100644 --- a/lib/eal/include/rte_version.h +++ b/lib/eal/include/rte_version.h @@ -35,37 +35,31 @@ extern "C" { /** * Function to return DPDK version prefix string */ -__rte_experimental const char *rte_version_prefix(void); /** * Function to return DPDK version year */ -__rte_experimental unsigned int rte_version_year(void); /** * Function to return DPDK version month */ -__rte_experimental unsigned int rte_version_month(void); /** * Function to return DPDK minor version number */ -__rte_experimental unsigned int rte_version_minor(void); /** * Function to return DPDK version suffix for any release candidates */ -__rte_experimental const char *rte_version_suffix(void); /** * Function to return DPDK version release candidate value */ -__rte_experimental unsigned int rte_version_release(void); /** diff --git a/lib/eal/version.map b/lib/eal/version.map index 756f446524c2..a68986eb2773 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -317,6 +317,12 @@ DPDK_24 { rte_vect_get_max_simd_bitwidth; rte_vect_set_max_simd_bitwidth; rte_version; + rte_version_minor; + rte_version_month; + rte_version_prefix; + rte_version_release; + rte_version_suffix; + rte_version_year; rte_vfio_clear_group; # WINDOWS_NO_EXPORT rte_vfio_container_create; # WINDOWS_NO_EXPORT rte_vfio_container_destroy; # WINDOWS_NO_EXPORT @@ -380,16 +386,6 @@ EXPERIMENTAL { __rte_eal_trace_generic_size_t; # WINDOWS_NO_EXPORT rte_cpu_get_intrinsics_support; # WINDOWS_NO_EXPORT - # added in 21.05 - rte_version_minor; - rte_version_month; - rte_version_prefix; - rte_version_release; - rte_version_suffix; - rte_version_year; - - # added in 21.11 - # added in 23.03 rte_lcore_register_usage_cb; __rte_eal_trace_generic_blob;