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 6DC8743C41; Sat, 2 Mar 2024 18:07:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41A104025C; Sat, 2 Mar 2024 18:07:25 +0100 (CET) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mails.dpdk.org (Postfix) with ESMTP id 27D90400D5 for ; Sat, 2 Mar 2024 18:07:24 +0100 (CET) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-6e5a232fe80so1840693b3a.0 for ; Sat, 02 Mar 2024 09:07:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709399243; x=1710004043; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=hXhmYaSiZ1a7UHwvehdgphkSO/4fakbDOzLmuMEmRDY=; b=vw+Qr+2fsNzDPi9W89znLAMjQ4c21nasnxR55UCmo1E5mnOpisNzQ36z5MwbE+pwtm V156rtShasfAAcsjQxkL6ZUZQbeCvlSQCSbDG2tDyDHdvMAFOvo4Y4/9hCHCRFer0P0Z G3W6Oa0Sf1N1/Xaf9JNAlCysIuORdmXjFNEM9wNDMQm/2aqHQp572DBS6LZ1tcrmgCBZ SRaNaE2DoZlAI9pl9SRdwjKrVdlGra1a/kKe/ixlDUfY8qk/kYrNh0Kw7ASu/ghXNd84 DPN/CKLHS8O5QBGu/L+ytvjylxfL4IJbAlKEAkyUe9cFEXYliwHHFpfCexgv9DSCs6Au J/7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709399243; x=1710004043; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hXhmYaSiZ1a7UHwvehdgphkSO/4fakbDOzLmuMEmRDY=; b=oVzxRLOEC0W060NjDWOu52AjxTLANNAIsfk1CTDT3U+jiG+9DnK8r0KoLWrkK+QtLj 3h23NMJBmqAd5vwKgOKi3KzrzPaw90ouX2voEeCGD0TFMvtzqqUF+Vtj76zBlGgZ08w1 MnYkrvRR8vW7qwALpp+yeIllopXiTSzyqk7KODhMjQxcIUuoxSL20c9JdcwCeGbHGcaJ cdxM2fPEGQ3ttSNLXJJUDNVfw5zBmduVV0d/LhSXnW6iEORbmPLpOEevs8ecY93Z4vUA t+kJEG3tCL0VFAjzAiguWguFEyoWTvtujFS7p0Su4mMejDsNaBOshGAbzX8NbWH0k/9x hDng== X-Gm-Message-State: AOJu0YxXpQLhnnPiDueANhHH0XkVyoAirhSA2LeOS8rKQu4NuZqiT+wB ynp3ZtsftDShnn06P94ETSDe2jkIZgKE7OiEjvf6lO9pYZYkiC9YpLjVXKBWeAV8/BxhgE+q+uw nQHE= X-Google-Smtp-Source: AGHT+IEWNR5szxWULBLel/dNBNmFmjMObnSZllD4xxu/HvuG2MrGTDTKbAIDc/JVD6VQr+k+Ao0G+A== X-Received: by 2002:aa7:9892:0:b0:6e5:c5c8:7db6 with SMTP id r18-20020aa79892000000b006e5c5c87db6mr5152760pfl.6.1709399243163; Sat, 02 Mar 2024 09:07:23 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id v14-20020aa799ce000000b006e4e66d6837sm4652939pfi.216.2024.03.02.09.07.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Mar 2024 09:07:23 -0800 (PST) Date: Sat, 2 Mar 2024 09:07:21 -0800 From: Stephen Hemminger To: Mattias =?UTF-8?B?UsO2bm5ibG9t?= Cc: , , Heng Wang Subject: Re: [RFC 7/7] eal: deprecate relaxed family of bit operations Message-ID: <20240302090721.2cbad00f@hermes.local> In-Reply-To: <20240302135328.531940-8-mattias.ronnblom@ericsson.com> References: <20240302135328.531940-1-mattias.ronnblom@ericsson.com> <20240302135328.531940-8-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 On Sat, 2 Mar 2024 14:53:28 +0100 Mattias R=C3=B6nnblom wrote: > diff --git a/lib/eal/include/rte_bitops.h b/lib/eal/include/rte_bitops.h > index b5a9df5930..783dd0e1ee 100644 > --- a/lib/eal/include/rte_bitops.h > +++ b/lib/eal/include/rte_bitops.h > @@ -1179,6 +1179,10 @@ __RTE_GEN_BIT_ATOMIC_OPS(64) > * The address holding the bit. > * @return > * The target bit. > + * @note > + * This function is deprecated. Use rte_bit_test32(), > + * rte_bit_once_test32(), or rte_bit_atomic_test32() instead, > + * depending on exactly what guarantees are required. > */ > static inline uint32_t > rte_bit_relaxed_get32(unsigned int nr, volatile uint32_t *addr) The DPDK process is: - mark these as deprecated in release notes of release N. - mark these as deprecated using __rte_deprecated in next LTS - drop these in LTS release after that. Don't use notes for this.