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 8819C45556; Thu, 4 Jul 2024 17:13:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B98D410F1; Thu, 4 Jul 2024 17:13:13 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id D29344042F for ; Thu, 4 Jul 2024 17:13:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720105991; 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=O2ukuel7hoDv2f3UeEbFSn2/yvMHtegQ20Tc5Z4DPs0=; b=Poqw8O/7tY44EpOEEALx/STsCBSAnCXBA7FRevbZ4pDRnR2srTWOk6qUAP51qXTx44WcIb 2rAeuSma2+Begi7Z+HTIsOAg5YZ20sm28FJDaAwdKp1CMlm4zjCSXJ6R9PcZ14BRK8kHwo olZdzaCi2En0GoLfoKSlFsJjWKqTaAI= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-368-zUDsxq0nMYuvSMhbGCnMOA-1; Thu, 04 Jul 2024 11:13:10 -0400 X-MC-Unique: zUDsxq0nMYuvSMhbGCnMOA-1 Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-52ce7a15a62so807429e87.3 for ; Thu, 04 Jul 2024 08:13:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720105988; x=1720710788; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O2ukuel7hoDv2f3UeEbFSn2/yvMHtegQ20Tc5Z4DPs0=; b=O0QBhTZrheLtreZUy6drtqn0dVlMW1fu1jpx3SHQDMZ8zyB3aL8pG64H97eyDAT2De ld1mtvXyDuiolyy+UBHcYO9UaezvQDPR6bdEUJ8q4NxYLir2Q7X/DDRkAMr/k63O7pa4 TNQQTtxX64KBkj44BlwG9FWd97b2qJzzQGux9AXfeSZ1ys6HBsO4aufe6gRoO2mr5hsG rJcqdqNAvm+HJ+SpDFAr8Fekh5aqGBrILk/EOrxlKV3nWWA1Si3bSApUFWUipjxqczrD ocpWWcVcWynZq07eZpBJWazzmjosnzIz0C0tKU6M0CQEVFrWk6yOI02goMMlab7qdFeI hxHA== X-Forwarded-Encrypted: i=1; AJvYcCXptxv1gEy8jK8IT93ib60Tn5//FDVoUA7sAJJo0mwtD0wfs0PjFpIyh+VxjK18l6iGfO73Y2so8eMa5T8= X-Gm-Message-State: AOJu0Yzqk7L4DSUPjl2Mrk1oULcFjhoE7Z2FT9iI4vKqcyN1t9hGQgWs x4XUZP2SzihGq7a3YqJKqjt9B4MjQ32sfle4Z/v75Y2Zh5uP5UWIEN95KODBufUo4FtAO/ERjQ8 benjVTuUJiCjqQJt4cb8PzBcOA3j1fvGP6wTSUvMqkHzsc5ic34kaSpBfI503kkLOH25aw4qtUr ngQT+lpvmezUPFRh4= X-Received: by 2002:ac2:5a50:0:b0:52e:9481:eaa1 with SMTP id 2adb3069b0e04-52ea062a6b4mr1779949e87.23.1720105988502; Thu, 04 Jul 2024 08:13:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFnC/cDCVVlz7ofZtIep3YvvRn1M4px40kR3EhePToANAoQgmw7rgdthsP/a49tmJwEvHWJOTCvnxUwVGtQVG0= X-Received: by 2002:ac2:5a50:0:b0:52e:9481:eaa1 with SMTP id 2adb3069b0e04-52ea062a6b4mr1779932e87.23.1720105988085; Thu, 04 Jul 2024 08:13:08 -0700 (PDT) MIME-Version: 1.0 References: <20240220035840.32978-1-fengchengwen@huawei.com> In-Reply-To: <20240220035840.32978-1-fengchengwen@huawei.com> From: David Marchand Date: Thu, 4 Jul 2024 17:12:56 +0200 Message-ID: Subject: Re: [PATCH 0/4] cfgfile: enhance error detecting To: cristian.dumitrescu@intel.com Cc: thomas@monjalon.net, dev@dpdk.org, Chengwen Feng X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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 Tue, Feb 20, 2024 at 5:00=E2=80=AFAM Chengwen Feng wrote: > > When I was trying to debug a problem introduced by config.ini in > test-dma-perf, I found the cfgfile library should enhance error > detecting, so got this patchset. > > Chengwen Feng (4): > cfgfile: remove dead code > cfgfile: support verify name and value > cfgfile: verify add section and entry result > cfgfile: add unique name flag > > lib/cfgfile/rte_cfgfile.c | 70 +++++++++++++++++++++++++++++---------- > lib/cfgfile/rte_cfgfile.h | 7 ++++ > 2 files changed, 59 insertions(+), 18 deletions(-) Please review. --=20 David Marchand