From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 00/11] add rte_kvargs library: a key/value args parser Date: Tue, 4 Feb 2014 15:53:08 +0100 Message-ID: <201402041553.08872.thomas.monjalon@6wind.com> References: <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 Cc: dev-VfR2kkLFssw@public.gmane.org To: Olivier Matz Return-path: In-Reply-To: <1390925204-10800-1-git-send-email-olivier.matz-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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