From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=Zs77ypmfE6PkP4VI+lusgMSSkjVeFPyARdXSsaj7dpc=; b=ibnUldk0IHKP0wgL8Ym3NKl/xXT/Q2TkA4d490BDlW3Qfw37nUblLpdv6NP2KV5sMh ri0sBxBgRC+LjfMnTktJ1RiYswqr2m79wjdcg+KogvZ2lYDoLXQ6ylOOOYxYOH85C3Vo 2UaKffM3AhzsxUefTs3+Xm6zA/43xp3RacM94VaS+X5oKZevuzsP4RHChBDPM3cjmeEC raa4kdo8xdI4UJ8BZUoevicpCg8Gi4ti1+CWTqMZJkvaRsJBcNytFlkEUkPeM8f/aRnh 7azC5pExLrLlEaZSPSIqVlyGuwcj2NSLsMEZCvefOWlKVPEyZgoriT+S2gZE57bjwztY U/RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=Zs77ypmfE6PkP4VI+lusgMSSkjVeFPyARdXSsaj7dpc=; b=hpE0uri7sfmauLqkHhM2ZEylE624hB07bfxmMMHawjx3MgyHtkU/TuN/wFSj4c6u1N z/QlS8AEHeWf39TH0CPtGnMNBLn7Jzbbvza4lMkSvX+pFskMZ3OYk06FhpRLBOfAal0x 5vwflCTxqVNPMg2VdGzh3A5AuZg5in8RplwhpUPW7KzMmX4z8KvcwxXx6K7bxFY+Wkg5 61XCh3PBNNHhkeX/O49k+mMLXx6acG0NV0uJGl31Tqt3ysW3KkAjdA0+ce3dUTDapDTB C3djbRzXaP9pT6HGIzUI3dAtJqQJfxLG23T14/EbjnMzhJK+60mpBRQRacrf8ikB/tcy kvMw== X-Gm-Message-State: ALyK8tLXBd1UYTT7oJgC59lSVaym+bOMmDTtdqYERtg0tbYbEzu+JgushjJcOe3FZbEiNfP4 X-Received: by 10.28.98.137 with SMTP id w131mr9795210wmb.65.1466001026722; Wed, 15 Jun 2016 07:30:26 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id x128sm9963114wmf.6.2016.06.15.07.30.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Jun 2016 07:30:25 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org, hengx.ding@intel.com, qian.q.xu@intel.com, konstantin.ananyev@intel.com Date: Wed, 15 Jun 2016 16:30:24 +0200 Message-ID: <1552546.eUD0UMXYVF@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1465810983-11324-1-git-send-email-olivier.matz@6wind.com> References: <575E72D4.7010104@6wind.com> <1465810983-11324-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] examples: fix duplicated lpm6 name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2016 14:30:28 -0000 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