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 A878541EA2; Wed, 15 Mar 2023 18:20:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B25640A7A; Wed, 15 Mar 2023 18:20:51 +0100 (CET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id B0DD840141 for ; Wed, 15 Mar 2023 18:20:49 +0100 (CET) Received: by mail-pj1-f54.google.com with SMTP id fy10-20020a17090b020a00b0023b4bcf0727so2874081pjb.0 for ; Wed, 15 Mar 2023 10:20:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; t=1678900849; 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=C4rSO1X5sYMQBQR5+Wm4qjudZsw1y/JI/aNAKR1RTQw=; b=6YKg9MiNCctZ8fmIUBsiR/YzsOOmegSCJeoRHgf8DNlVoVoJjR0bCyCtAGATcjbQ1v O+V2PR5RtEBTjlMQhlmjAAVe8vcljeT5CqrMQEhSuCO0CCoBkwuur+91K4ixMBUFktmf t+bDfc0gzOaXKx0+bai7w3tK98RgSP7YdOsOzroBKYwqWRv9fYJGOPbPCNp2fT/uvwPq obBjCBCdb6+PBpNrnBH6mwEmcGbTxqLgS3+VlQufHtKTU1LSTZkvlzJNw4qBZKnTikl+ p8PsKVyXIbfp6mMBigXIXadzZk/2RV/7vXtN6yCM6G0Fw9HkWbzPr7a0Cg2FBkzvFCLe 9cOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678900849; 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=C4rSO1X5sYMQBQR5+Wm4qjudZsw1y/JI/aNAKR1RTQw=; b=2/VcCXlugTzQ92tDd/SZiuwL7f9s1p7c9KxSGrJRbBifXC+pAvbjNQ1bJ7ilpIgn4q Aqp9UnZwKKBfWgmggrDO8h5660VStbb3pRYet7pYOS7QrBS0exSfyTxE3LgWZ/doffhc mvxBdIRjpczChbDW1Dg0e/PWD1FnBsHEJtmHC/5nAg1G0AMrM4gYiTxcH4YpGXqN7W9S CrLRJAtpiv8bg0mTRJJQs8wI5ONidloO1WnifCgPmLKG+mmuNUgTr7umOuY86GoFNjs0 X+z602pYN2zStdLph2+7wFP94PRg1tQcLAriXaVVPLx5DLDTZDVVBbBtxNi20eieMRh1 6Kkw== X-Gm-Message-State: AO0yUKWYYpPPtWjqjDmiO6H1JAfk0rLXIaworbIhQ6a3QYEku+adCzwa Hokw382t7smilNXZr69VJqi9pw== X-Google-Smtp-Source: AK7set8rx3k2ADSjzGj1bpOj6UaQF/ut5ABL32PhqBtSH4lV1dSAYS/OIgCLGsHPpjtpnzMQHsPahw== X-Received: by 2002:a05:6a20:b55c:b0:cd:1a05:f4f4 with SMTP id ev28-20020a056a20b55c00b000cd1a05f4f4mr526874pzb.19.1678900848820; Wed, 15 Mar 2023 10:20:48 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id n127-20020a632785000000b0050be5236546sm1076929pgn.59.2023.03.15.10.20.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 10:20:48 -0700 (PDT) Date: Wed, 15 Mar 2023 10:20:46 -0700 From: Stephen Hemminger To: Mattias =?UTF-8?B?UsO2bm5ibG9t?= Cc: , Erik Gabriel Carrillo , David Marchand , , Stefan Sundkvist , Morten =?UTF-8?B?QnI=?= =?UTF-8?B?w7hydXA=?= , Tyler Retzlaff Subject: Re: [RFC v2 1/2] eal: add bitset type Message-ID: <20230315102046.11b80562@hermes.local> In-Reply-To: <20230315170342.214127-2-mattias.ronnblom@ericsson.com> References: <20230228093916.87206-1-mattias.ronnblom@ericsson.com> <20230315170342.214127-1-mattias.ronnblom@ericsson.com> <20230315170342.214127-2-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 Wed, 15 Mar 2023 18:03:41 +0100 Mattias R=C3=B6nnblom wrote: > Introduce a set of functions and macros that operate on sets of bits, > kept in arrays of 64-bit elements. >=20 > RTE bitset is designed for bitsets which are larger than what fits in > a single machine word (i.e., 64 bits). For very large bitsets, the > API may be a more appropriate choice. >=20 > RFC v2: > * Replaced with include, to properly get > size_t typedef. > * Add to get __rte_experimental in . >=20 > Signed-off-by: Mattias R=C3=B6nnblom It would be good to have atomic version of these routines. Other libraries could use that.