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 0C0D2A0C41; Wed, 25 Aug 2021 17:52:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4CFE9411FD; Wed, 25 Aug 2021 17:52:38 +0200 (CEST) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id CA48C411F0 for ; Wed, 25 Aug 2021 17:52:35 +0200 (CEST) Received: by mail-pl1-f182.google.com with SMTP id d17so14562169plr.12 for ; Wed, 25 Aug 2021 08:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+PzUA4iEuA/JpVrMte0TftXFdWJa8efUp8JFVRvPlhc=; b=M6Wwdk23stF7lzG7WRhKsBmjZ/1JkkZHMqHxTk40cT95llpO3F9mFrKUUmeBaZXXVi QpkUoLmNjjHgDkQfDtWbvvQggExyZ2d45ead7Ef1cwxPVlKX6yIbkB5UP5QLspHlLLxK 81wurKTiOoAYodVyyNS88YHa6cgpsBs4p9lTn0PzWqieNXyh/kAQ7yWWhx3dYEnDsM8t q8Tjk1gzq3qcsn/YGws3f1vftksa7M3v3J3TUgI1MsNxpPwXldf04paR9U2uN/gYcqVO 3mtHIv5/Wzeqs5hX42gEgtV/gXbbLVOH8pdeuI4HpILU4WNF/IFP2eFXSoo2EUYvxobo cyLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+PzUA4iEuA/JpVrMte0TftXFdWJa8efUp8JFVRvPlhc=; b=Iq0CPe5VWYmTNC3Z7MO2xAeU/35S0qEsSjscvjqQuM65yzYfG+rZrXDqeRmpusIJZ3 5GIRqlCH7s10Fk6kCYTLDDWK2WYAOMlJGuSfhi9KGDWuumwDx2WVkD9/NkBwc8nlHAti BcqspRT0akTTSVtzgyTWkxXxq+MbrgG8HETRIc6QDtxzOcuMVs9BX44OdeVo1607pXw3 jwXfvUMkbT0dbAkcvXrqqRGJtO224rfjsuvBOqCgfYmuIB2Ppc56puwjeSHt/vNvvsRO VQQBRokciGgl1d3WfyEfrvQ4RYYq0g2eWWp3fSCAECCpADfOo4PkB+W3Rxu63xj7+RJv pAgA== X-Gm-Message-State: AOAM5324w037Qr00FKs5iXwBq6BRURXGXrIKUQ2370B8udbYl4VixfHc 0CCh07+htM44Gl8d5+Z6Zt4izVncrk5f1Q== X-Google-Smtp-Source: ABdhPJwly4A/q0cRFsQf+Z9g0kO8bml8fl5NnzLQJXWol0jSgnIgBL0BaquJcogNvRuQF6AfwpDj6w== X-Received: by 2002:a17:90a:d587:: with SMTP id v7mr11390844pju.110.1629906754702; Wed, 25 Aug 2021 08:52:34 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id u24sm244659pfm.85.2021.08.25.08.52.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Aug 2021 08:52:34 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 25 Aug 2021 08:52:29 -0700 Message-Id: <20210825155229.67191-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210825155229.67191-1-stephen@networkplumber.org> References: <20210825155229.67191-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 2/2] mbuf: remove experimental from dynamic field support 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" These functions to register dynamic fields were added in 20.11 and should be promoted to supported. Signed-off-by: Stephen Hemminger --- lib/mbuf/rte_mbuf_dyn.h | 9 --------- lib/mbuf/version.map | 18 +++++++++--------- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/lib/mbuf/rte_mbuf_dyn.h b/lib/mbuf/rte_mbuf_dyn.h index 13f06d8ed25b..fc12687bef21 100644 --- a/lib/mbuf/rte_mbuf_dyn.h +++ b/lib/mbuf/rte_mbuf_dyn.h @@ -118,7 +118,6 @@ struct rte_mbuf_dynflag { * - ENOMEM: allocation failure. * - ENAMETOOLONG: name does not ends with \0. */ -__rte_experimental int rte_mbuf_dynfield_register(const struct rte_mbuf_dynfield *params); /** @@ -143,7 +142,6 @@ int rte_mbuf_dynfield_register(const struct rte_mbuf_dynfield *params); * - ENOMEM: allocation failure. * - ENAMETOOLONG: name does not ends with \0. */ -__rte_experimental int rte_mbuf_dynfield_register_offset(const struct rte_mbuf_dynfield *params, size_t offset); @@ -160,7 +158,6 @@ int rte_mbuf_dynfield_register_offset(const struct rte_mbuf_dynfield *params, * Possible values for rte_errno: * - ENOENT: no dynamic field matches this name. */ -__rte_experimental int rte_mbuf_dynfield_lookup(const char *name, struct rte_mbuf_dynfield *params); @@ -183,7 +180,6 @@ int rte_mbuf_dynfield_lookup(const char *name, * - ENOMEM: allocation failure. * - ENAMETOOLONG: name is longer than RTE_MBUF_DYN_NAMESIZE - 1. */ -__rte_experimental int rte_mbuf_dynflag_register(const struct rte_mbuf_dynflag *params); /** @@ -208,7 +204,6 @@ int rte_mbuf_dynflag_register(const struct rte_mbuf_dynflag *params); * - ENOMEM: allocation failure. * - ENAMETOOLONG: name is longer than RTE_MBUF_DYN_NAMESIZE - 1. */ -__rte_experimental int rte_mbuf_dynflag_register_bitnum(const struct rte_mbuf_dynflag *params, unsigned int bitnum); @@ -225,7 +220,6 @@ int rte_mbuf_dynflag_register_bitnum(const struct rte_mbuf_dynflag *params, * Possible values for rte_errno: * - ENOENT: no dynamic flag matches this name. */ -__rte_experimental int rte_mbuf_dynflag_lookup(const char *name, struct rte_mbuf_dynflag *params); @@ -240,7 +234,6 @@ int rte_mbuf_dynflag_lookup(const char *name, * @param out * The stream where the status is displayed. */ -__rte_experimental void rte_mbuf_dyn_dump(FILE *out); /* @@ -295,7 +288,6 @@ typedef uint64_t rte_mbuf_timestamp_t; * - ENOENT: no more field or flag available. * - ENOMEM: allocation failure. */ -__rte_experimental int rte_mbuf_dyn_rx_timestamp_register(int *field_offset, uint64_t *rx_flag); /** @@ -332,7 +324,6 @@ int rte_mbuf_dyn_rx_timestamp_register(int *field_offset, uint64_t *rx_flag); * - ENOENT: no more field or flag available. * - ENOMEM: allocation failure. */ -__rte_experimental int rte_mbuf_dyn_tx_timestamp_register(int *field_offset, uint64_t *tx_flag); #ifdef __cplusplus diff --git a/lib/mbuf/version.map b/lib/mbuf/version.map index 940b04096520..b63e28a8cc4d 100644 --- a/lib/mbuf/version.map +++ b/lib/mbuf/version.map @@ -16,6 +16,15 @@ DPDK_22 { rte_get_tx_ol_flag_list; rte_get_tx_ol_flag_name; rte_mbuf_best_mempool_ops; + rte_mbuf_dyn_dump; + rte_mbuf_dyn_rx_timestamp_register; + rte_mbuf_dyn_tx_timestamp_register; + rte_mbuf_dynfield_lookup; + rte_mbuf_dynfield_register; + rte_mbuf_dynfield_register_offset; + rte_mbuf_dynflag_lookup; + rte_mbuf_dynflag_register; + rte_mbuf_dynflag_register_bitnum; rte_mbuf_platform_mempool_ops; rte_mbuf_sanity_check; rte_mbuf_set_platform_mempool_ops; @@ -37,15 +46,6 @@ EXPERIMENTAL { global: rte_mbuf_check; - rte_mbuf_dynfield_lookup; - rte_mbuf_dynfield_register; - rte_mbuf_dynfield_register_offset; - rte_mbuf_dynflag_lookup; - rte_mbuf_dynflag_register; - rte_mbuf_dynflag_register_bitnum; - rte_mbuf_dyn_dump; - rte_mbuf_dyn_rx_timestamp_register; - rte_mbuf_dyn_tx_timestamp_register; rte_pktmbuf_pool_create_extbuf; }; -- 2.30.2