From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0067.outbound.protection.outlook.com [157.56.111.67]) by dpdk.org (Postfix) with ESMTP id EEDFC2BA1 for ; Fri, 4 Mar 2016 16:04:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-caviumnetworks-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1L5hVC7HPh61GmVZY3LuVn5wY9lQjkhZXOnbEJW0jlE=; b=l21KdHG6GJ4WPHLuAb4enxiG5KtF+zuv5uY/nP7TW2oXSwY7SgLll4zA9TG9gGTRNQd75bvcWL+wwfbzNuxWozhFeTAZb5nQDOITvouJWwdNz/pfesO14ueBd1ZIbKf8aiVxhcu5Pva7zScmnYkhn2o6GfMSHnxpZBQ7zYcwLZg= Authentication-Results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (122.171.188.134) by CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) with Microsoft SMTP Server (TLS) id 15.1.415.20; Fri, 4 Mar 2016 15:03:58 +0000 Date: Fri, 4 Mar 2016 20:33:38 +0530 From: Jerin Jacob To: Thomas Monjalon Message-ID: <20160304150337.GA2125@localhost.localdomain> References: <1448375156-26654-1-git-send-email-bruce.richardson@intel.com> <1448375156-26654-2-git-send-email-bruce.richardson@intel.com> <7382756.lYQvSGsykG@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <7382756.lYQvSGsykG@xps13> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [122.171.188.134] X-ClientProxiedBy: MAXPR01CA0024.INDPRD01.PROD.OUTLOOK.COM (25.164.147.31) To CY1PR0701MB1726.namprd07.prod.outlook.com (25.163.21.140) X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 2:AkswPpG3cYHuOAovm4YKTgKAF7ehqj0LOnzBN12HKjrSLtheKlhJlxK0GymFJPGmDNndqVab/Udbs5g1WKgBzVNT2PMso/+bfjoVP54lIWfR06WoeAb4da7ZXsIs3Q3ce6nP4QJY9WIBNyb/CG+Ryg==; 3:sK+hSBIlD5Tu1WQkdEp1rFvcydaWSIMxwMhwWUZjkfPg50kTxBmdGG+20sgWsDmNzE8nOfEsAkjq7gEzwyFc45paQ5nrBYO1iWWfJmoDDmBrwoDdpC0+zhWNCKVasxsO; 25:wZT2LgEdIA7iLgKU+l6YoWJTE81Z7tQyzBF7/ZIo+/r9p2uZPamosyoUcmj4MmBWjruFwRxdUR3hqTQf8/pyxeBD6q4/bn9cFawCB3EHuF3kuJ2Jn3L/+w4hHKkgSv0FKmM1uwmxZHIYn+oV6NfsQHFN9NX+LKb6bBNbPFyzdkfipxPJaeUGarBbuMVlyaaISXZjSY/10dIwmhgWipjQMN/Hwwo6dykoEfNoUeotUesezLv7RTmllfkPSgqv0sk5OHfPwLhUyWp4yrlMjhogC6xocLPR/GJehxNoVU9G8Q67tbJU+EATLSxek+f7Inv2Cz1vhtsdDhLK+EhQvhymIg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0701MB1726; X-MS-Office365-Filtering-Correlation-Id: c22d5263-7642-40b1-4110-08d3443e37ea X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 20:G3782+34hMhJTzC4l+/IyUKpc3HYx/35EqvtLll7eKXBguiWvU6JGFK0vFR6HaAHn4VD1r8wJ2OvbzNIP2dg6tE/1JtYyaCjZJGd1wibVvuwKNxMwvTdTKpq1YjDraC1NmgxkeagEjfwsuymK1spnFJO4rAkEhVEi3+/7TWGWP0L1WpR6eYmg4aXm8XLEeGLLqUiN1bMnmeIGBiqtBVYrY1mUil6HDoKiZbuN41Sdo5FY2AKeJtTDcAaVzBl0loZCscfJ5+pQ4AOaeoCN89X2LCB8TbtM7vaqSsepot/sJ85zvBIdy8YJeeRdiR+OxkAiu9TbEe+S4OkqNQTgtUS3dzhiE9fUExFchWcZ/1dhbXQEdrHwPk4voHlNQbS/uNPPIE1NxD95s0/ipYWIaFJjiP3/Ew5Cr/cewrz+Gj1Kh5ripu9YlM4tpy/B6UXPZl8wv92BWRPww1K/rHPB/vw7ZhJrjKRdp9RRj7OSvFpoJCAEe0M/bsg5dyexzEPO5nZOWrnOTOpzY2ucebHfbt7sa5ctzmuAe0mUI8DrYzWXgyXJzDe62/uBzXwq1TMgfGC+qgGeWw1jcemhz56P0XeHxYiQfDOgYob3Y2hjTlstiE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:CY1PR0701MB1726; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1726; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 4:McT95s1QuVOQ0G2vWr8ht/r7Zff5nPIA+euHi8Oplx8CP035VV3v7/GqZmWoTybkFbJ5V8XKxf8ir/ozt3anPSqLYZFzv0rtAFRnAQQjfIG77Yl1Nwodj40QPJq0Y9MFDAEE3hz7rBiab8TpYAQXa7pwYFSv8nDhDibCjK40SuwMOXzBW1J55KGugsRTmj0quYQ5NTxI35b9PiQaw0Sefl+KfaGCbnuHWsb+SCw48A6JDD2FHF9tglZZxc0YdAhP868S4bnqCewchu5z/mLh6N3fwqMCjuluL7NePlEech/X1NkaJezdMlFi/6A4WsHQR/cZXYmfc1PvDH/YQsEGxcSvYchdcEXcx0dooJoyiMpOSq2H1kptlCjp0bdMxZgs X-Forefront-PRVS: 0871917CDA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(377424004)(24454002)(4001150100001)(19580395003)(4001350100001)(50466002)(2950100001)(19580405001)(1096002)(1076002)(86362001)(5008740100001)(189998001)(33656002)(54356999)(76176999)(77096005)(81166005)(87976001)(50986999)(4326007)(47776003)(66066001)(23726003)(122386002)(46406003)(110136002)(2906002)(3846002)(61506002)(6116002)(83506001)(586003)(40100003)(97756001)(92566002)(42186005); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1726; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1726; 23:SJ68Fw5giPfiHDcZQW2SEVxKaFvoeC+zi7hk2e+?= =?us-ascii?Q?9j/tgZt14cpUqc+oe9vTfEBBveru11HL+PB8U5RZTU35SK6xPYU4/6T9JLyZ?= =?us-ascii?Q?8kOwWDvDjjePm0vLz+gjDEBjl7MSR8r6b17YY9J7xhYb66XenzJF9IZJhH2V?= =?us-ascii?Q?uTAl44mkUbbfWHx8WAzubg1wzNCrCks9Ybs07Lps9zXt6rZvpQM333WoaKD3?= =?us-ascii?Q?0GK015ianckrgWsId8s+8aPXM5xmSrAkueH3KT5gR6IHMWQS/slh+r7WLhb7?= =?us-ascii?Q?2JV3V7ETMKXGhHsVBJtdfj4Kg7hvC+sVQc1GFjJzBJRZ30JAIaJGFMQ6HcWv?= =?us-ascii?Q?fT0FlNu/LOlIjgs5Rbc3PECz/eSKPvyr8idOeeKKEZ4Wn3hohB26SWV+bNBE?= =?us-ascii?Q?qzHGfd67ocgqSLAqCSddzjwz4XoBldBFNquAiQdvldk5//8FaYnRc/VSqh39?= =?us-ascii?Q?abNk30HQ7y9JukipLTWH4bTRMiPBBxkjluIzDNUz6TiaURCRlCNWPsy9qqIA?= =?us-ascii?Q?8z03CeFuk3VIitqojZELhQonh7+gfID3fMp822ya3jvzjLnyLLcYIJjVOSTR?= =?us-ascii?Q?JdwqTSAOk1I+m4H8ohkYP5XcKMu9h7lauLqXO2SAmbVEDPUzbZ+wzRuUhk/2?= =?us-ascii?Q?atzNYVe+d2hg7/mCazKpAhWstQbJVFLdV/eEC5iLfg9Nbm/V7n/qzp8C8+iG?= =?us-ascii?Q?RisRwenTdAHn1Oz7lrtRtM7tTVItkeYqVO7xVKsXDt3kd7LELBS7gomdI81/?= =?us-ascii?Q?UC5PsaFj0chkOeKmt+UtgkJFw+LylEH5qxUOK4Nd0P8Uh1QA+5Q9xEpBa5bl?= =?us-ascii?Q?YGAvMhdg5DCFqeHOzgxdzQSGWN3jIbNoZOEHcTA3/R3/yVqzgrq64TlLQgDX?= =?us-ascii?Q?mZLN74wvjwhBkiSo0ZuHwMyKwrEK4VUsDF1NNpQwWGAlIcGeQ4Q4x6V6ONhw?= =?us-ascii?Q?78iG+KYZUMYDTdXDnU8b/wSqYIPCFwOoSGhKZYGkGmtkuRZXFch0n/ONm+MR?= =?us-ascii?Q?O1onTveTxIZ4Jue9MmMVLvFTb4BFNCeMIJUONBACVT+UxHUxiKnTf4JydHhV?= =?us-ascii?Q?G+o9gu3Q=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 5:b0xTPCGDljsfGxEcPjH5Cmp1fCreMa0p3w74Wd4Etx9NZhAZECv01Hvhe+Cu0RuujojDFwBnAqP9kQpdZ1KVhL63WY8Md7fMjilp6joxB492kp1r3BpElEJm/fjL2m9AwBNHGbb/8Ak4CoOnIN7kSA==; 24:GtEHxEvc706NOd44oexzHTZCuEITb8beOX/xRdiKFuck23h0Tdh6hMNSr1p2ewAuk/uttDwGMnCQ6799MYzkAU/V/qN+ZInAP8gKUPeQBRk= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Mar 2016 15:03:58.9723 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1726 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] lpm: merge tbl24 and tbl8 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: Fri, 04 Mar 2016 15:04:02 -0000 On Fri, Mar 04, 2016 at 03:57:43PM +0100, Thomas Monjalon wrote: > 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. I wait for Michal to send the next version. I will the v5 rebased on Michal patch. Jerin > > Applied, thanks