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 94310A0547; Fri, 10 Sep 2021 14:32:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2D9794118A; Fri, 10 Sep 2021 14:30:41 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id AC15841140 for ; Fri, 10 Sep 2021 14:30:24 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10102"; a="243386268" X-IronPort-AV: E=Sophos;i="5.85,282,1624345200"; d="scan'208";a="243386268" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Sep 2021 05:30:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,282,1624345200"; d="scan'208";a="450460441" Received: from silpixa00401191.ir.intel.com ([10.55.128.95]) by orsmga002.jf.intel.com with ESMTP; 10 Sep 2021 05:30:10 -0700 From: Anatoly Burakov To: dev@dpdk.org, Ray Kinsella Date: Fri, 10 Sep 2021 12:30:03 +0000 Message-Id: <029012e59f555be16bed829229e8b48016157371.1631277001.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v1 1/7] eal: promote IPC API's 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" As per ABI policy, move the formerly experimental API's to the stable section. Signed-off-by: Anatoly Burakov --- lib/eal/include/rte_eal.h | 24 ------------------------ lib/eal/version.map | 14 ++++++-------- 2 files changed, 6 insertions(+), 32 deletions(-) diff --git a/lib/eal/include/rte_eal.h b/lib/eal/include/rte_eal.h index eaf6469e50..f1af86bfff 100644 --- a/lib/eal/include/rte_eal.h +++ b/lib/eal/include/rte_eal.h @@ -209,9 +209,6 @@ typedef int (*rte_mp_async_reply_t)(const struct rte_mp_msg *request, const struct rte_mp_reply *reply); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Register an action function for primary/secondary communication. * * Call this function to register an action, if the calling component wants @@ -231,14 +228,10 @@ typedef int (*rte_mp_async_reply_t)(const struct rte_mp_msg *request, * - 0 on success. * - (<0) on failure. */ -__rte_experimental int rte_mp_action_register(const char *name, rte_mp_t action); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Unregister an action function for primary/secondary communication. * * Call this function to unregister an action if the calling component does @@ -252,14 +245,10 @@ rte_mp_action_register(const char *name, rte_mp_t action); * The name argument plays as the nonredundant key to find the action. * */ -__rte_experimental void rte_mp_action_unregister(const char *name); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Send a message to the peer process. * * This function will send a message which will be responded by the action @@ -272,14 +261,10 @@ rte_mp_action_unregister(const char *name); * - On success, return 0. * - On failure, return -1, and the reason will be stored in rte_errno. */ -__rte_experimental int rte_mp_sendmsg(struct rte_mp_msg *msg); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Send a request to the peer process and expect a reply. * * This function sends a request message to the peer process, and will @@ -307,15 +292,11 @@ rte_mp_sendmsg(struct rte_mp_msg *msg); * - On success, return 0. * - On failure, return -1, and the reason will be stored in rte_errno. */ -__rte_experimental int rte_mp_request_sync(struct rte_mp_msg *req, struct rte_mp_reply *reply, const struct timespec *ts); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Send a request to the peer process and expect a reply in a separate callback. * * This function sends a request message to the peer process, and will not @@ -337,15 +318,11 @@ rte_mp_request_sync(struct rte_mp_msg *req, struct rte_mp_reply *reply, * - On success, return 0. * - On failure, return -1, and the reason will be stored in rte_errno. */ -__rte_experimental int rte_mp_request_async(struct rte_mp_msg *req, const struct timespec *ts, rte_mp_async_reply_t clb); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Send a reply to the peer process. * * This function will send a reply message in response to a request message @@ -366,7 +343,6 @@ rte_mp_request_async(struct rte_mp_msg *req, const struct timespec *ts, * - On success, return 0. * - On failure, return -1, and the reason will be stored in rte_errno. */ -__rte_experimental int rte_mp_reply(struct rte_mp_msg *msg, const char *peer); diff --git a/lib/eal/version.map b/lib/eal/version.map index beeb986adc..c6e78d68d1 100644 --- a/lib/eal/version.map +++ b/lib/eal/version.map @@ -146,6 +146,12 @@ DPDK_22 { rte_memzone_reserve_aligned; rte_memzone_reserve_bounded; rte_memzone_walk; + rte_mp_action_register; + rte_mp_action_unregister; + rte_mp_reply; + rte_mp_request_async; + rte_mp_request_sync; + rte_mp_sendmsg; rte_openlog_stream; rte_rand; rte_realloc; @@ -224,12 +230,6 @@ DPDK_22 { EXPERIMENTAL { global: - # added in 18.02 - rte_mp_action_register; - rte_mp_action_unregister; - rte_mp_reply; - rte_mp_sendmsg; - # added in 18.05 rte_dev_event_callback_register; rte_dev_event_callback_unregister; @@ -264,8 +264,6 @@ EXPERIMENTAL { rte_memseg_contig_walk; rte_memseg_list_walk; rte_memseg_walk; - rte_mp_request_async; - rte_mp_request_sync; # added in 18.08 rte_class_find; -- 2.25.1