From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] lpm: merge tbl24 and tbl8 structures Date: Fri, 04 Mar 2016 15:57:43 +0100 Message-ID: <7382756.lYQvSGsykG@xps13> References: <1448375156-26654-1-git-send-email-bruce.richardson@intel.com> <1448375156-26654-2-git-send-email-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Bruce Richardson Return-path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 463902B9E for ; Fri, 4 Mar 2016 15:59:20 +0100 (CET) Received: by mail-wm0-f46.google.com with SMTP id p65so32538376wmp.0 for ; Fri, 04 Mar 2016 06:59:20 -0800 (PST) In-Reply-To: <1448375156-26654-2-git-send-email-bruce.richardson@intel.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" 2015-11-24 14:25, Bruce Richardson: > The tbl8 and tbl24 structures were essentially identical except for > slightly different names for one or two fields. Merge these two > structures into a single structure definition. > > Two fields have been renamed as part of this change: the > "ext_entry" field in the tbl24 has been renamed to "valid_group" to match > the tbl8 value to make the merge easier, and the "tbl8_gindex" field has > been renamed to "group_idx". The "valid_group" field now serves two > purposes: in a tbl8 it indicates if the group, i.e. the tbl8, is valid, > and in a tbl24, it indicates if the "group_idx" is valid, i.e. whether > the value is a next_hop or a tbl8 index. [The name "group_idx" was used > to make this latter link between the fields clearer] > > Suggested-by: Vladimir Medvedkin > Signed-off-by: Bruce Richardson This patch was forgotten. Michal, Jerin, maybe you'll have to rebase on top of it. Applied, thanks