From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?TMOhc3psw7MgTW9sbsOhcg==?= Subject: Re: bug in LPM handling (16.04+) Date: Wed, 29 Mar 2017 14:38:13 +0200 Message-ID: <20170329123813.GP2871@elxafv3bk32> References: <20170329122534.GO2871@elxafv3bk32> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Return-path: Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) by dpdk.org (Postfix) with ESMTP id 86482D326 for ; Wed, 29 Mar 2017 14:38:23 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20170329122534.GO2871@elxafv3bk32> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" --- rte_lpm.c~3 2017-03-29 12:19:06.146933973 +0200 +++ rte_lpm.c 2017-03-29 12:19:06.000000000 +0200 @@ -1034,7 +1034,7 @@ */ struct rte_lpm_tbl_entry new_tbl24_entry = { - .group_idx = (uint8_t)tbl8_group_index, + .group_idx = tbl8_group_index, .valid = VALID, .valid_group = 1, .depth = 0, @@ -1080,7 +1080,7 @@ */ struct rte_lpm_tbl_entry new_tbl24_entry = { - .group_idx = (uint8_t)tbl8_group_index, + .group_idx = tbl8_group_index, .valid = VALID, .valid_group = 1, .depth = 0,