From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 2DB8B1025 for ; Tue, 4 Feb 2014 15:51:51 +0100 (CET) Received: by mail-wg0-f53.google.com with SMTP id y10so13192762wgg.32 for ; Tue, 04 Feb 2014 06:53:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=4tGZWVNpWdtGhYllSpsXOEmhOJk49ri1Dh5adeLyQ8Q=; b=KGixQBZEU/ovPPQRPrWixMsFsZN5F7JQCOwT9YDqTm6Bd3yZYVzLXwP6wLSRnbzIyR xR7svL5xh1LaHOoUTFA5P8FDQzaU3Gsu4j76UCtPkaMh3dGuI/aJbZwZoEksZTTZak0h iTtgP7I8AWvX8WVNNNIX9+YwArnv45byaAt4hpwByStF2/D/7R0wDuyowYy2WHrK5p7U VGHzrVPOOwHoUyECRw95r1tjEDf8ggT4PvGm1psV15X/YX0gQhHn9xgTl4N0+pu+t5PL xR+gnd/DoV9jSY1okXPduqT0+NxSkY7745Gd8rK2t99Z2c8Qde6xb2fHV/Gurz7QfF6j Bw7g== X-Gm-Message-State: ALoCoQmT9jGdzpO2jqh1+eg+++LAZvkCLJhxBH3lDDjWXiXW83Gxf9/nMUiWoIiOluTeWv7wluXI X-Received: by 10.180.93.133 with SMTP id cu5mr12978868wib.32.1391525591599; Tue, 04 Feb 2014 06:53:11 -0800 (PST) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id r1sm36482019wia.5.2014.02.04.06.53.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Feb 2014 06:53:10 -0800 (PST) From: Thomas Monjalon Organization: 6WIND To: Olivier Matz Date: Tue, 4 Feb 2014 15:53:08 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <1390925204-10800-1-git-send-email-olivier.matz@6wind.com> In-Reply-To: <1390925204-10800-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201402041553.08872.thomas.monjalon@6wind.com> Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 00/11] add rte_kvargs library: a key/value args parser X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 14:51:51 -0000 28/01/2014 17:06, Olivier Matz: > The topic of this patchset is to add a new rte_kvargs library that > can be used as a helper to parse key/value arguments. The code will > be based on rte_eth_pcap_arg_parser and reworked with documentation > and tests. It also fix some minor issues of the original code. > > These commits will allow another library (like pmd_ring) to parse > arguments in an easier way without duplicating the code. > > Olivier Matz (11): > kvargs: add a new library to parse key/value arguments > kvargs: use the new library in pmd_pcap > kvargs: remove driver name in arguments > kvargs: remove useless size field > kvargs: rework API to fix memory leak > kvargs: simpler parsing and allow duplicated keys > kvargs: be strict when matching a key > kvargs: add const attribute in handler parameters > kvargs: add the key in handler pameters > kvargs: make the NULL key to match all entries > kvargs: add test case in app/test All is applied. Thanks for this cleanup effort. -- Thomas