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 0E5EE43011; Wed, 9 Aug 2023 02:12:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2CD06432B3; Wed, 9 Aug 2023 02:10:55 +0200 (CEST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mails.dpdk.org (Postfix) with ESMTP id 548FF432A6 for ; Wed, 9 Aug 2023 02:10:49 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1b8b2b60731so39639615ad.2 for ; Tue, 08 Aug 2023 17:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691539848; x=1692144648; 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=gJFKFBGHO9s8ps17YOhZzVWxMzHgUavVurJ+ZKKI9iE=; b=chMG3Dy70kisuGsmwznr25oYg1+oqVt8nzzTDX47ughaiFhzs2qMtccC/F3Zf6Q4Jz 0YXfEgRM8VzOMVnim6/kuYzP41nmawGOnaOSrgDvwmafIBEnOfmdWjJIml1ulxzb4m6b KvJu/j2lcgfzXZpZ8woe1WPjbJ3L8T4AuF6tD63ZTObCaFzksxRD3P415sLCixE0p/Ki JWDAFOwJqe5QGKO+pvOevMXT/7BEznFXXmeKnizAabHyA9CkDKqG0Fy5YyVd4+IzgK56 W+dqVz+6vQ/hTQ5lHUIABAuYkMrrxv290PuaXl1IAuk2r1jReN77Op0icqxcQZl8Ygjm BYeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691539848; x=1692144648; 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=gJFKFBGHO9s8ps17YOhZzVWxMzHgUavVurJ+ZKKI9iE=; b=jwHqWFV41AfwWUx7090IiYHpJ0wNrz6s+7oi3MmCmgyOsT1yMVXvKJZ/QzlVrtoKGk DI62WAH1o0Wo+RmjVceEfM2PqcsiULgpgRSMRCT1MJ7twkjR8uL3Z5kvTE9XFf/5pI5M O9foAyBYpZHpuFusm3RQGRiJItd8TamnHj/5sqkK9yNqV4/K61DzB1BHGwWfZLL6BpIF NCswTQdCEdRDs1P1oiVGG1pgvdnhwEPmkzcRepCr3K4G9d4KmtZb9wKdsY6orVYtolEQ bod/oCVkqdhLpHKbS2+3pmXbkKAuX1lxx3bOHXq2RI0w0NbLyfqPMGllAj418nJACzdb 9C8Q== X-Gm-Message-State: AOJu0YzN3hVtISvgZhgQi/iMvd/kUVV2GYzcbTSR+ofOCfkT7JJHIPvv yrbY+R2ZCn6oI5bJrJKvmAsDANmWmbTkUp2Y0eWVMQ== X-Google-Smtp-Source: AGHT+IGA+DIoMOfzBvVSF7NxcEUAzW3OUMTBohtzLBS1oNlx7VvMpfuoeYz9zY4QaH1UBKLCwrWQRA== X-Received: by 2002:a17:903:2351:b0:1b8:9ecd:8b86 with SMTP id c17-20020a170903235100b001b89ecd8b86mr1576266plh.5.1691539848167; Tue, 08 Aug 2023 17:10:48 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id ix11-20020a170902f80b00b001bc676df6a9sm5745629plb.132.2023.08.08.17.10.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 17:10:47 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Akhil Goyal Subject: [PATCH v2 20/29] security: remove experimental flag Date: Tue, 8 Aug 2023 17:10:08 -0700 Message-Id: <20230809001017.293037-21-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230809001017.293037-1-stephen@networkplumber.org> References: <20230808173527.186042-1-stephen@networkplumber.org> <20230809001017.293037-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 The rte_security API's were last updated in 22.11. Therefore remove the experimental tag. Signed-off-by: Stephen Hemminger --- lib/security/rte_security.h | 35 ----------------------------------- lib/security/version.map | 17 ++++++----------- 2 files changed, 6 insertions(+), 46 deletions(-) diff --git a/lib/security/rte_security.h b/lib/security/rte_security.h index 3b2df526ba35..f70fc601a2a3 100644 --- a/lib/security/rte_security.h +++ b/lib/security/rte_security.h @@ -703,7 +703,6 @@ rte_security_session_create(struct rte_security_ctx *instance, * - On success returns 0 * - On failure returns a negative errno value. */ -__rte_experimental int rte_security_session_update(struct rte_security_ctx *instance, void *sess, @@ -739,9 +738,6 @@ int rte_security_session_destroy(struct rte_security_ctx *instance, void *sess); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Create MACsec security channel (SC). * * @param instance security instance @@ -753,15 +749,11 @@ rte_security_session_destroy(struct rte_security_ctx *instance, void *sess); * - -ENOMEM if PMD is not capable to create more SC. * - other negative value for other errors. */ -__rte_experimental int rte_security_macsec_sc_create(struct rte_security_ctx *instance, struct rte_security_macsec_sc *conf); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Destroy MACsec security channel (SC). * * @param instance security instance @@ -772,15 +764,11 @@ rte_security_macsec_sc_create(struct rte_security_ctx *instance, * - -EINVAL if sc_id is invalid or instance is NULL. * - -EBUSY if sc is being used by some session. */ -__rte_experimental int rte_security_macsec_sc_destroy(struct rte_security_ctx *instance, uint16_t sc_id, enum rte_security_macsec_direction dir); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Create MACsec security association (SA). * * @param instance security instance @@ -792,15 +780,11 @@ rte_security_macsec_sc_destroy(struct rte_security_ctx *instance, uint16_t sc_id * - -ENOMEM if PMD is not capable to create more SAs. * - other negative value for other errors. */ -__rte_experimental int rte_security_macsec_sa_create(struct rte_security_ctx *instance, struct rte_security_macsec_sa *conf); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Destroy MACsec security association (SA). * * @param instance security instance @@ -811,7 +795,6 @@ rte_security_macsec_sa_create(struct rte_security_ctx *instance, * - -EINVAL if sa_id is invalid or instance is NULL. * - -EBUSY if sa is being used by some session. */ -__rte_experimental int rte_security_macsec_sa_destroy(struct rte_security_ctx *instance, uint16_t sa_id, enum rte_security_macsec_direction dir); @@ -822,9 +805,6 @@ typedef uint64_t rte_security_dynfield_t; extern int rte_security_dynfield_offset; /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Get pointer to mbuf field for device-specific metadata. * * For performance reason, no check is done, @@ -834,7 +814,6 @@ extern int rte_security_dynfield_offset; * @param mbuf packet to access * @return pointer to mbuf field */ -__rte_experimental static inline rte_security_dynfield_t * rte_security_dynfield(struct rte_mbuf *mbuf) { @@ -844,14 +823,10 @@ rte_security_dynfield(struct rte_mbuf *mbuf) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Check whether the dynamic field is registered. * * @return true if rte_security_dynfield_register() has been called. */ -__rte_experimental static inline bool rte_security_dynfield_is_registered(void) { return rte_security_dynfield_offset >= 0; @@ -900,7 +875,6 @@ rte_security_session_fast_mdata_set(void *sess, uint64_t fdata) } /** Function to call PMD specific function pointer set_pkt_metadata() */ -__rte_experimental int __rte_security_set_pkt_metadata(struct rte_security_ctx *instance, void *sess, struct rte_mbuf *m, void *params); @@ -1072,16 +1046,12 @@ struct rte_security_stats { * - On success, return 0 * - On failure, a negative value */ -__rte_experimental int rte_security_session_stats_get(struct rte_security_ctx *instance, void *sess, struct rte_security_stats *stats); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Get MACsec SA statistics. * * @param instance security instance @@ -1092,16 +1062,12 @@ rte_security_session_stats_get(struct rte_security_ctx *instance, * - On success, return 0. * - On failure, a negative value. */ -__rte_experimental int rte_security_macsec_sa_stats_get(struct rte_security_ctx *instance, uint16_t sa_id, enum rte_security_macsec_direction dir, struct rte_security_macsec_sa_stats *stats); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Get MACsec SC statistics. * * @param instance security instance @@ -1112,7 +1078,6 @@ rte_security_macsec_sa_stats_get(struct rte_security_ctx *instance, * - On success, return 0. * - On failure, a negative value. */ -__rte_experimental int rte_security_macsec_sc_stats_get(struct rte_security_ctx *instance, uint16_t sc_id, enum rte_security_macsec_direction dir, diff --git a/lib/security/version.map b/lib/security/version.map index b2097a969d1c..06eceb5c0558 100644 --- a/lib/security/version.map +++ b/lib/security/version.map @@ -1,19 +1,9 @@ DPDK_24 { global: + __rte_security_set_pkt_metadata; rte_security_capabilities_get; rte_security_capability_get; - rte_security_session_create; - rte_security_session_destroy; - rte_security_session_get_size; - - local: *; -}; - -EXPERIMENTAL { - global: - - __rte_security_set_pkt_metadata; rte_security_dynfield_offset; rte_security_macsec_sa_create; rte_security_macsec_sa_destroy; @@ -21,8 +11,13 @@ EXPERIMENTAL { rte_security_macsec_sc_create; rte_security_macsec_sc_destroy; rte_security_macsec_sc_stats_get; + rte_security_session_create; + rte_security_session_destroy; + rte_security_session_get_size; rte_security_session_stats_get; rte_security_session_update; + + local: *; }; INTERNAL { -- 2.39.2