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 97BD345B00; Thu, 10 Oct 2024 10:30:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 66414402D8; Thu, 10 Oct 2024 10:30:37 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 5E99F400D6 for ; Thu, 10 Oct 2024 10:30:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1728549035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K37r3C2G0jGO0UcmF0JVPawSnefm+SYfDy8t3T/Y2m0=; b=TfbnagpF9auUjkMxdX6R8XG7/2OYeE31iLgTh2FgcI40BocT2DMOJnNjsqEqmbYwPEgq7p 94+vpposFBX+IrhBts5ux/Roaxy0H/c5gHJpeaTP7W4skJiR9zmBN7ILN6s8wm1fV5oJGZ VKWdDJyCK+ECNlHsiNsOQ0cRprsqYG4= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-137-AddIrGx0NSmyQT-IsDgAbQ-1; Thu, 10 Oct 2024 04:30:32 -0400 X-MC-Unique: AddIrGx0NSmyQT-IsDgAbQ-1 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C10EB1955EB4; Thu, 10 Oct 2024 08:30:30 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.224.68]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 68AE81956089; Thu, 10 Oct 2024 08:30:27 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: mattias.ronnblom@ericsson.com, mb@smartsharesystems.com, stephen@networkplumber.org, harry.van.haaren@intel.com, roretzla@linux.microsoft.com Subject: [PATCH v2 0/4] Add bitset type Date: Thu, 10 Oct 2024 10:30:18 +0200 Message-ID: <20241010083022.3437380-1-david.marchand@redhat.com> In-Reply-To: <20240809201440.590464-1-mattias.ronnblom@ericsson.com> References: <20240809201440.590464-1-mattias.ronnblom@ericsson.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 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 v1 did not go through the CI. Resending this series after rebasing and doing some coding style changes. -- David Marchand Mattias Rönnblom (4): eal: add bitset type bitset: add atomic functions service: use multi-word bitset to represent service flags event/dsw: add support for larger port count MAINTAINERS | 6 + app/test/meson.build | 1 + app/test/test_bitset.c | 905 +++++++++++++++++++ doc/api/doxy-api-index.md | 1 + doc/guides/rel_notes/release_24_11.rst | 9 + drivers/event/dsw/dsw_evdev.c | 19 +- drivers/event/dsw/dsw_evdev.h | 3 +- drivers/event/dsw/dsw_event.c | 7 +- lib/eal/common/meson.build | 1 + lib/eal/common/rte_bitset.c | 30 + lib/eal/common/rte_service.c | 70 +- lib/eal/include/meson.build | 1 + lib/eal/include/rte_bitset.h | 1141 ++++++++++++++++++++++++ lib/eal/version.map | 3 + 14 files changed, 2138 insertions(+), 59 deletions(-) create mode 100644 app/test/test_bitset.c create mode 100644 lib/eal/common/rte_bitset.c create mode 100644 lib/eal/include/rte_bitset.h -- 2.46.2