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

2018-01-31 Thread Yang, Zhiyong
; Ferruh ; olivier.m...@6wind.com; De Lara Guarch, > Pablo > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH] lpm: fix allocation of an existing object > > Fix rte_lpm_create_*() functions to return NULL and set rte_errno to EEXIST > when lpm object name already ex

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
; Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH] lpm: fix allocation of an existing object > > 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 documentati

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

2018-01-30 Thread Pavan Nikhilesh
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 --- This was