From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 88414A04DD; Wed, 21 Oct 2020 05:02:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D6C1AC78; Wed, 21 Oct 2020 05:02:34 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 4BDACAC77 for ; Wed, 21 Oct 2020 05:02:32 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7B72B1FB; Tue, 20 Oct 2020 20:02:30 -0700 (PDT) Received: from net-arm-kp920-01.shanghai.arm.com (net-arm-kp920-01.shanghai.arm.com [10.169.210.104]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C18353F719; Tue, 20 Oct 2020 20:02:28 -0700 (PDT) From: Ruifeng Wang To: Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, nd@arm.com, Ruifeng Wang Date: Wed, 21 Oct 2020 11:02:09 +0800 Message-Id: <20201021030211.36381-1-ruifeng.wang@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200907081518.46350-1-ruifeng.wang@arm.com> References: <20200907081518.46350-1-ruifeng.wang@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 0/2] LPM changes 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The rte_lpm structure is exported because lookup API is inlined. But most of the structure can be hidden. Discussion at: http://patches.dpdk.org/patch/72403/ This patch set aimed to hide the rte_lpm structure as much as possible. A data free issue was identified and fixed. Ruifeng Wang (2): lpm: fix free of data structure lpm: hide internal data doc/guides/rel_notes/release_20_11.rst | 2 + lib/librte_lpm/rte_lpm.c | 154 +++++++++++++++---------- lib/librte_lpm/rte_lpm.h | 7 -- 3 files changed, 94 insertions(+), 69 deletions(-) -- 2.20.1