Re: [dpdk-dev] [PATCH] lpm: fix allocation of an existing object

2018-01-31 Thread Yang, Zhiyong
Hi Pavan, Good catch! Thank you for fixing it. It's my negligence. Thanks Zhiyong > -Original Message- > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > Sent: Wednesday, January 31, 2018 2:52 AM > To: tho...@monjalon.net; Yang, Zhiyong ; Yigit, > Ferruh ; olivier.m..

Re: [dpdk-dev] [PATCH] lpm: fix allocation of an existing object

2018-01-31 Thread Thomas Monjalon
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. > > > > Fi

Re: [dpdk-dev] [PATCH] lpm: fix allocation of an existing object

2018-01-31 Thread 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")

Re: [dpdk-dev] [PATCH] lpm: fix allocation of an existing object

2018-01-30 Thread Phil Yang
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Pavan Nikhilesh > Sent: Wednesday, January 31, 2018 2:52 AM > To: tho...@monjalon.net; zhiyong.y...@intel.com; ferruh.yi...@intel.com; > olivier.m...@6wind.com; pablo.de.lara.gua...@intel.com > Cc: dev@dpdk.org; Pa