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 169CA43407; Wed, 29 Nov 2023 23:12:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91460402E6; Wed, 29 Nov 2023 23:12:21 +0100 (CET) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id EAD6D402E1 for ; Wed, 29 Nov 2023 23:12:19 +0100 (CET) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6cbd24d9557so272268b3a.1 for ; Wed, 29 Nov 2023 14:12:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1701295939; x=1701900739; 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=8D0KDyAisJ1CV3cMcYc4FwM8xYAoziPis8WdpykkLHY=; b=kf+k81hp4dTn+ouUpQaD4zDS2McCyViglgaoV2lGv9fwBGN2cIswBUDA458u/+FWxb XyttaQQtGVzQjXtPSdviT/fugDHXI+DM3Ntz+mryzkIl8tLp75pAgmc9ZyH5ig6Bwuec pOO+Hl02MK8X2pQll23FRhdn1NxA5ZjDLJTQBBOK6W4z+eqlemtJVYPAYgSeOnSymUfJ Of/55T9zrICKR6tSxN51c6HqIFjcZGiVvZ77JcD4TkDFyT1Zw/B+BjnBV8wYafn+TNaI e6uUs9EHaz+vt546NoA4u7Kr6zRSRsMgmyTH4WBr7N9z9g5a1QnWsQMrQPRhdk+KQuui UczQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701295939; x=1701900739; 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=8D0KDyAisJ1CV3cMcYc4FwM8xYAoziPis8WdpykkLHY=; b=O06tsdVJpfrAXP5GIEx8Vhd512c2QOvTEwApr3n3FMJdQMPV8PI00C3Z2q5893nqE0 iXlGBzsL5lQOEqxvbU3+i+xRBHsBlUO339ybEphgkn2hMpsKjZYKq5VJvib96rjCWbr4 Itkhn1YJF12h7rQIDu8OH3VxQdRCRVvHBCT505Q/jRl+HVrADCEUNIa3tipuyzNQcqJr vJNqXewwZCznC3H+rMA+97PKY9ZMmoBdec6HclqftsK69PfklrQb75HaEvVcuqcGNUwo iSN1TpMWVj7OGqqaR66Cu3iTOba2l7vifJ/oBWRhT6r+OUbRIru7Hbr2H5wvkSzMj7/A qg4g== X-Gm-Message-State: AOJu0Yy/Kcclc3dJaH07FAit0prHdA9wdvLlCQ3emsLDbwgSAuVcApT2 XN750ZNN1WhRkxC0nFO2WnRy+A== X-Google-Smtp-Source: AGHT+IEXJux8ULeMLz3KFuJkKnaE+19TRqqIQa45nvVXNDdZH4LaXq8S4vCa0spQ8s0TnaR53sAXRg== X-Received: by 2002:a05:6a20:841e:b0:18b:4f8b:5a05 with SMTP id c30-20020a056a20841e00b0018b4f8b5a05mr28587244pzd.30.1701295938911; Wed, 29 Nov 2023 14:12:18 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id k26-20020a63ff1a000000b005b8f3293bf2sm11953708pgi.88.2023.11.29.14.12.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 14:12:18 -0800 (PST) Date: Wed, 29 Nov 2023 14:12:16 -0800 From: Stephen Hemminger To: Euan Bourke Cc: dev@dpdk.org, Thomas Monjalon , Bruce Richardson Subject: Re: [PATCH 24.03 v2 1/5] arg_parser: new library for command line parsing Message-ID: <20231129141216.4a20ae0a@hermes.local> In-Reply-To: <20231128140745.595481-2-euan.bourke@intel.com> References: <20231122164550.3873633-1-euan.bourke@intel.com> <20231128140745.595481-1-euan.bourke@intel.com> <20231128140745.595481-2-euan.bourke@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Tue, 28 Nov 2023 14:07:41 +0000 Euan Bourke wrote: > +struct core_bits { > + uint8_t bits[(UINT16_MAX + 1)/CHAR_BIT]; > + uint16_t max_bit_set; > + uint16_t min_bit_set; > + uint32_t total_bits_set; > +}; Looks like a good candidate for flex array