From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 21A301B780 for ; Wed, 31 Jan 2018 14:30:44 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jan 2018 05:30:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,440,1511856000"; d="scan'208";a="170585217" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.237.220.145]) ([10.237.220.145]) by orsmga004.jf.intel.com with ESMTP; 31 Jan 2018 05:30:43 -0800 To: dev@dpdk.org References: <20180130185154.20095-1-pbhagavatula@caviumnetworks.com> From: "Burakov, Anatoly" Message-ID: <880ffdc1-352a-67c7-06e8-8eb0200d941b@intel.com> Date: Wed, 31 Jan 2018 13:30:42 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180130185154.20095-1-pbhagavatula@caviumnetworks.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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 13:30:45 -0000 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 -- Thanks, Anatoly