From patchwork Fri Oct 20 21:41:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 133111 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 B20A0431BE; Fri, 20 Oct 2023 23:42:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C328D427DD; Fri, 20 Oct 2023 23:41:43 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 24C3140E09 for ; Fri, 20 Oct 2023 23:41:38 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-6ba54c3ed97so1218013b3a.2 for ; Fri, 20 Oct 2023 14:41:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697838097; x=1698442897; 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=EEvBbNeSJXi/ZFLYl0GxXMp/0mv33TuBONxgMsKsjOQ=; b=A/hBZt+Kiq4Uno05+NAgWGtW5ny4rq3jz4IxAc4GlLM+qF7zIkAR2Zve3gPACFUtss Gm9ccTdKFpOLYE+BlorO225Zz2bzS0IRFdAzA7dRzwd3b3UC+bTQcHhEohNCUpK3aIWs 0pSfRRzjUkJECy0NtNENpxj4r6Dos7eZharYxd3NQ3rPVUS/Tvtrj4783wZTy9ikZUo5 AK4phv2Fk4RYGFQF+ZnT7EnpPuQ2nvD0Y8F0Z46DuB1dB/hN9ZpVplzJ4gfFHZ0BS4p1 RhRO7bzh0H8w/k6TKqeKvzeF0jz1b0HJ24Uu3yYqxW7txGawuayPpgzuzGdVqI8AtS/D QtBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838097; x=1698442897; 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=EEvBbNeSJXi/ZFLYl0GxXMp/0mv33TuBONxgMsKsjOQ=; b=U5My7ezHlacOZ3Dh6W3aBqPQgtsrUkNtXArNdfloYmQacZqasfSKbDEzyhNzuFJyQb e6zO2rNwlQ3nGOnTIpCxr7cIU46kdRFV4ANBxEObwFqIBdgV3j3DQUFHB3ABFHyGmTnZ aGKMQQGyTEDtqJkbxJ9Gl+hyKIUcq5M3mMWj5ohUlAkioslvBUbNew82DacS4R/2zNoI hYDpzT2F2/+hISY2E7bmz6zmPrW48PDrE4x3sNqT9Uf6dzAppx4vHE/GLE53NeNcWshK +1ZM/mcjPM+PBqoZzVVOYSWT2h/XC8TbzUYwoxVmL9iCOJ13tIaZ2MCE+YJO37d/8zrt yViQ== X-Gm-Message-State: AOJu0YykTzrvnjIERA01fPaEZpkQa71RcH+g11K68vpUI8tGVssV812l tgSv2qkJi8Xhjew0zCYufZxbqEKPRKOPbBYxGcQY/Q== X-Google-Smtp-Source: AGHT+IEmmRqY9kwy1NmOaCfGPThs+mhRUw+7b6e3g8jvVAoUX+lkuuF9H2n25ZFhLaqvCqKJtkXkzA== X-Received: by 2002:a05:6a21:4843:b0:158:7fdf:66df with SMTP id au3-20020a056a21484300b001587fdf66dfmr2873657pzc.18.1697838097035; Fri, 20 Oct 2023 14:41:37 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:41:36 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 07/14] eal: make pflock API stable Date: Fri, 20 Oct 2023 14:41:12 -0700 Message-Id: <20231020214119.255491-8-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 Added in 21.11 release. Signed-off-by: Stephen Hemminger --- lib/eal/include/rte_pflock.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/lib/eal/include/rte_pflock.h b/lib/eal/include/rte_pflock.h index 553504bb6dd9..9aaf56f715cc 100644 --- a/lib/eal/include/rte_pflock.h +++ b/lib/eal/include/rte_pflock.h @@ -80,15 +80,11 @@ typedef struct rte_pflock rte_pflock_t; #define RTE_PFLOCK_INITIALIZER { } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Initialize the pflock to an unlocked state. * * @param pf * A pointer to the pflock. */ -__rte_experimental static inline void rte_pflock_init(struct rte_pflock *pf) { @@ -99,15 +95,11 @@ rte_pflock_init(struct rte_pflock *pf) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Take a pflock for read. * * @param pf * A pointer to a pflock structure. */ -__rte_experimental static inline void rte_pflock_read_lock(rte_pflock_t *pf) { @@ -127,15 +119,11 @@ rte_pflock_read_lock(rte_pflock_t *pf) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Release a pflock locked for reading. * * @param pf * A pointer to the pflock structure. */ -__rte_experimental static inline void rte_pflock_read_unlock(rte_pflock_t *pf) { @@ -143,15 +131,11 @@ rte_pflock_read_unlock(rte_pflock_t *pf) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Take the pflock for write. * * @param pf * A pointer to the pflock structure. */ -__rte_experimental static inline void rte_pflock_write_lock(rte_pflock_t *pf) { @@ -181,15 +165,11 @@ rte_pflock_write_lock(rte_pflock_t *pf) } /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Release a pflock held for writing. * * @param pf * A pointer to a pflock structure. */ -__rte_experimental static inline void rte_pflock_write_unlock(rte_pflock_t *pf) {