From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 3FF311B850 for ; Thu, 1 Feb 2018 00:37:13 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E43CC20D97; Wed, 31 Jan 2018 18:37:12 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 31 Jan 2018 18:37:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=xppsF+4P5AJrvfrd5rIBgTqdcn 6jmebEPzRB6H2YGtU=; b=QKhdbIO+95U5xxpBTJDUZeKd8dJVuqz7glDmQxPrqU z3Q2i7Yk/cUL6fn7HBsEqsytvHd+vrFpoeFgtKeTOtf3YO/o2yJaYYBIoahwj6eV BE3mov1HV7LbKCFepPMT6TM1yMC92ar8+wD2xuh0ENwK5n+oYVzxzeG5KW+CN/LV k= 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=xppsF+ 4P5AJrvfrd5rIBgTqdcn6jmebEPzRB6H2YGtU=; b=gd0oWKIil0fe/TPIg4QqkG ERxn6vknZqW4ekxD1B+vAyok1VkFiRjLzfwe/bcpxlhnyQLDIQkcv2YilWdRkGWm Q1aXaJRLbsyh3EyWVXSuRiSBy+pzXhqMLHD9MnkcUejQNpjed51jiQAL0ePwqiby mvMiW+3q32foqaAyJgLwEBRHzFqGxcFdHoNn8OVDyUuDVhsZ7S0wvfXg7LQc0Y8S 4bDI5iKrnbyQBaYJqtLzvizYhAfs9PdBYZR59wxehAyZVeUrZbk76WSE4NPSFle/ f4qAfviTqJwjz4teE2HylvVdgdvVaIS042pudMidT26+DyoilkC6Kqh+nV6Iq6BA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9A562246A5; Wed, 31 Jan 2018 18:37:12 -0500 (EST) From: Thomas Monjalon To: Pavan Nikhilesh Cc: dev@dpdk.org, "Burakov, Anatoly" Date: Thu, 01 Feb 2018 00:36:26 +0100 Message-ID: <4284103.3jNts4Mpkd@xps> In-Reply-To: <880ffdc1-352a-67c7-06e8-8eb0200d941b@intel.com> References: <20180130185154.20095-1-pbhagavatula@caviumnetworks.com> <880ffdc1-352a-67c7-06e8-8eb0200d941b@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] lpm: fix allocation of an existing object 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: Wed, 31 Jan 2018 23:37:13 -0000 31/01/2018 14:30, Burakov, Anatoly: > On 30-Jan-18 6:51 PM, Pavan Nikhilesh wrote: > > Fix rte_lpm_create_*() functions to return NULL and set rte_errno to > > EEXIST when lpm object name already exists. > > This is the behavior described in the API documentation in the header > > file. > > > > Fixes: 134975073af3 ("lib: remove unnecessary pointer cast") > > > > Signed-off-by: Pavan Nikhilesh > > Reviewed-by: Anatoly Burakov Applied, thanks