From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 644641B5E9 for ; Sat, 24 Nov 2018 18:12:56 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CF4732E6F3; Sat, 24 Nov 2018 12:12:55 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 24 Nov 2018 12:12:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=nkVybOirpSRGQlTLBJGyD8EZ6QvEDpdhZn/+OfkYB5U=; b=IQQuZtOX4yVU zCnXC0PDkWhwCBh9uHOOSjh2Jp4SxDJg9jYpjaSykzOCEa+U8RCLD6++/9OCAaHR XQ1Wk8zg/ciVdAlDXTc5KLROuADWPr9XnDUKeGRkuFWpM78+exiaizUc1M+s4Gzl ncj+IDGKOtgwIQ0Y78tmVVRmvyHfWN8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=nkVybOirpSRGQlTLBJGyD8EZ6QvEDpdhZn/+OfkYB 5U=; b=MULNKUuhNrY7hKQmAUojBC6eDDfckk3x/RQSusHeOa3JlYikpUYvAkW+p b6wa0nwevymbFXnR3n1tc+bL/CLAFaMfFnsfaKGnioGcjZrfG0ysT8jM6VBcNU55 /gdGP8DOiYm8KSnWsborSFxw9i+pzgC0aQovciv2WkRBTDehzZe2wV3Esrl7vTHL 69sVOunKgL19GZq5qV+8GgMIpYRgtP0W8vS7+FumvT+RmdzOMgGlyNmZ/9gcOLBa hBbo6j1/kOV8q+OemhqgU+QYBNAhdzZatRos6eAENz9nssW5WlC76JO9bV0B/Cx8 bSE3zjtjz6lncHTx7C9EVpEo86zfw== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 7B3DC102E8; Sat, 24 Nov 2018 12:12:54 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: Jerin Jacob , Ferruh Yigit , Olivier Matz Date: Sat, 24 Nov 2018 18:12:51 +0100 Message-ID: <7996667.p2u7l4RVcM@xps> In-Reply-To: <20181123163058.GA11828@jerin> References: <20181121154545.14261-1-thomas@monjalon.net> <20181123163058.GA11828@jerin> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] doc: announce kvargs API change X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2018 17:12:56 -0000 23/11/2018 17:31, Jerin Jacob: > From: Ferruh Yigit > > On 11/22/2018 1:22 PM, Olivier Matz wrote: > > > On Thu, Nov 22, 2018 at 11:32:23AM +0100, Thomas Monjalon wrote: > > >> After processing a kvlist in rte_kvargs_process(), > > >> it may be needed to loop again over kvlist in order to know > > >> whether the key is matched or not. > > >> In order to simplify implementation of kvargs checks, > > >> a new pointer parameter may be used to get the match count. > > >> > > >> The change of the function prototype would be as below: > > >> > > >> int > > >> rte_kvargs_process(const struct rte_kvargs *kvlist, > > >> const char *key_match, > > >> + int *match_count, > > >> arg_handler_t handler, > > >> void *opaque_arg) > > >> > > >> Signed-off-by: Thomas Monjalon > > > > > > Maybe "unsigned int" instead of "int". > > > > > > Apart from this, > > > Acked-by: Olivier Matz > > > > > > > Acked-by: Ferruh Yigit > > Acked-by: Jerin Jacob Applied