From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples: fix duplicated lpm6 name Date: Wed, 15 Jun 2016 16:30:24 +0200 Message-ID: <1552546.eUD0UMXYVF@xps13> References: <575E72D4.7010104@6wind.com> <1465810983-11324-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, hengx.ding@intel.com, qian.q.xu@intel.com, konstantin.ananyev@intel.com To: Olivier Matz Return-path: Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by dpdk.org (Postfix) with ESMTP id 24AB4C6EE for ; Wed, 15 Jun 2016 16:30:27 +0200 (CEST) Received: by mail-lb0-f171.google.com with SMTP id o4so2394261lbp.2 for ; Wed, 15 Jun 2016 07:30:27 -0700 (PDT) In-Reply-To: <1465810983-11324-1-git-send-email-olivier.matz@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-06-13 11:43, Olivier Matz: > When starting the ip_fragmentation or ip_reassembly example > on several sockets, it fails. > > The name of the lpm6 table is the same on every socket, > resulting in a table creation failure (-EEXIST). The failure > appeared after: > commit f82f705b635d ("lpm: fix allocation of an existing object") > > Indeed, before this commit the returned value when the existing > table, which was probably a bug in that case: one table for 2 > sockets for lpm6, and one per socket for lpm. > > Fixes: 74de12b7b63a ("examples/ip_fragmentation: overhaul") > Fixes: b84fb4cb88ff ("examples/ip_reassembly: overhaul") > Reported-by: Ding Heng > Signed-off-by: Olivier Matz Applied, thanks