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 5E05445584; Thu, 4 Jul 2024 23:41:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3E7AE42F7A; Thu, 4 Jul 2024 23:41:00 +0200 (CEST) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mails.dpdk.org (Postfix) with ESMTP id 4151642F79 for ; Thu, 4 Jul 2024 23:40:59 +0200 (CEST) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-754d2b05db5so615609a12.0 for ; Thu, 04 Jul 2024 14:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1720129258; x=1720734058; 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=VPfwHzynAMGenLfLzrSXasPPsKh24ChlDsa62VdE3xw=; b=nnpmDI5Vr9fgN/URlfSsLzJ3Mu5faY9VTq2Y45Lehf+5qTJW9zO24uwS7P6eIhX9Kf 9+PdTxAA2eOzyG08As2nuUCxgfNH8+qmzto3+1aOq7lKWXXSFBbPGtTwdHPnLlpzNFc+ IM+RfedYDJiDwY+zzWRTDj+kkAS+nAHapQ2DDozVUab+u+xwEqoQmhJXSAvwiDrx8aDG WQDGP4UGOAs8zNtkhsVlFtAAeaFO5H/K0Fe9NL3h4giyqD0PWLy9UJuLp6nUtoHfKr2h o9Cmpa3zMzJrJCJcGEQxEBEZc9XiHre1DQhgUlphQ1ZAlwKHVkDu2nXHSKxJsghjSd/F pHTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720129258; x=1720734058; 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=VPfwHzynAMGenLfLzrSXasPPsKh24ChlDsa62VdE3xw=; b=QBt8hMIz+dswdNYVm8Ajk+DxN++HgWTltb2ikGawO57XnRGSr0lWJ3AsoBzDUjD4XW cdGpVjgLV3aVncBqyWLx7s7qUwTFzYrnrCS/ryDFhJCxAA5SuV+bkKkojLKNaKRcc0Mj rZ7Md87dL/89oGO0iwooXm5WZTIhVRDlg1Dec58ICd5GN+XBJGkAx/HgYDfKA3WyBrDW uBlAVjo7dGHw9gqCZOjakPoI4rtvWj1e9anBFHdoT/EBSuopenXLmrtTJ4erg7yCXXDP rWJxheM9A3kiSAnBWChEk5qx+NoKhvuPoHiSWjAkZCmLxFd+mydbm2TZQdr6mwoDJYb7 nawg== X-Forwarded-Encrypted: i=1; AJvYcCVWC3hq9x52yZy2ypMXkH4NJ6RRXUWBv6zUM0N/zCAhFuZn37UCWutTIg040uK5wU45B+sMyFQTI5PBex0= X-Gm-Message-State: AOJu0YwVsP7IOVee5YRHOmi8poxlvOCNkrCGZU8nSG0XXld2rFpE457h 8smQwf4Jz/Z9QdOO3dd1sRqqBWGkcil/Qzoz1EWpzPIh4TQVFoeA0rVdE4IhAm8= X-Google-Smtp-Source: AGHT+IGKmuyEqysZRRRfJUlNAQt/FpIEaCigwB2+/141R3zd8Mchz6YhzZruUcYsA6O8Wc6lzXeehA== X-Received: by 2002:a05:6a21:186:b0:1be:b317:17ec with SMTP id adf61e73a8af0-1c0cc7547c4mr3139327637.35.1720129257841; Thu, 04 Jul 2024 14:40:57 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fac1539160sm127273435ad.180.2024.07.04.14.40.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 14:40:57 -0700 (PDT) Date: Thu, 4 Jul 2024 14:40:55 -0700 From: Stephen Hemminger To: Chengwen Feng Cc: , , Subject: Re: [PATCH 0/4] cfgfile: enhance error detecting Message-ID: <20240704144055.524c65e0@hermes.local> In-Reply-To: <20240220035840.32978-1-fengchengwen@huawei.com> References: <20240220035840.32978-1-fengchengwen@huawei.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, 20 Feb 2024 03:58:36 +0000 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(-) > The existing cfgfile in DPDK is quite limited, and there are better libraries available; not sure why a reinvention was necessary.