From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 802908E9F for ; Tue, 24 Nov 2015 15:26:07 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP; 24 Nov 2015 06:26:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,338,1444719600"; d="scan'208";a="1572023" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga004.fm.intel.com with ESMTP; 24 Nov 2015 06:26:06 -0800 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id tAOEQ5qO017392; Tue, 24 Nov 2015 14:26:05 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id tAOEQ4ar026696; Tue, 24 Nov 2015 14:26:04 GMT Received: (from bricha3@localhost) by sivswdev01.ir.intel.com with id tAOEQ4NE026692; Tue, 24 Nov 2015 14:26:04 GMT From: Bruce Richardson To: dev@dpdk.org Date: Tue, 24 Nov 2015 14:25:55 +0000 Message-Id: <1448375156-26654-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] Rel 2.3: lpm cleanup, merge data structures 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: Tue, 24 Nov 2015 14:26:08 -0000 Following on from the discussion in Release 2.2 about changes needed to LPM, this is a small cleanup patch for 2.3 to get things started. This clean-up is inspired by a similar change made by Vladimir in his patchset proposal for 2.2 for LPM, and I would hope it would make further changes that little bit easier as we have one fewer structures to worry about. Bruce Richardson (1): lpm: merge tbl24 and tbl8 structures lib/librte_lpm/rte_lpm.c | 77 ++++++++++++++++++++++++------------------------ lib/librte_lpm/rte_lpm.h | 47 ++++++++++++++--------------- 2 files changed, 60 insertions(+), 64 deletions(-) -- 2.5.0